xref: /original-bsd/usr.bin/tn3270/ctlr/unix.kbd (revision 2301fdfb)
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
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.
16 *
17 *	@(#)unix.kbd	4.1 (Berkeley) 12/04/88
18 */
19
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
31extern struct hits hits[];
321 0e ` ~ LPRT
332 16 1 ! XON
343 1e 2 @ XOFF
354 26 3 # ALTK
365 25 4 $ ESCAPE
376 2e 5 % DISC
387 36 6 ^ MASTER_RESET
398 3d 7 & RESHOW
409 3e 8 * FLINP
4110 46 9 ( SYNCH
4211 45 0 ) INIT
4312 4e - _ PCOFF
4413 55 = + PCON
4514 5d APLON APLOFF APLEND
4615 66 LEFT
4716 0d TAB BTAB
4817 15 q Q FIELDEND
4918 1d w W WORDEND
5019 24 e E WORDBACKTAB
5120 2d r R FERASE
5221 2c t T WERASE
5322 35 y Y ERASE
5423 3c u U CLRTAB
5524 43 i I SETHOM
5625 44 o O SETMRG
5726 4d p P UNDENT
5827 54 [ { INDENT
5928 5b \ | SETTAB
6029 5c DELTAB COLTAB COLBAK
6130 14 CAPS_LOCK
6231 1c a A WORDTAB
6332 1b s S CURSEL
6433 23 d D VERTICAL_BAR
6534 2b f F CENTSIGN
6635 34 g G PF25
6736 33 h H PF26
6837 3b j J PF27
6938 42 k K PF28
7039 4b l L PF29
7140 4c ; : PF30
7241 52 ' " PF31
7342 53 ] } PF32
7443 5a NL
7544 12 MAKE_SHIFT MAKE_SHIFT MAKE_SHIFT
7645 13 < > PF33
7746 1a z Z PF34
7847 22 x X PF35
7948 21 c C PF36
8049 2a v V
8150 32 b B
8251 31 n N
8352 3a m M
8453 41 , <
8554 49 . >
8655 4a / ?
8756 51
8857 59 MAKE_SHIFT MAKE_SHIFT MAKE_SHIFT
8958 11 RESET NULL DVCNL
9059
9160 19 MAKE_ALT MAKE_ALT MAKE_ALT
9261 29 SPACE SPACE
9362 39 MAKE_ALT MAKE_ALT MAKE_ALT
9463
9564 58 ENTER
9665 06 CLEAR NULL TEST
9766 0c NULL NULL ATTN
9867 0b EEOF NULL EINP
9968 0a
10069 09 MAKE_CTRL
10170 05 ATTN NULL TREQ
10271 04
10372 03
10473 83
10574 01
10675 67 PA1 DP
10776 64 BTAB
10877
10978 61 LEFT NULL LEFT2
11079
11180 6e PA2 FM
11281 65 INSRT
11382 63 UP
11483 62 NULL NULL HOME
11584 60 DOWN
11685 6f PA3
11786 6d DELETE
11887
11988 6a RIGHT NULL RIGHT2
12089
12190 76
12291 6c 7
12392 6b 4
12493 69 1
12594 68
12695 77
12796 75 8
12897 73 5
12998 72 2
13099 70 0
131100 7e ,
132101 7d 9
133102 74 6
134103 7a 3
135104 71 .
136105 84 SPACE
137106 7c TAB
138107 7b -
139108 79 ENTER
140109 78
141110 07 PF1
142111 0f PF2
143112 17 PF3
144113 1f PF4
145114 27 PF5
146115 2f PF6
147116 37 PF7
148117 3f PF8 NULL MONOCASE
149118 47 PF9
150119 4f PF10
151120 56 PF11
152121 5e PF12
153122 08 PF13
154123 10 PF14
155124 18 PF15
156125 20 PF16
157126 28 PF17
158127 30 PF18
159128 38 PF19
160129 40 PF20
161130 48 PF21
162131 50 PF22
163132 57 PF23
164133 5f PF24
165134 92 BREAK_SHIFT BREAK_SHIFT BREAK_SHIFT
166135 D9 BREAK_SHIFT BREAK_SHIFT BREAK_SHIFT
167136 99 BREAK_ALT BREAK_ALT BREAK_ALT
168137 B9 BREAK_ALT BREAK_ALT BREAK_ALT
169