Subject: Re: Extended Keyboard
To: None <port-mac68k@NetBSD.ORG>
From: SUNAGAWA Keiki <Keiki_Sunagawa@yokogawa.co.jp>
List: port-mac68k
Date: 01/20/1998 18:47:30
Kevin Havener <havenerk@Walden.MO.NET>  wrote:

Kevin> OK, finally got time to do this.

Kevin> 	[OA = up
Kevin> 	[OB = down
Kevin> 	[OC = right
Kevin> 	[OD = left

I think you got `^[OA' (see `^') or so, did you?  It means
that if you press up arrow key, it generates a character
sequence of `^[-O-A' (ESC-O-A).

>> In my case, I typed left arrow key and got `^[OD'.  My
>> termcap file contains `kl' entry and is `kl=\EOD'.  They
>> should be consistent with each other.
 
Kevin> Seems that our arrow keys generate the same code.
Kevin> But you're over my head with the termcap explanation :-).

ok, but it's not so difficalt.  In termcap, `\E' means `^['
(ESC) character.

--
SUNAGAWA Keiki <Keiki_Sunagawa@yokogawa.co.jp>
Happy Hacking!