On Thu, 5 Dec 2002 10:25:14 +0800 , 
"Zhang, Sonic" <[EMAIL PROTECTED]> wrote:
>       What do you mean "<esc>[A for up arrow"?
>       Isn't the "up arrow" represented by character '^P' in the ASCII
>table?
>       Does the serial console transfer the "up arrow" in a different
>character?

People who use serial consoles expect to press the up-arrow key on the
second machine and have it work the same way as up-arrow on a PC
keyboard.  The PC keyboard uses scancodes which your patch covered.
Pressing up arrow on a second machine over a serial line sends whatever
character sequence the remote emulator assigns to up arrow, the most
common (VT100) uses <esc>[A.


Reply via email to