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