delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/07/28/13:43:20

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Sat, 28 Jul 2001 13:43:28 -0400
MIME-Version: 1.0
Subject: extended key translation table doc
Message-ID: <3B62C180.11330.5D467D@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

Hello,
I've documented the strings returned based on the extended key. Does the markup look right?

@subheading Return Value

A string based on the extended key's scan code @var{xkey_code}:

@multitable {@key{Page Down}} {@key{ESC}[24~} {with Shift} {with Ctrl} {@key{ESC}[80~}
@item Key @tab Normal @tab with Shift  @tab with Ctrl   @tab with Alt

@item @key{Up Arrow}
@tab @key{ESC}[A   @tab @tab @key{ESC}[37~ @tab @key{ESC}[59~

@item @key{Down Arrow}
@tab @key{ESC}[B   @tab @tab @key{ESC}[38~ @tab @key{ESC}[60~

[Snipped for your sanity.]

@item @key{F11}
@tab @key{ESC}[23~ @tab @key{ESC}[35~ @tab @key{ESC}[57~ @tab @key{ESC}[79~

@item @key{F12}
@tab @key{ESC}[24~ @tab @key{ESC}[36~ @tab @key{ESC}[58~ @tab @key{ESC}[80~

@end multitable

@multitable {@key{Alt}-A} {@key{ESC}[83~} {@key{Alt}-Z} {@key{ESC}[113~}
@item Alt Key @tab  @tab Alt Key @tab
@item @kbd{@key{Alt}-A} @tab @key{ESC}[81~
 @tab @kbd{@key{Alt}-N} @tab @key{ESC}[94~
@item @kbd{@key{Alt}-B} @tab @key{ESC}[82~
 @tab @kbd{@key{Alt}-O} @tab @key{ESC}[95~
[Snipped again for sanity]

@item @kbd{@key{Alt}-L} @tab @key{ESC}[92~
 @tab @kbd{@key{Alt}-Y} @tab @key{ESC}[105~
@item @kbd{@key{Alt}-M} @tab @key{ESC}[93~
 @tab @kbd{@key{Alt}-Z} @tab @key{ESC}[106~
@end multitable

@code{NULL} is returned if @var{xkey_code} has no translation.

@subheading Portability

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019