[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] weird characters in domain1

On Mon, 13 Sep 2004, Xin Zhao wrote:

> When I used vi in domain 1 (running vmlinuz-, I ran into a
> weird problem: every time I move cursor up and down, I will see my
> original characters are replaced with some strange characters "[?0c [?8c".

interesting. Function keys send sequences of characters. There's an old 
question: how do I tell if you typed the individual characters for the 
key, or you hit the key? 

curses has a test for distinguishing a function key (e.g. up 
arrow) from the characters typed individually, which boils down to 'what's 
the inter-character delay'. If the delay is small, then it's the function 
key, else it's the human typing. 

Wonder if that test is failing somehow ...


This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.