1 # Default keymap for 3270 (ebcdic codepage 037).
14 keycode 10 = nul guillemotleft
15 keycode 11 = nul guillemotright
17 keycode 13 = nul yacute
18 keycode 14 = nul thorn
19 keycode 15 = nul plusminus
20 keycode 16 = nul degree
33 keycode 29 = nul cedilla
35 keycode 31 = nul currency
37 keycode 33 = nul tilde
46 keycode 42 = nul exclamdown
47 keycode 43 = nul questiondown
49 keycode 45 = nul Yacute
50 keycode 46 = nul THORN
51 keycode 47 = nul registered
52 keycode 48 = nul dead_circumflex
53 keycode 49 = nul sterling
55 keycode 51 = nul periodcentered
56 keycode 52 = nul copyright
57 keycode 53 = nul section
58 keycode 54 = nul paragraph
59 keycode 55 = nul onequarter
60 keycode 56 = nul onehalf
61 keycode 57 = nul threequarters
62 keycode 58 = nul bracketleft
63 keycode 59 = nul bracketright
65 keycode 61 = nul diaeresis
66 keycode 62 = nul acute
67 keycode 63 = nul multiply
68 keycode 64 = space braceleft
70 keycode 66 = acircumflex B
71 keycode 67 = adiaeresis C
76 keycode 72 = ccedilla H
79 keycode 75 = period ocircumflex
80 keycode 76 = less odiaeresis
81 keycode 77 = parenleft ograve
82 keycode 78 = plus oacute
83 keycode 79 = bar otilde
84 keycode 80 = ampersand braceright
86 keycode 82 = acircumflex K
87 keycode 83 = ediaeresis L
90 keycode 86 = icircumflex O
91 keycode 87 = idiaeresis P
94 keycode 90 = exclam onesuperior
95 keycode 91 = dollar ucircumflex
96 keycode 92 = asterisk udiaeresis
97 keycode 93 = parenright ugrave
98 keycode 94 = semicolon uacute
99 keycode 95 = notsign ydiaeresis
100 keycode 96 = minus backslash
101 keycode 97 = slash division
102 keycode 98 = Acircumflex S
103 keycode 99 = Adiaeresis T
104 keycode 100 = Agrave U
105 keycode 101 = Aacute V
106 keycode 102 = Atilde W
107 keycode 103 = Aring X
108 keycode 104 = Ccedilla Y
109 keycode 105 = Ntilde Z
110 keycode 106 = brokenbar twosuperior
111 keycode 107 = comma Ocircumflex
112 keycode 108 = percent Odiaeresis
113 keycode 109 = underscore Ograve
114 keycode 110 = greater Oacute
115 keycode 111 = question Otilde
116 keycode 112 = oslash zero
117 keycode 113 = Eacute one
118 keycode 114 = Ecircumflex two
119 keycode 115 = Ediaeresis three
120 keycode 116 = Egrave four
121 keycode 117 = Iacute five
122 keycode 118 = Icircumflex six
123 keycode 119 = Idiaeresis seven
124 keycode 120 = Igrave eight
125 keycode 121 = grave nine
126 keycode 122 = colon threesuperior
127 keycode 123 = numbersign Ucircumflex
128 keycode 124 = at Udiaeresis
129 keycode 125 = apostrophe Ugrave
130 keycode 126 = equal Uacute
131 keycode 127 = quotedbl nul
134 control keycode 74 = F22
135 control keycode 75 = F23
136 control keycode 76 = F24
137 control keycode 107 = Control_z # PA3
138 control keycode 108 = Control_c # PA1
139 control keycode 109 = KeyboardSignal # Clear
140 control keycode 110 = Control_d # PA2
141 control keycode 122 = F10
142 control keycode 123 = F11 # F11
143 control keycode 124 = Last_Console # F12
144 control keycode 125 = Linefeed
145 shift control keycode 65 = F13
146 shift control keycode 66 = F14
147 shift control keycode 67 = F15
148 shift control keycode 68 = F16
149 shift control keycode 69 = F17
150 shift control keycode 70 = F18
151 shift control keycode 71 = F19
152 shift control keycode 72 = F20
153 shift control keycode 73 = F21
154 shift control keycode 113 = F1
155 shift control keycode 114 = F2
156 shift control keycode 115 = Incr_Console
157 shift control keycode 116 = F4
158 shift control keycode 117 = F5
159 shift control keycode 118 = F6
160 shift control keycode 119 = Scroll_Backward
161 shift control keycode 120 = Scroll_Forward
162 shift control keycode 121 = F9
164 string F1 = "\033[[A"
165 string F2 = "\033[[B"
166 string F3 = "\033[[C"
167 string F4 = "\033[[D"
168 string F5 = "\033[[E"
169 string F6 = "\033[17~"
170 string F7 = "\033[18~"
171 string F8 = "\033[19~"
172 string F9 = "\033[20~"
173 string F10 = "\033[21~"
174 string F11 = "\033[23~"
175 string F12 = "\033[24~"
176 string F13 = "\033[25~"
177 string F14 = "\033[26~"
178 string F15 = "\033[28~"
179 string F16 = "\033[29~"
180 string F17 = "\033[31~"
181 string F18 = "\033[32~"
182 string F19 = "\033[33~"
183 string F20 = "\033[34~"
188 compose '^' 'c' to Control_c
189 compose '^' 'd' to Control_d
190 compose '^' 'z' to Control_z
191 compose '^' '\012' to nul