Subject: Re: Extended Keyboard
To: SUNAGAWA Keiki <Keiki_Sunagawa@yokogawa.co.jp>
From: Kevin Havener <havenerk@Walden.MO.NET>
List: port-mac68k
Date: 01/20/1998 17:05:00
I think you're right about the ^ character, but it came when I pressed
the ctrl-v, so i didn't know it was part of the code generated by the
arrow keys themselves. Can't really verify what I'm saying..I'm at work
now, but that's what I remember.
Kevin
On Tue, 20 Jan 1998, SUNAGAWA Keiki wrote:
> 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!
>