kdb
[Top] [All Lists]

Re: About the KDB command line

To: "Zhang, Sonic" <sonic.zhang@xxxxxxxxx>
Subject: Re: About the KDB command line
From: Keith Owens <kaos@xxxxxxx>
Date: Thu, 05 Dec 2002 14:31:19 +1100
Cc: "KDB (E-mail)" <kdb@xxxxxxxxxxx>
In-reply-to: Your message of "Thu, 05 Dec 2002 10:25:14 +0800." <957BD1C2BF3CD411B6C500A0C944CA26027B4D88@xxxxxxxxxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
On Thu, 5 Dec 2002 10:25:14 +0800 , 
"Zhang, Sonic" <sonic.zhang@xxxxxxxxx> 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.


<Prev in Thread] Current Thread [Next in Thread>