KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
-------------------------------------------------------------------------------
keyboard
PURPOSE
Maps the 101-Key PS/2 keyboard.
DESCRIPTION
A keyboard mapping table is maintained for each virtual terminal. This table
relates a key indicated by its key position along with the shift, control, or
alternate keys to a character, mode processor function or string of characters.
Portions or all of this mapping table can be modified by data passed to the
hfbuf structure in the HFSKBD type ioctl system call. See "hft" for
information about this ioctl system call. See AIX PS/2 Keyboard Description
and Character Reference for details about other PS/2 keyboards.
Each key on the standard PS/2 keyboard has a numeric position code that is used
for this field. Figure 17 matches the key to its position code.
+-----------------------------------------------------------------------------+
| This figure cannot be displayed properly on the screen. |
| Please refer to the printed book. |
+-----------------------------------------------------------------------------+
Figure 17. Position Codes for Remapping a Keyboard
The following keys are not redefinable:
Key
Position Function States that cannot be remapped
30 Caps Lock key All states
44 Left Shift key All states
57 Right Shift key All states
58 Control key All states
60 Left Alternate key All states
62 Right Alternate key All states
64 Action key Shift, Control, Alternate, and Alternate
Graphics states
90 Num Lock key Base and Shift states
US 101-Key Keyboard Translate Table
The following table gives this information about the default mapping for the
U.S. 101-key keyboard:
Key Posn - Keyboard key position.
Processed November 7, 1990 KEYBOARD(4,F) 1
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Shift - The shift state of the position: Base, Shift, Ctrl, or Alt. (Note
that the Alt Gr shift state is always the same as the Alt state.)
Assignment - The character or control assigned to that key.
Keyboard Definition - Provides information as it would appear as part of a
keyboard definition structure. (See "Set Keyboard Map (HFSKBD)" for
details.) Within the table, interpret the fields as follows:
nnn - One-byte key position number being defined.
s - Shift state being defined:
b (base) - No Shift key is pressed.
s (shift) - Either left or right Shift key is pressed.
c (control) - Ctrl key is pressed.
a (alt) - Alt key is pressed.
t - Type of definition:
c - Regular character definition, followed by a 1-byte code page
identifier and a 1-byte code point specification. The code page
identifiers are:
< for Code Page P0
= for Code Page P1
> for Code Page P2
This identifier is followed by a 1-byte code point identifier, given
in the table as a decimal number.
f - Function specification, followed by a 2-byte function identifier,
which is specified in the table as a hexadecimal value.
s - String specification, followed by a 1-byte code page identifier, a
1-byte string length and the 1-byte code point identifiers within the
specified code page. No string specifications are included in the
default keyboard layouts.
d - Nonspacing or dead character definition, followed by a 1-byte code
page identifier and a 1-byte code point specification. The code page
identifiers are as described for character definition. This is
followed by a 1-byte code point identifier, given in the table as a
decimal number. There are no dead keys defined for the U.S. 101-key
keyboard.
Returned String - Specifies the data that is returned to the program that
is reading the keyboard.
Processed November 7, 1990 KEYBOARD(4,F) 2
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Notes - Specifies additional information. Entries in this column
include:
o CL - This key is affected by CAPS LOCK.
o DK - This key is a dead character on this key state.
o P1 - This key is a character from Code Page P1.
o P2 - This key is a character from Code Page P2.
The Alt key, followed by one or more numbered keys on the numeric pad, will
return a single character which has the value entered on the numeric pad. The
value accumulates while the Alt key is held down and returns when that key is
released. Only spacing character codes and single-byte controls are produced
by this method.
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
1 Base ` Grave Accent 1 b c < 96 0x60
1 Shift ~ Tilde Accent 1 s c < 126 0x7e
1 Ctrl PFK 57 1 c f 0x39 ESC [ 0 5 7 q
1 Alt PFK 115 1 a f 0x73 ESC [ 1 1 5 q
2 Base 1 One 2 b c < 49 0x31
2 Shift ! Exclamation Poin2 s c < 33 0x21
2 Ctrl PFK 49 2 c f 0x31 ESC [ 0 4 9 q
2 Alt PFK 58 2 a f 0x3a ESC [ 0 5 8 q
3 Base 2 Two 3 b c < 50 0x32
3 Shift @ At Sign 3 s c < 64 0x40
3 Ctrl NUL Null 3 c c < 0 0x00
3 Alt PFK 59 3 a f 0x3b ESC [ 0 5 9 q
4 Base 3 Three 4 b c < 51 0x33
4 Shift # Number Sign 4 s c < 35 0x23
4 Ctrl PFK 50 4 c f 0x32 ESC [ 0 5 0 q
4 Alt PFK 60 4 a f 0x3c ESC [ 0 6 0 q
5 Base 4 Four 5 b c < 52 0x34
5 Shift $ Dollar Sign 5 s c < 36 0x24
5 Ctrl PFK 51 5 c f 0x33 ESC [ 0 5 1 q
5 Alt PFK 61 5 a f 0x3d ESC [ 0 6 1 q
6 Base 5 Five 6 b c < 53 0x35
6 Shift % Percent Sign 6 s c < 37 0x25
6 Ctrl PFK 52 6 c f 0x34 ESC [ 0 5 2 q
6 Alt PFK 62 6 a f 0x3e ESC [ 0 6 2 q
Processed November 7, 1990 KEYBOARD(4,F) 3
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
7 Base 6 Six 7 b c < 54 0x36
7 Shift ^ Circumflex Accen7 s c < 94 0x5e
7 Ctrl SS2 Single Shift 2 7 c c < 30 0x1e
7 Alt PFK 63 7 a f 0x3f ESC [ 0 6 3 q
8 Base 7 Seven 8 b c < 55 0x37
8 Shift & Ampersand 8 s c < 38 0x26
8 Ctrl PFK 53 8 c f 0x35 ESC [ 0 5 3 q
8 Alt PFK 64 8 a f 0x40 ESC [ 0 6 4 q
9 Base 8 Eight 9 b c < 56 0x38
9 Shift * Asterisk 9 s c < 42 0x2a
9 Ctrl PFK 54 9 c f 0x36 ESC [ 0 5 4 q
9 Alt PFK 65 9 a f 0x41 ESC [ 0 6 5 q
10 Base 9 Nine 10 b c < 57 0x39
10 Shift ( Left Parenthesis10 s c < 40 0x28
10 Ctrl PFK 55 10 c f 0x37 ESC [ 0 5 5 q
10 Alt PFK 66 10 a f 0x42 ESC [ 0 6 6 q
11 Base 0 Zero 11 b c < 48 0x30
11 Shift ) Right Parenthesi11 s c < 41 0x29
11 Ctrl PFK 56 11 c f 0x38 ESC [ 0 5 6 q
11 Alt PFK 67 11 a f 0x43 ESC [ 0 6 7 q
12 Base - Hyphen 12 b c < 45 0x2d
12 Shift _ Underscore 12 s c < 95 0x5f
12 Ctrl SS1 Single Shift 1 12 c c < 31 0x1f
12 Alt PFK 68 12 a f 0x44 ESC [ 0 6 8 q
13 Base = Equal Sign 13 b c < 61 0x3d
13 Shift + Plus Sign 13 s c < 43 0x2b
13 Ctrl PFK 69 13 c f 0x45 ESC [ 0 6 9 q
13 Alt PFK 70 13 a f 0x46 ESC [ 0 7 0 q
14 Not available on keyboard
15 Base BS Back Space 15 b c < 8 0x08
15 Shift BS Back Space 15 s c < 8 0x08
15 Ctrl DEL Delete 15 c c < 127 0x7f
15 Alt PFK 71 15 a f 0x47 ESC [ 0 7 1 q
16 Base HT Horizontal Tab 16 b c < 9 0x09
16 Shift CBT Cursor Back Tab 16 s f 0x105 ESC [ Z
16 Ctrl PFK 72 16 c f 0x48 ESC [ 0 7 2 q
16 Alt PFK 73 16 a f 0x49 ESC [ 0 7 3 q
Processed November 7, 1990 KEYBOARD(4,F) 4
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
17 Base q Lowercase q 17 b c < 113 0x71 CL
17 Shift Q Uppercase q 17 s c < 81 0x51
17 Ctrl DC1 Device Control 117 c c < 17 0x11
17 Alt PFK 74 17 a f 0x4a ESC [ 0 7 4 q
18 Base w Lowercase w 18 b c < 119 0x77 CL
18 Shift W Uppercase w 18 s c < 87 0x57
18 Ctrl ETB End Trans Block 18 c c < 23 0x17
18 Alt PFK 75 18 a f 0x4b ESC [ 0 7 5 q
19 Base e Lowercase e 19 b c < 101 0x65 CL
19 Shift E Uppercase e 19 s c < 69 0x45
19 Ctrl ENQ Enquiry 19 c c < 5 0x05
19 Alt PFK 76 19 a f 0x4c ESC [ 0 7 6 q
20 Base r Lowercase r 20 b c < 114 0x72 CL
20 Shift R Uppercase r 20 s c < 82 0x52
20 Ctrl DC2 Device Control 220 c c < 18 0x12
20 Alt PFK 77 20 a f 0x4d ESC [ 0 7 7 q
21 Base t Lowercase t 21 b c < 116 0x74 CL
21 Shift T Uppercase t 21 s c < 84 0x54
21 Ctrl DC4 Device Control 421 c c < 20 0x14
21 Alt PFK 78 21 a f 0x4e ESC [ 0 7 8 q
22 Base y Lowercase y 22 b c < 121 0x79 CL
22 Shift Y Uppercase y 22 s c < 89 0x59
22 Ctrl EM End of Media 22 c c < 25 0x19
22 Alt PFK 79 22 a f 0x4f ESC [ 0 7 9 q
23 Base u Lowercase u 23 b c < 117 0x75 CL
23 Shift U Uppercase u 23 s c < 85 0x55
23 Ctrl NAK Not Acknowledge 23 c c < 21 0x15
23 Alt PFK 80 23 a f 0x50 ESC [ 0 8 0 q
24 Base i Lowercase i 24 b c < 105 0x69 CL
24 Shift I Uppercase i 24 s c < 73 0x49
24 Ctrl HT Horizontal Tab 24 c c < 9 0x09
24 Alt PFK 81 24 a f 0x51 ESC [ 0 8 1 q
25 Base o Lowercase o 25 b c < 111 0x6f CL
25 Shift O Uppercase o 25 s c < 79 0x4f
25 Ctrl SI Shift In 25 c c < 15 0x0f
25 Alt PFK 82 25 a f 0x52 ESC [ 0 8 2 q
26 Base p Lowercase p 26 b c < 112 0x70 CL
26 Shift P Uppercase p 26 s c < 80 0x50
Processed November 7, 1990 KEYBOARD(4,F) 5
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
26 Ctrl DLE Data Link Enabl 26 c c < 16 0x10
26 Alt PFK 83 26 a f 0x53 ESC [ 0 8 3 q
27 Base [ Left Bracket 27 b c < 91 0x5b
27 Shift { Left Brace 27 s c < 123 0x7b
27 Ctrl ESC Escape 27 c c < 27 0x1b
27 Alt PFK 84 27 a f 0x54 ESC [ 0 8 4 q
28 Base ] Right Bracket 28 b c < 93 0x5d
28 Shift } Right Brace 28 s c < 125 0x7d
28 Ctrl SS3 Single Shift 3 28 c c < 29 0x1d
28 Alt PFK 85 28 a f 0x55 ESC [ 0 8 5 q
29 Base \ Reverse Slash 29 b c < 92 0x5c
29 Shift | Pipe Symbol 29 s c < 124 0x7c
29 Ctrl SS4 Single Shift 4 29 c c < 28 0x1c
29 Alt PFK 86 29 a f 0x56 ESC [ 0 8 6 q
30 Base Caps Lock None Not Returned
30 Shift Caps Lock None Not Returned
30 Ctrl Caps Lock None Not Returned
30 Alt Caps Lock None Not Returned
31 Base a Lowercase a 31 b c < 97 0x61 CL
31 Shift A Uppercase a 31 s c < 65 0x41
31 Ctrl SOH Start of Header 31 c c < 1 0x01
31 Alt PFK 87 31 a f 0x57 ESC [ 0 8 7 q
32 Base s Lowercase s 32 b c < 115 0x73 CL
32 Shift S Uppercase s 32 s c < 83 0x53
32 Ctrl DC3 Device Control 332 c c < 19 0x13
32 Alt PFK 88 32 a f 0x58 ESC [ 0 8 8 q
33 Base d Lowercase d 33 b c < 100 0x64 CL
33 Shift D Uppercase d 33 s c < 68 0x44
33 Ctrl EOT End of Transmiss33n c c < 4 0x04
33 Alt PFK 89 33 a f 0x59 ESC [ 0 8 9 q
34 Base f Lowercase f 34 b c < 102 0x66 CL
34 Shift F Uppercase f 34 s c < 70 0x46
34 Ctrl ACK Acknowledge 34 c c < 6 0x06
34 Alt PFK 90 34 a f 0x5a ESC [ 0 9 0 q
35 Base g Lowercase g 35 b c < 103 0x67 CL
35 Shift G Uppercase g 35 s c < 71 0x47
35 Ctrl BEL Bell 35 c c < 7 0x07
35 Alt PFK 91 35 a f 0x5b ESC [ 0 9 1 q
Processed November 7, 1990 KEYBOARD(4,F) 6
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
36 Base h Lowercase h 36 b c < 104 0x68 CL
36 Shift H Uppercase h 36 s c < 72 0x48
36 Ctrl BS Backspace 36 c c < 8 0x08
36 Alt PFK 92 36 a f 0x5c ESC [ 0 9 2 q
37 Base j Lowercase j 37 b c < 106 0x6a CL
37 Shift J Uppercase j 37 s c < 74 0x4a
37 Ctrl LF Line Feed 37 c c < 10 0x0a
37 Alt PFK 93 37 a f 0x5d ESC [ 0 9 3 q
38 Base k Lowercase k 38 b c < 107 0x6b CL
38 Shift K Uppercase k 38 s c < 75 0x4b
38 Ctrl VT Vertical Tab 38 c c < 11 0x0b
38 Alt PFK 94 38 a f 0x5e ESC [ 0 9 4 q
39 Base l Lowercase l 39 b c < 108 0x6c CL
39 Shift L Uppercase l 39 s c < 76 0x4c
39 Ctrl FF Form Feed 39 c c < 12 0x0c
39 Alt PFK 95 39 a f 0x5f ESC [ 0 9 5 q
40 Base ; Semicolon 40 b c < 59 0x3b
40 Shift : Colon 40 s c < 58 0x3a
40 Ctrl PFK 96 40 c f 0x60 ESC [ 0 9 6 q
40 Alt PFK 97 40 a f 0x61 ESC [ 0 9 7 q
41 Base ' Quote, Apostroph41 b c < 39 0x27
41 Shift " Double Quote 41 s c < 34 0x22
41 Ctrl PFK 98 41 c f 0x62 ESC [ 0 9 8 q
41 Alt PFK 99 41 a f 0x63 ESC [ 0 9 9 q
42 Not available on keyboard
43 Base CR Carriage Return 43 b c < 13 0x0d
43 Shift CR Carriage Return 43 s c < 13 0x0d
43 Ctrl CR Carriage Return 43 c c < 13 0x0d
43 Alt PFK 100 43 a f 0x64 ESC [ 1 0 0 q
44 Base Shift (Left) None Not Returned
44 Shift Shift (Left) None Not Returned
44 Ctrl Shift (Left) None Not Returned
44 Alt Shift (Left) None Reserved
45 Not available on keyboard
46 Base z Lowercase z 46 b c < 122 0x7a CL
46 Shift Z Uppercase z 46 s c < 90 0x5a
46 Ctrl SUB Substitute Char.46 c c < 26 0x1a
Processed November 7, 1990 KEYBOARD(4,F) 7
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
46 Alt PFK 101 46 a f 0x65 ESC [ 1 0 1 q
47 Base x Lowercase x 47 b c < 120 0x78 CL
47 Shift X Uppercase x 47 s c < 88 0x58
47 Ctrl CAN Cancel 47 c c < 24 0x18
47 Alt PFK 102 47 a f 0x66 ESC [ 1 0 2 q
48 Base c Lowercase c 48 b c < 99 0x63 CL
48 Shift C Uppercase c 48 s c < 67 0x43
48 Ctrl ETX End of Text 48 c c < 3 0x03
48 Alt PFK 103 48 a f 0x67 ESC [ 1 0 3 q
49 Base v Lowercase v 49 b c < 118 0x76 CL
49 Shift V Uppercase v 49 s c < 86 0x56
49 Ctrl SYN Synch Idle 49 c c < 22 0x16
49 Alt PFK 104 49 a f 0x68 ESC [ 1 0 4 q
50 Base b Lowercase b 50 b c < 98 0x62 CL
50 Shift B Uppercase b 50 s c < 66 0x42
50 Ctrl STX Start of Text 50 c c < 2 0x02
50 Alt PFK 105 50 a f 0x69 ESC [ 1 0 5 q
51 Base n Lowercase n 51 b c < 110 0x6e CL
51 Shift N Uppercase n 51 s c < 78 0x4e
51 Ctrl SO Shift Out 51 c c < 14 0x0e
51 Alt PFK 106 51 a f 0x65 ESC [ 1 0 6 q
52 Base m Lowercase m 52 b c < 109 0x6d CL
52 Shift M Uppercase m 52 s c < 77 0x4d
52 Ctrl CR Carriage Return 52 c c < 13 0x0d
52 Alt PFK 107 52 a f 0x66 ESC [ 1 0 7 q
53 Base , Comma 53 b c < 44 0x2c
53 Shift < Less Than Sign 53 s c < 60 0x3c
53 Ctrl PFK 108 53 c f 0x6c ESC [ 1 0 8 q
53 Alt PFK 109 53 a f 0x6d ESC [ 1 0 9 q
54 Base . Period 54 b c < 46 0x2e
54 Shift > Greater Than Sig54 s c < 62 0x3e
54 Ctrl PFK 110 54 c f 0x6e ESC [ 1 1 0 q
54 Alt PFK 111 54 a f 0x6f ESC [ 1 1 1 q
55 Base / Slash 55 b c < 47 0x2f
55 Shift ? Question Mark 55 s c < 63 0x3f
55 Ctrl PFK 112 55 c f 0x70 ESC [ 1 1 2 q
55 Alt PFK 113 55 a f 0x71 ESC [ 1 1 3 q
Processed November 7, 1990 KEYBOARD(4,F) 8
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
56 Not available on keyboard
57 Base Shift (Right) None Not Returned
57 Shift Shift (Right) None Not Returned
57 Ctrl Shift (Right) None Not Returned
57 Alt Shift (Right) None Reserved
58 Base Control None Not Returned
58 Shift Control None Not Returned
58 Ctrl Control None Not Returned
58 Alt Control None Not Returned
59 Not available on keyboard
60 Base Alternate Shift None Not Returned
60 Shift Alternate Shift None Not Returned
60 Ctrl Alternate Shift None Not Returned
60 Alt Alternate Shift None Not Returned
61 Base SP Space 61 b c < 32 0x20
61 Shift SP Space 61 s c < 32 0x20
61 Ctrl SP Space 61 c c < 32 0x20
61 Alt SP Space 61 a c < 32 0x20
62 Base Alternate Graphic ShiftNone Not Returned
62 Shift Alternate Graphic ShiftNone Not Returned
62 Ctrl Alternate Graphic ShiftNone Not Returned
62 Alt Alternate Graphic ShiftNone Not Returned
63 Not available on keyboard
64 Base PFK 114 64 b f 0x72 ESC [ 1 1 4 q
64 Shift Previous Window None Previous Window
64 Ctrl Windows Window None Windows Window
64 Alt Next Window None Next Window
65 - 7Not available on keyboard
75 Base PFK 139 INS Toggle 75 b f 0x8b ESC [ 1 3 9 q
75 Shift PFK 139 INS Toggle 75 s f 0x8b ESC [ 1 3 9 q
75 Ctrl PFK 140 75 c f 0x8c ESC [ 1 4 0 q
75 Alt PFK 141 75 a f 0x8d ESC [ 1 4 1 q
76 Base DCH Delete Character76 b f 0x151 ESC [ P
76 Shift DCH Delete Character76 s f 0x151 ESC [ P
76 Ctrl PFK 142 76 c f 0x8e ESC [ 1 4 2 q
76 Alt DL Delete Line 76 a f 0x153 ESC [ M
Processed November 7, 1990 KEYBOARD(4,F) 9
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
77 Not available on keyboard
78 Not available on keyboard
79 Base CUB Cursor Back 79 b f 0x104 ESC [ D
79 Shift PFK 158 79 s f 0x9e ESC [ 1 5 8 q
79 Ctrl PFK 159 79 c f 0x9f ESC [ 1 5 9 q
79 Alt PFK 160 79 a f 0xa0 ESC [ 1 6 0 q
80 Base HOME 80 b f 0x108 ESC [ H
80 Shift PFK 143 80 s f 0x8f ESC [ 1 4 3 q
80 Ctrl PFK 144 80 c f 0x90 ESC [ 1 4 4 q
80 Alt PFK 145 80 a f 0x91 ESC [ 1 4 5 q
81 Base PFK 146 81 b f 0x92 ESC [ 1 4 6 q
81 Shift PFK 147 81 s f 0x93 ESC [ 1 4 7 q
81 Ctrl PFK 148 81 c f 0x94 ESC [ 1 4 8 q
81 Alt PFK 149 81 a f 0x95 ESC [ 1 4 9 q
82 Not available on keyboard
83 Base CUU Cursor Up 83 b f 0x101 ESC [ A
83 Shift PFK 161 83 s f 0xa1 ESC [ 1 6 1 q
83 Ctrl PFK 162 83 c f 0xa2 ESC [ 1 6 2 q
83 Alt PFK 163 83 a f 0xa3 ESC [ 1 6 3 q
84 Base CUD Cursor Down 84 b f 0x102 ESC [ B
84 Shift PFK 164 84 s f 0xa4 ESC [ 1 6 4 q
84 Ctrl PFK 165 84 c f 0xa5 ESC [ 1 6 5 q
84 Alt PFK 166 84 a f 0xa6 ESC [ 1 6 6 q
85 Base PFK 150 85 b f 0x96 ESC [ 1 5 0 q
85 Shift PFK 151 85 s f 0x97 ESC [ 1 5 1 q
85 Ctrl PFK 152 85 c f 0x98 ESC [ 1 5 2 q
85 Alt PFK 153 85 a f 0x99 ESC [ 1 5 3 q
86 Base PFK 154 86 b f 0x9a ESC [ 1 5 4 q
86 Shift PFK 155 86 s f 0x9b ESC [ 1 5 5 q
86 Ctrl PFK 156 86 c f 0x9c ESC [ 1 5 6 q
86 Alt PFK 157 86 a f 0x9d ESC [ 1 5 7 q
87 Not available on keyboard
88 Not available on keyboard
89 Base CUF Cursor Forward 89 b f 0x103 ESC [ C
89 Shift PFK 167 89 s f 0xa7 ESC [ 1 6 7 q
Processed November 7, 1990 KEYBOARD(4,F) 10
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
89 Ctrl PFK 168 89 c f 0xa8 ESC [ 1 6 8 q
89 Alt PFK 169 89 a f 0xa9 ESC [ 1 6 9 q
90 Base NUM LOCK None Not Returned
90 Shift NUM LOCK None Not Returned
90 Ctrl DC3 Device Control 390 c c < 19 0x13
90 Alt PFK 170 90 a f 0xaa ESC [ 1 7 0 q
91 Base A Upper Left Corne91 b c < 218 0xda
91 Shift 7 Seven 91 s c < 55 0x37
91 Ctrl PFK 172 91 c f 0xac ESC [ 1 7 2 q
91 Alt Alt+Num Entry None Return at Alt Break
92 Base Left Edge Int. 92 b c < 195 0xc3
92 Shift 4 Four 92 s c < 52 0x34
92 Ctrl PFK 174 92 c f 0xae ESC [ 1 7 4 q
92 Alt Alt+Num Entry None Return at Alt Break
93 Base U Lower Left Corne93 b c < 192 0xc0
93 Shift 1 One 93 s c < 49 0x31
93 Ctrl PFK 176 93 c f 0xb0 ESC [ 1 7 6 q
93 Alt Alt+Num Entry None Return at Alt Break
94 Not available on keyboard
95 Base / Slash 95 b c < 47 0x2f
95 Shift / Slash 95 s c < 47 0x2f
95 Ctrl PFK 179 95 c f 0xb3 ESC [ 1 7 9 q
95 Alt PFK 180 95 a f 0xb4 ESC [ 1 8 0 q
96 Base Top Intersection96 b c < 194 0xc2
96 Shift 8 Eight 96 s c < 56 0x38
96 Ctrl PFK 182 96 c f 0xb6 ESC [ 1 8 2 q
96 Alt Alt+Num Entry None Return at Alt Break
97 Base Center Intersect97n b c < 197 0xc5
97 Shift 5 Five 97 s c < 53 0x35
97 Ctrl PFK 184 97 c f 0xb8 ESC [ 1 8 4 q
97 Alt Alt+Num Entry None Return at Alt Break
98 Base Bottom Junction 98 b c < 193 0xc1
98 Shift 2 Two 98 s c < 50 0x32
98 Ctrl PFK 186 98 c f 0xba ESC [ 1 8 6 q
98 Alt Alt+Num Entry None Return at Alt Break
99 Base | Vertical Bar 99 b c < 179 0xb3
99 Shift 0 Zero 99 s c < 48 0x30
Processed November 7, 1990 KEYBOARD(4,F) 11
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
99 Ctrl PFK 178 99 c f 0xb2 ESC [ 1 7 8 q
99 Alt Alt+Num Entry None Return at Alt Break
100 Base * Asterisk 100 b c < 42 0x2a
100 Shift * Asterisk 100 s c < 42 0x2a
100 Ctrl PFK 187 100 c f 0xbb ESC [ 1 8 7 q
100 Alt PFK 188 100 a f 0xbc ESC [ 1 8 8 q
101 Base A Upper Right Corn101 b c < 191 0xbf
101 Shift 9 Nine 101 s c < 57 0x39
101 Ctrl PFK 190 101 c f 0xbe ESC [ 1 9 0 q
101 Alt Alt+Num Entry None Return at Alt Break
102 Base Right Edge Int. 102 b c < 180 0xb4
102 Shift 6 Six 102 s c < 54 0x36
102 Ctrl PFK 192 102 c f 0xc0 ESC [ 1 9 2 q
102 Alt Alt+Num Entry None Return at Alt Break
103 Base Lower Right Corn103 b c < 217 0xd9
103 Shift 3 Three 103 s c < 51 0x33
103 Ctrl PFK 194 103 c f 0xc2 ESC [ 1 9 4 q
103 Alt Alt+Num Entry None Return at Alt Break
104 Base O Horizontal Line 104 b c < 196 0xc4
104 Shift . Period 104 s c < 46 0x2e
104 Ctrl PFK 196 104 c f 0xc4 ESC [ 1 9 6 q
104 Alt PFK 197 104 a f 0xc5 ESC [ 1 9 7 q
105 Base - Hyphen, Minus Si105 b c < 45 0x2d
105 Shift - Hyphen, Minus Si105 s c < 45 0x2d
105 Ctrl PFK 198 105 c f 0xc6 ESC [ 1 9 8 q
105 Alt PFK 199 105 a f 0xc7 ESC [ 1 9 9 q
106 Base + Plus Sign 106 b c < 43 0x2b
106 Shift + Plus Sign 106 s c < 43 0x2b
106 Ctrl PFK 200 106 c f 0xc8 ESC [ 2 0 0 q
106 Alt PFK 201 106 a f 0xc9 ESC [ 2 0 1 q
107 Not available on keyboard
108 Base CR Carriage Return 108 b c < 13 0x0d
108 Shift CR Carriage Return 108 s c < 13 0x0d
108 Ctrl CR Carriage Return 108 c c < 13 0x0d
108 Alt PFK 100 108 a f 0x64 ESC [ 1 0 0 q
109 Not available on keyboard
Processed November 7, 1990 KEYBOARD(4,F) 12
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
110 Base ESC Escape 110 b c < 27 0x1b
110 Shift PFK 120 110 s f 0x78 ESC [ 1 2 0 q
110 Ctrl PFK 121 110 c f 0x79 ESC [ 1 2 1 q
110 Alt PFK 122 110 a f 0x7a ESC [ 1 2 2 q
111 Not available on keyboard
112 Base PFK 1 112 b f 0x01 ESC [ 0 0 1 q
112 Shift PFK 13 112 s f 0x0d ESC [ 0 1 3 q
112 Ctrl PFK 25 112 c f 0x19 ESC [ 0 2 5 q
112 Alt PFK 37 112 a f 0x25 ESC [ 0 3 7 q
113 Base PFK 2 113 b f 0x02 ESC [ 0 0 2 q
113 Shift PFK 14 113 s f 0x0e ESC [ 0 1 4 q
113 Ctrl PFK 26 113 c f 0x1a ESC [ 0 2 6 q
113 Alt PFK 38 113 a f 0x26 ESC [ 0 3 8 q
114 Base PFK 3 114 b f 0x03 ESC [ 0 0 3 q
114 Shift PFK 15 114 s f 0x0f ESC [ 0 1 5 q
114 Ctrl PFK 27 114 c f 0x1b ESC [ 0 2 7 q
114 Alt PFK 39 114 a f 0x27 ESC [ 0 3 9 q
115 Base PFK 4 115 b f 0x04 ESC [ 0 0 4 q
115 Shift PFK 16 115 s f 0x10 ESC [ 0 1 6 q
115 Ctrl PFK 28 115 c f 0x1c ESC [ 0 2 8 q
115 Alt PFK 40 115 a f 0x28 ESC [ 0 4 0 q
116 Base PFK 5 116 b f 0x05 ESC [ 0 0 5 q
116 Shift PFK 17 116 s f 0x11 ESC [ 0 1 7 q
116 Ctrl PFK 29 116 c f 0x1d ESC [ 0 2 9 q
116 Alt PFK 41 116 a f 0x29 ESC [ 0 4 1 q
117 Base PFK 6 117 b f 0x06 ESC [ 0 0 6 q
117 Shift PFK 18 117 s f 0x12 ESC [ 0 1 8 q
117 Ctrl PFK 30 117 c f 0x1e ESC [ 0 3 0 q
117 Alt PFK 42 117 a f 0x2a ESC [ 0 4 2 q
118 Base PFK 7 118 b f 0x07 ESC [ 0 0 7 q
118 Shift PFK 19 118 s f 0x13 ESC [ 0 1 9 q
118 Ctrl PFK 31 118 c f 0x1f ESC [ 0 3 1 q
118 Alt PFK 43 118 a f 0x2b ESC [ 0 4 3 q
119 Base PFK 8 119 b f 0x08 ESC [ 0 0 8 q
119 Shift PFK 20 119 s f 0x14 ESC [ 0 2 0 q
119 Ctrl PFK 32 119 c f 0x20 ESC [ 0 3 2 q
119 Alt PFK 44 119 a f 0x2c ESC [ 0 4 4 q
Processed November 7, 1990 KEYBOARD(4,F) 13
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Key Shift Assignment Keyboard Definition Returned StrinNotes
Posn State nnn s t
120 Base PFK 9 120 b f 0x09 ESC [ 0 0 9 q
120 Shift PFK 21 120 s f 0x15 ESC [ 0 2 1 q
120 Ctrl PFK 33 120 c f 0x21 ESC [ 0 3 3 q
120 Alt PFK 45 120 a f 0x2d ESC [ 0 4 5 q
121 Base PFK 10 121 b f 0x0a ESC [ 0 1 0 q
121 Shift PFK 22 121 s f 0x16 ESC [ 0 2 2 q
121 Ctrl PFK 34 121 c f 0x22 ESC [ 0 3 4 q
121 Alt PFK 46 121 a f 0x2e ESC [ 0 4 6 q
122 Base PFK 11 122 b f 0x0b ESC [ 0 1 1 q
122 Shift PFK 23 122 s f 0x17 ESC [ 0 2 3 q
122 Ctrl PFK 35 122 c f 0x23 ESC [ 0 3 5 q
122 Alt PFK 47 122 a f 0x2f ESC [ 0 4 7 q
123 Base PFK 12 123 b f 0x0c ESC [ 0 1 2 q
123 Shift PFK 24 123 s f 0x18 ESC [ 0 2 4 q
123 Ctrl PFK 36 123 c f 0x24 ESC [ 0 3 6 q
123 Alt PFK 48 123 a f 0x30 ESC [ 0 4 8 q
124 Base PFK 209 124 b f 0xd1 ESC [ 2 0 9 q
124 Shift PFK 210 124 s f 0xd2 ESC [ 2 1 0 q
124 Ctrl PFK 211 124 c f 0xd3 ESC [ 2 1 1 q
124 Alt PFK 212 124 a f 0xd4 ESC [ 2 1 2 q
125 Base PFK 213 125 b f 0xd5 ESC [ 2 1 3 q
125 Shift PFK 214 125 s f 0xd6 ESC [ 2 1 4 q
125 Ctrl PFK 215 125 c f 0xd7 ESC [ 2 1 5 q
125 Alt PFK 216 125 a f 0xd8 ESC [ 2 1 6 q
126 Base PFK 217 126 b f 0xd9 ESC [ 2 1 7 q
126 Shift PFK 218 126 s f 0xda ESC [ 2 1 8 q
126 Ctrl DEL 126 c c < 127 0x7f
126 Alt DEL 126 a c < 127 0x7f
Keystroke Control Sequences for System Functions
The following keystroke combinations cause the indicated system functions to be
performed. The notation Padn, where n is a digit, indicates the n key on the
numeric keypad to the right of the main keyboard area.
Note: Unless otherwise noted, the functions initiated by a three-key
Ctrl-Alt-key sequence require the Alt key on the left side of the
standard PS/2 keyboard. Functions initiated with Alt-key (or Shift-key)
can be selected with either the left or the right Alt key (or Shift
key).
AIX SYSTEM FUNCTIONS
Processed November 7, 1990 KEYBOARD(4,F) 14
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
Alt-Pause Sends the interrupt signal, SIGINT, to all AIX processes
associated with the terminal (or virtual terminal) from which
this key sequence is entered. This causes most processes to
terminate, although a process can arrange to ignore or take
other action on this signal.
Ctrl-V Sends the quit signal, SIGQUIT, to all AIX processes
associated with the terminal (or virtual terminal) from which
this key sequence is entered. This causes most processes to
terminate and produce a process image file in the current
directory named core. However, a process can arrange to
ignore or take other action on this signal.
See "termio" for additional AIX keystroke control sequences.
VIRTUAL TERMINAL FUNCTIONS
Alt-Action Changes the active display screen to the next virtual terminal
(if any).
Shift-Action Changes the active display screen to the previous virtual
terminal (if any).
Ctrl-Action Changes the active display screen to the command virtual
terminal (if defined).
IPL (SYSTEM RESTART) FUNCTIONS
Ctrl-Alt-Pause Performs a software reset and reboot of the system. This
should only be done as a way to get out of hang conditions
because the file system is not synced and data can be lost.
SYSTEM DUMP FUNCTIONS
Ctrl-Alt-Pad7 Performs a dump of all real memory. The dump is placed into
the user's dump minidisk which was set up by the installation
procedure. The system is then restarted as if Ctrl-Alt-Pause
had been pressed.
DIAGNOSTIC FUNCTIONS
Ctrl-Alt-Pad4 Invokes the AIX PS/2 kernel debugger.
RELATED INFORMATION
In this book: "data stream," "display symbols," "hft," "Set Keyboard Map
(HFSKBD)," and "termio."
AIX PS/2 Keyboard Description and Character Reference.
"Using the Dump Facilities" in AIX Programming Tools and Interfaces.
Processed November 7, 1990 KEYBOARD(4,F) 15
KEYBOARD(4,F) AIX Technical Reference KEYBOARD(4,F)
The crash command to examine system images in AIX Operating System Commands
Manual.
Processed November 7, 1990 KEYBOARD(4,F) 16