Commit | Line | Data |
---|---|---|
ee01fcaa KB |
1 | /* |
2 | * Copyright (c) 1988 Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * Redistribution and use in source and binary forms are permitted | |
16b6eaa3 KB |
6 | * provided that the above copyright notice and this paragraph are |
7 | * duplicated in all such forms and that any documentation, | |
8 | * advertising materials, and other materials related to such | |
9 | * distribution and use acknowledge that the software was developed | |
10 | * by the University of California, Berkeley. The name of the | |
11 | * University may not be used to endorse or promote products derived | |
12 | * from this software without specific prior written permission. | |
13 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
14 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
15 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
ee01fcaa | 16 | * |
16b6eaa3 | 17 | * @(#)unix.kbd 1.3 (Berkeley) %G% |
ee01fcaa KB |
18 | */ |
19 | ||
e530d2c2 GM |
20 | /* |
21 | * keynumber [ scancode [ unshifted [ shifted [ alted [ shiftalted ] ] ] ] ] | |
22 | * | |
23 | * keynumber is in decimal, and starts in column 1. | |
24 | * scancode is hexadecimal. | |
25 | * unshifted, etc. - these are either a single ascii character, | |
26 | * or the name of a function or an AID-generating key. | |
27 | * | |
28 | * all fields are separated by a single space. | |
29 | */ | |
30 | ||
31 | extern struct hits hits[]; | |
32 | 1 0e ` ~ LPRT | |
33 | 2 16 1 ! XON | |
34 | 3 1e 2 @ XOFF | |
35 | 4 26 3 # ALTK | |
36 | 5 25 4 $ ESCAPE | |
37 | 6 2e 5 % DISC | |
38 | 7 36 6 ^ MASTER_RESET | |
39 | 8 3d 7 & RESHOW | |
40 | 9 3e 8 * FLINP | |
41 | 10 46 9 ( SYNCH | |
42 | 11 45 0 ) INIT | |
43 | 12 4e - _ PCOFF | |
44 | 13 55 = + PCON | |
45 | 14 5d APLON APLOFF APLEND | |
46 | 15 66 LEFT | |
47 | 16 0d TAB BTAB | |
48 | 17 15 q Q FIELDEND | |
49 | 18 1d w W WORDEND | |
50 | 19 24 e E WORDBACKTAB | |
51 | 20 2d r R FERASE | |
52 | 21 2c t T WERASE | |
53 | 22 35 y Y ERASE | |
54 | 23 3c u U CLRTAB | |
55 | 24 43 i I SETHOM | |
56 | 25 44 o O SETMRG | |
57 | 26 4d p P UNDENT | |
58 | 27 54 [ { INDENT | |
59 | 28 5b \ | SETTAB | |
60 | 29 5c DELTAB COLTAB COLBAK | |
61 | 30 14 CAPS_LOCK | |
62 | 31 1c a A WORDTAB | |
63 | 32 1b s S CURSEL | |
64 | 33 23 d D VERTICAL_BAR | |
65 | 34 2b f F CENTSIGN | |
66 | 35 34 g G PF25 | |
67 | 36 33 h H PF26 | |
68 | 37 3b j J PF27 | |
69 | 38 42 k K PF28 | |
70 | 39 4b l L PF29 | |
71 | 40 4c ; : PF30 | |
72 | 41 52 ' " PF31 | |
73 | 42 53 ] } PF32 | |
74 | 43 5a NL | |
75 | 44 12 MAKE_SHIFT MAKE_SHIFT MAKE_SHIFT | |
76 | 45 13 < > PF33 | |
77 | 46 1a z Z PF34 | |
78 | 47 22 x X PF35 | |
79 | 48 21 c C PF36 | |
80 | 49 2a v V | |
81 | 50 32 b B | |
82 | 51 31 n N | |
83 | 52 3a m M | |
84 | 53 41 , < | |
85 | 54 49 . > | |
86 | 55 4a / ? | |
87 | 56 51 | |
88 | 57 59 MAKE_SHIFT MAKE_SHIFT MAKE_SHIFT | |
89 | 58 11 RESET NULL DVCNL | |
90 | 59 | |
91 | 60 19 MAKE_ALT MAKE_ALT MAKE_ALT | |
92 | 61 29 SPACE SPACE | |
93 | 62 39 MAKE_ALT MAKE_ALT MAKE_ALT | |
94 | 63 | |
95 | 64 58 ENTER | |
96 | 65 06 CLEAR NULL TEST | |
97 | 66 0c NULL NULL ATTN | |
98 | 67 0b EEOF NULL EINP | |
99 | 68 0a | |
100 | 69 09 MAKE_CTRL | |
101 | 70 05 ATTN NULL TREQ | |
102 | 71 04 | |
103 | 72 03 | |
104 | 73 83 | |
105 | 74 01 | |
106 | 75 67 PA1 DP | |
107 | 76 64 BTAB | |
108 | 77 | |
109 | 78 61 LEFT NULL LEFT2 | |
110 | 79 | |
111 | 80 6e PA2 FM | |
112 | 81 65 INSRT | |
113 | 82 63 UP | |
114 | 83 62 NULL NULL HOME | |
115 | 84 60 DOWN | |
116 | 85 6f PA3 | |
117 | 86 6d DELETE | |
118 | 87 | |
119 | 88 6a RIGHT NULL RIGHT2 | |
120 | 89 | |
121 | 90 76 | |
122 | 91 6c 7 | |
123 | 92 6b 4 | |
124 | 93 69 1 | |
125 | 94 68 | |
126 | 95 77 | |
127 | 96 75 8 | |
128 | 97 73 5 | |
129 | 98 72 2 | |
130 | 99 70 0 | |
131 | 100 7e , | |
132 | 101 7d 9 | |
133 | 102 74 6 | |
134 | 103 7a 3 | |
135 | 104 71 . | |
136 | 105 84 SPACE | |
137 | 106 7c TAB | |
138 | 107 7b - | |
139 | 108 79 ENTER | |
140 | 109 78 | |
141 | 110 07 PF1 | |
142 | 111 0f PF2 | |
143 | 112 17 PF3 | |
144 | 113 1f PF4 | |
145 | 114 27 PF5 | |
146 | 115 2f PF6 | |
147 | 116 37 PF7 | |
148 | 117 3f PF8 NULL MONOCASE | |
149 | 118 47 PF9 | |
150 | 119 4f PF10 | |
151 | 120 56 PF11 | |
152 | 121 5e PF12 | |
153 | 122 08 PF13 | |
154 | 123 10 PF14 | |
155 | 124 18 PF15 | |
156 | 125 20 PF16 | |
157 | 126 28 PF17 | |
158 | 127 30 PF18 | |
159 | 128 38 PF19 | |
160 | 129 40 PF20 | |
161 | 130 48 PF21 | |
162 | 131 50 PF22 | |
163 | 132 57 PF23 | |
164 | 133 5f PF24 | |
165 | 134 92 BREAK_SHIFT BREAK_SHIFT BREAK_SHIFT | |
166 | 135 D9 BREAK_SHIFT BREAK_SHIFT BREAK_SHIFT | |
167 | 136 99 BREAK_ALT BREAK_ALT BREAK_ALT | |
168 | 137 B9 BREAK_ALT BREAK_ALT BREAK_ALT |