Re: 9100 Keyboard codes

From: John Robertson <jrr_at_flippers.com>
Date: Sun Sep 29 2002 - 20:03:36 EDT

<x-flowed>
How did you get this information Kev?

I was digging through my 9100 files and found I had copies some pages
titled Figure 6-3: Keyboard Escape Sequences (Page 6-7). There the special
keys (arrows, Fx, Help, etc are all Escape Sequence keys. For example Up
Arrow is "ESC [ A" and F1 is "ESC [ 1 0 ~"

Soooo, that's why I'm wondering which is correct.

If you start up the 9100 with the utility disc you can then go to the
subtest of the Programmers Keyboard and see if what is sent is what the
9100 expects. I'll try your codes tonight, I've had no success with the ESC
sequences so far.

John :-#)#

At 09:32 AM 17/09/2002 -0400, Kev wrote:

>FYI
>
>I assume that this value is the raw code sent from the keyboard (although it
>is possible that it is converted on its way to the display). Besides sending
>different codes than the 1020 keyboard, it also only sends the code when the
>key is pressed. On the 1020 keyboard, it would send a code when it was
>pressed, and another when it was released.
>
>The list below contains all of the codes? Note that pressing
>the Ctrl and Shift keys at the same time produces the code in the "ctrl"
>column below. So, here are all of the codes (in hexadecimal):
>
>unshifted shifted ctrl
>a = 61 A = 41 a = 01
>b = 62 B = 42 b = 02
>c = 63 C = 43 c = 03
>d = 64 D = 44 d = 04
>e = 65 E = 45 e = 05
>f = 66 F = 46 f = 06
>g = 67 G = 47 g = 07
>h = 68 H = 48 h = 08
>i = 69 I = 49 i = 09
>j = 6A J = 4A j = 0A
>k = 6B K = 4B k = 0B
>l = 6C L = 4C l = 0C
>m = 6D M = 4D m = 0D
>n = 6E N = 4E n = 0E
>o = 6F O = 4F o = 0F
>p = 70 P = 50 p = 10
>q = 71 Q = 51 q = 11
>r = 72 R = 52 r = 12
>s = 73 S = 53 s = 13
>t = 74 T = 54 t = 14
>u = 75 U = 55 u = 15
>v = 76 V = 56 v = 16
>w = 77 W = 57 w = 17
>x = 78 X = 58 x = 18
>y = 79 Y = 59 y = 19
>z = 79 Z = 5A z = 1A
>1 = 31 ! = 21 1 = E1
>2 = 32 @ = 40 2 = 00
>3 = 33 # = 23 3 = E2
>4 = 34 $ = 24 4 = E3
>5 = 35 % = 25 5 = E4
>6 = 36 ^ = 5E 6 = 1E
>7 = 37 & = 26 7 = E5
>8 = 38 * = 2A 8 = E6
>9 = 39 ( = 28 9 = E7
>0 = 30 ) = 29 0 = E0
>- = 2D _ = 5F - = 1F
>= = 3D + = 2B = = E8
>` = 60 ~ = 7E ` = E9
>\ = 5C | = 7C \ = 1C
>[ = 5B { = 7B [ = 1B
>] = 5D } = 7D ] = 1D
>; = 3B : = 3A ; = ED
>' = 27 " = 22 ' = EE
>, = 2C < = 3C , = EA
>. = 2E > = 3E . = EB
>/ = 2F ? = 3F / = EC
>Space bar = 20 Space bar = 20 Space bar = 00
><X| = 7F <X| = 7F <X| = EF
>(Up Arrow) = A1 (Up Arrow) = D1 (Up Arrow) = D1
>(Left Arrow) = A4 (Left Arrow) = D4 (Left Arrow) = D4
>(Down Arrow) = A2 (Down Arrow) = D2 (Down Arrow) = D2
>(Right Arrow) = A3 (Right Arrow) = D3 (Right Arrow) = D3
>Field Select = F0 Field Select = F1 Field Select = F2
>F1 = 81 F1 = B1 F1 = B1
>F2 = 82 F2 = B2 F2 = B2
>F3 = 83 F3 = B3 F3 = B3
>Blank = 84 Blank = B4 Blank = B4
>F4 = 85 F4 = B5 F4 = B5
>F5 = 86 F5 = B6 F5 = B6
>F6 = 87 F6 = B7 F6 = B7
>F7 = 88 F7 = B8 F7 = B8
>Blank = 89 Blank = B9 Blank = B9
>F8 = 8A F8 = BA F8 = BA
>F9 = 8B F9 = BB F9 = BB
>F10 = 8C F10 = BC F10 = BC
>Edit = 8D Edit = BD Edit = BD
>Quit = 8F Quit = BF Quit = BF
>Msgs = 91 Msgs = C1 Msgs = C1
>Help = 92 Help = C2 Help = C2
>Info = 94 Info = C4 Info = C4
>Begin File = 95 Begin File = C5 Begin File = C5
>End File = 97 End File = C7 End File = C7
>Scroll Forward = 99 Scroll Forward = C9 Scroll Forward = C9
>Scroll Backward = 9B Scroll Backward = CB Scroll Backward = CB
>Begin Line = 9D Begin Line = CD Begin Line = CD
>End Line = 9F End Line = CF End Line = CF
>
>
>The following keys always return the same code (unshifted, shifted, and
>ctrl):
>
>Esc = 1B
>Tab = 09
>Ctrl = (none)
>Caps Lock = (none)
>Scroll Lock = 13 (on), 11 (off)
>Shift = (none)
>Back Space = 08
>Break = F3
>Return = OD

</x-flowed>
Received on Sun Sep 29 18:31:43 2002

This archive was generated by hypermail 2.1.8 : Tue Dec 02 2003 - 18:40:48 EST