[NTDLL]
[reactos.git] / reactos / base / applications / network / telnet / telnet.cfg
1 ; Console Telnet 2.0 keys.cfg
2 ;
3 [comment]
4
5 This is a completely rewritten configuration file for Console Telnet 2.0.
6
7 Now you can define multiple keymaps, character maps, and combine them in your
8 own ways.
9
10 Possible definition:
11 [COMMENT]
12 ...
13 [END COMMENT]
14 This is for commenting a big part of text. can be nested.
15 In text these also work:
16 ; - First printable character in line, which is completely
17 ignored.
18 // - Like C++ comment
19
20 [GLOBAL]
21 ...
22 [END GLOBAL]
23 This part is required. For an explanation look at the body.
24
25 [KEYMAP name]
26 ...
27 [END KEYMAP]
28 'name' - is a keymap name for reference. In 'name' you can use
29 any char exept spaces, '+', ':' and ']'. '+' and ':' reserved for
30 CONFIG section.
31 Body is a sequence of key definitions:
32
33 <vk_name> [keymodifier[+keymodifier[+...]]] <keytranslation>
34
35 example:
36 VK_F1 RIGHT_ALT+RIGHT_CTRL this_would_print
37
38 vk_name is an ASCII string equivalent to an entry in [GLOBAL].
39
40 Valid keymodifiers are:
41 RIGHT_ALT
42 LEFT_ALT
43 RIGHT_CTRL
44 LEFT_CTRL
45 SHIFT
46 ENHANCED
47 NUMLOCK
48 CAPSLOCK
49 SCROLLLOCK
50 APP_KEY
51 APP2_KEY
52 APP3_KEY
53 APP4_KEY
54
55 Undefined enhanced keys will use the non-enhanced definition.
56
57 APP_KEY, APP2_KEY, and APP3_KEY are application-specific key modes.
58 Other terminal emulations (which have not yet been implemented) may
59 use other definitions for these keys, but for the standard ANSI
60 emulation, these mean:
61 APP_KEY - VT100 application cursor keys
62 APP2_KEY - VT52 cursor keys
63 APP3_KEY - VT102 alternate keypad mode
64 APP4_KEY - VT100 newline mode set
65
66 keytranslation is the string you want printed for the key.
67 The notation ^[ can be used to denote an escape character.
68 Any ASCII value can be represented by
69
70 \nnn where nnn is a 3 digit decimal ASCII value or
71 \xhh where hh is a 2 digit hexadecimal ASCII value.
72
73 Leading zeros may not be omitted.
74 A value of \000(\x00) will not be transmitted.
75 Rather, if you put \000 you undefine a key. If you must send a NULL character,
76 please use \TN_NULL\.
77
78 A word on special sequences:
79 Any sequence of the form: \TN_...\ is a special sequence, which will perform a
80 special function for telnet. You may substitute one of these for keytranslation
81 for any key. Some of the special sequences that telnet recognizes:
82
83 \TN_ESCAPE Escape into the telnet client
84 \TN_SCROLLBACK Go into the scrollback buffer
85 \TN_DIAL Start a new telnet session
86 \TN_PASTE Paste the contents of the clipboard to the server
87 \TN_NULL Send a null sequence to the server
88 \TN_CR Send \rNULL to the server
89 \TN_CRLF Send \r\n to the server
90
91 note: In order to have both left and right alt have the same
92 action, you must create a separate def for left and right.
93
94 [CHARMAP name]
95 ...
96 [END CHARMAP]
97 'name' - is a charmap name for reference. Requirements are the same
98 as for keymap name.
99 body is a sequence of char conversion definition:
100
101 <host_char> <console_char>
102
103 where host_char is a char received from host, and console_char
104 is a char, which would be displayed on console.
105
106 The main purpose of it is a conversion between differents code
107 pages, for example, on former USSR part of world most unix's hosts
108 uses 'koi8' code page, and on W95 machines - 866 code page.
109
110 Any ASCII value can be represented by
111
112 \nnn where nnn is a 3 digit decimal ASCII value or
113 \xhh where hh is a 2 digit hexadecimal ASCII value.
114
115 Leading zeros may be omitted.
116 A value of \000(\x00) will not be accepted.
117
118 Look for example at [charmap koi8-cp866].
119
120 [CONFIG name]
121 ...
122 [END CONFIG]
123 'name' - is a configuration name for reference. Requirements are
124 the same as for keymap name.
125
126 You must define one with name 'default', which will be used as
127 default.
128
129 In the body of this section you can combine keymaps and set
130 the charmap. The format for this is:
131
132 KEYMAP name_list [: <vk_name> [keymodifier[+keymodifier[+...]]] ]
133
134 where
135 name_list:
136 keymap_name
137 keymap_name '+' name_list
138
139 keymap_name is a name of [KEYMAP]
140
141 You can specify multiple keymaps, for first (the default)
142 you can not define ': <vk_name> ...' part, but for the rest
143 (secondary) you must!
144 The ': <vk_name> ...' part defines a key for switch to this
145 keymap.
146
147 Assigning a switching key to the first (default) keymap will be
148 ignored, but you can switch to by pressing a second time the
149 switch key for the current keymap.
150
151 If a key is not found in a switched keymap, a program will
152 look for it in the default keymap. So, you only need to redefine
153 needed keys in secondary keymaps.
154
155 CHARMAP name
156
157 define which charmap is to use.
158
159 examples:
160 [config default]
161 keymap default
162 [end config]
163
164 [config linux]
165 keymap default + linux
166 [end config]
167
168 [config default_koi8]
169 keymap default
170 keymap koi8u + koi8r : VK_/ RIGHT_ALT // russian keyboard
171 keymap koi8u : VK_. RIGHT_ALT // ukranian
172
173 charmap koi8-cp866
174 [end config]
175
176 [config linux_koi8]
177 keymap default + linux
178 keymap koi8u + koi8r : VK_/ RIGHT_ALT // russian keyboard
179 keymap koi8u : VK_. RIGHT_ALT // ukranian
180
181 charmap koi8-cp866
182 [end config]
183
184 For switching to russian keyboard just press RIGHT_ALT and '/'.
185 To switch back press it again.
186
187 [end comment]
188
189 [GLOBAL]
190 ; DO NOT MODIFY THE GLOBALS UNLESS YOU KNOW WHAT YOU ARE DOING.
191 ; The globals are required for the key translation to work.
192 ; do not place keymap before globals
193
194 VK_LBUTTON 01 Left mouse button
195 VK_RBUTTON 02 Right mouse button
196 VK_CANCEL 03 Control-break processing
197 VK_MBUTTON 04 Middle mouse button (three-button mouse)
198 ;-- 05-07 Undefined
199 VK_BACK 08 BACKSPACE key
200 VK_TAB 09 TAB key
201 ;-- 10-11 Undefined
202 VK_CLEAR 12 CLEAR key
203 VK_RETURN 13 ENTER key
204 ;-- 14-15 Undefined
205 ;VK_SHIFT 16 SHIFT key
206 ;VK_CONTROL 17 CTRL key
207 ;VK_MENU 18 ALT key
208
209 VK_PAUSE 19 PAUSE key
210 ;VK_CAPITAL 20 CAPS LOCK key
211 ;-- 21-25 Reserved for Kanji systems
212 ;-- 26 Undefined
213 VK_ESCAPE 27 ESC key
214 ;-- 28-31 Reserved for Kanji systems
215 VK_SPACE 32 SPACEBAR
216 VK_PGUP 33 PAGE UP key
217 VK_PGDN 34 PAGE DOWN key
218 VK_END 35 END key
219 VK_HOME 36 HOME key
220 VK_LEFT 37 LEFT ARROW key
221 VK_UP 38 UP ARROW key
222 VK_RIGHT 39 RIGHT ARROW key
223 VK_DOWN 40 DOWN ARROW key
224 VK_SELECT 41 SELECT key
225 ;-- 42 Original equipment manufacturer (OEM) specific
226 VK_EXECUTE 43 EXECUTE key
227 VK_SNAPSHOT 44 PRINT SCREEN key for Windows 3.0 and later
228 VK_INSERT 45 INS key
229 VK_DELETE 46 DEL key
230 VK_HELP 47 HELP key
231 VK_0 48 0 key
232 VK_1 49 1 key
233 VK_2 50 2 key
234 VK_3 51 3 key
235 VK_4 52 4 key
236 VK_5 53 5 key
237 VK_6 54 6 key
238 VK_7 55 7 key
239 VK_8 56 8 key
240 VK_9 57 9 key
241 ;-- 58-64 Undefined
242 VK_A 65 A key
243 VK_B 66 B key
244 VK_C 67 C key
245 VK_D 68 D key
246 VK_E 69 E key
247 VK_F 70 F key
248 VK_G 71 G key
249 VK_H 72 H key
250 VK_I 73 I key
251 VK_J 74 J key
252 VK_K 75 K key
253 VK_L 76 L key
254 VK_M 77 M key
255 VK_N 78 N key
256 VK_O 79 O key
257 VK_P 80 P key
258 VK_Q 81 Q key
259 VK_R 82 R key
260 VK_S 83 S key
261 VK_T 84 T key
262 VK_U 85 U key
263 VK_V 86 V key
264 VK_W 87 W key
265 VK_X 88 X key
266 VK_Y 89 Y key
267 VK_Z 90 Z key
268 ;-- 91-95 Undefined
269 VK_NUMPAD0 96 Numeric keypad 0 key
270 VK_NUMPAD1 97 Numeric keypad 1 key
271 VK_NUMPAD2 98 Numeric keypad 2 key
272 VK_NUMPAD3 99 Numeric keypad 3 key
273 VK_NUMPAD4 100 Numeric keypad 4 key
274 VK_NUMPAD5 101 Numeric keypad 5 key
275 VK_NUMPAD6 102 Numeric keypad 6 key
276 VK_NUMPAD7 103 Numeric keypad 7 key
277 VK_NUMPAD8 104 Numeric keypad 8 key
278 VK_NUMPAD9 105 Numeric keypad 9 key
279 VK_MULTIPLY 106 Multiply key
280 VK_ADD 107 Add key
281 VK_SEPARATOR 108 Separator key
282 VK_SUBTRACT 109 Subtract key
283 VK_DECIMAL 110 Decimal key
284 VK_DIVIDE 111 Divide key
285 VK_F1 112 F1 key
286 VK_F2 113 F2 key
287 VK_F3 114 F3 key
288 VK_F4 115 F4 key
289 VK_F5 116 F5 key
290 VK_F6 117 F6 key
291 VK_F7 118 F7 key
292 VK_F8 119 F8 key
293 VK_F9 120 F9 key
294 VK_F10 121 F10 key
295 VK_F11 122 F11 key
296 VK_F12 123 F12 key
297 VK_F13 124 F13 key
298 VK_F14 125 F14 key
299 VK_F15 126 F15 key
300 VK_F16 127 F16 key
301 VK_F17 128 F17 key
302 VK_F18 129 F18 key
303 VK_F19 130 F19 key
304 VK_F20 131 F20 key
305 VK_F21 132 F21 key
306 VK_F22 133 F22 key
307 VK_F23 134 F23 key
308 VK_F24 135 F24 key
309 ;-- 136-143 Unassigned
310 VK_NUMLOCK 144 NUM LOCK key
311 VK_SCROLL 145 SCROLL LOCK key
312 ;-- 146-185 Unassigned
313
314 ;
315 ;
316 ; John Ioannou (roryt@hol.gr)
317 ; Athens 30/03/97 10:42pm GMT-2
318 ; Correction for Win95
319 ;
320 ; This keys are used (at least in my keyboard -737/437 cp)
321 ; for some common keys (equal, slash, backslash etc).
322 ; Normally we don't want to define them, but
323 ; there is a bug with win95 with them :
324 ; with CAPS LOCK on they produce the SHIFTED character
325 ; (minus gives _, = gives + etc).
326 ;
327 ;
328 ;-- 186-192 OEM specific
329 VK_; 186 ;
330 VK_= 187 EQUAL
331 VK_, 188 ,
332 VK_- 189 MINUS
333 VK_. 190 FULLSTOP
334 VK_/ 191 SLASH
335 VK_` 192 `
336 ;-- 193-218 Unassigned
337 ;-- 219-228 OEM specific
338 VK_[ 219 [
339 VK_\ 220 BACKSLASH
340 VK_] 221 ]
341 VK_' 222 '
342 ;-- 229 Unassigned
343 ;-- 230 OEM specific
344 ;-- 231-232 Unassigned
345 ;-- 233-245 OEM specific
346 ;-- 246-254 Unassigned
347
348 [END GLOBAL]
349
350 [keymap ANSI]
351 ;
352 ; John Ioannou (roryt@hol.gr)
353 ; Athens 30/03/97 10:42pm GMT-2
354 ;
355 ; these are full (SCO and not only) ANSI
356 ; also they deal with the win95 bug and
357 ; give support for the Midnight Commander
358 ;
359 ;
360 ; function keys
361 ;
362 VK_F1 ^[[M
363 VK_F2 ^[[N
364 VK_F3 ^[[O
365 VK_F4 ^[[P
366 VK_F5 ^[[Q
367 VK_F6 ^[[R
368 VK_F7 ^[[S
369 VK_F8 ^[[T
370 VK_F9 ^[[U
371 VK_F10 ^[[V
372 VK_F11 ^[[W
373 VK_F12 ^[[X
374 VK_F1 SHIFT ^[[Y
375 VK_F2 SHIFT ^[[Z
376 VK_F3 SHIFT ^[[a
377 VK_F4 SHIFT ^[[b
378 VK_F5 SHIFT ^[[c
379 VK_F6 SHIFT ^[[d
380 VK_F7 SHIFT ^[[e
381 VK_F8 SHIFT ^[[f
382 VK_F9 SHIFT ^[[g
383 VK_F10 SHIFT ^[[h
384 VK_F11 SHIFT ^[[i
385 VK_F12 SHIFT ^[[j
386 VK_F1 RIGHT_CTRL ^[[k
387 VK_F2 RIGHT_CTRL ^[[l
388 VK_F3 RIGHT_CTRL ^[[m
389 VK_F4 RIGHT_CTRL ^[[n
390 VK_F5 RIGHT_CTRL ^[[o
391 VK_F6 RIGHT_CTRL ^[[p
392 VK_F7 RIGHT_CTRL ^[[q
393 VK_F8 RIGHT_CTRL ^[[r
394 VK_F9 RIGHT_CTRL ^[[s
395 VK_F10 RIGHT_CTRL ^[[t
396 VK_F11 RIGHT_CTRL ^[[y
397 VK_F12 RIGHT_CTRL ^[[v
398 VK_F1 LEFT_CTRL ^[[k
399 VK_F2 LEFT_CTRL ^[[l
400 VK_F3 LEFT_CTRL ^[[m
401 VK_F4 LEFT_CTRL ^[[n
402 VK_F5 LEFT_CTRL ^[[o
403 VK_F6 LEFT_CTRL ^[[p
404 VK_F7 LEFT_CTRL ^[[q
405 VK_F8 LEFT_CTRL ^[[r
406 VK_F9 LEFT_CTRL ^[[s
407 VK_F10 LEFT_CTRL ^[[t
408 VK_F11 LEFT_CTRL ^[[y
409 VK_F12 LEFT_CTRL ^[[v
410 ;
411 ; misc fuctions
412 ;
413 ; FIX ME!!! Some people have reported that these keys don't work.
414 VK_SCROLL \017
415 VK_PAUSE \019
416 VK_INSERT ^[[L
417 VK_DELETE ENHANCED \127
418 VK_HOME ^[[H
419 VK_PGUP ^[[I
420 VK_PGDN ^[[G
421 VK_END ^[[F
422 VK_INSERT SHIFT ^[[L
423 VK_DELETE SHIFT+ENHANCED \127
424 VK_HOME SHIFT ^[[H
425 VK_PGUP SHIFT ^[[I
426 VK_PGDN SHIFT ^[[G
427 VK_END SHIFT ^[[F
428 ;
429 ; arrows
430 ;
431 VK_LEFT ^[[D
432 VK_UP ^[[A
433 VK_RIGHT ^[[C
434 VK_DOWN ^[[B
435 VK_LEFT SHIFT ^[[D
436 VK_UP SHIFT ^[[A
437 VK_RIGHT SHIFT ^[[C
438 VK_DOWN SHIFT ^[[B
439 ;
440 ; just in case !!!
441 ;
442 VK_ESCAPE SHIFT \027
443 VK_TAB \009
444 VK_TAB SHIFT ^[[Z^[[Z
445 ;
446 ;---------------------------------------
447 ; Athens 30/03/97 10:55pm GMT+2
448 ; Correction for Win95
449 ;
450 VK_6 SHIFT \094
451 VK_` `
452 VK_` SHIFT ~
453 VK_0 CAPSLOCK 0
454 VK_1 CAPSLOCK 1
455 VK_2 CAPSLOCK 2
456 VK_3 CAPSLOCK 3
457 VK_4 CAPSLOCK 4
458 VK_5 CAPSLOCK 5
459 VK_6 CAPSLOCK 6
460 VK_7 CAPSLOCK 7
461 VK_8 CAPSLOCK 8
462 VK_9 CAPSLOCK 9
463 VK_ESCAPE CAPSLOCK \027
464 VK_` CAPSLOCK `
465 VK_= CAPSLOCK =
466 VK_- CAPSLOCK -
467 VK_\ CAPSLOCK \
468 VK_[ CAPSLOCK [
469 VK_] CAPSLOCK ]
470 VK_; CAPSLOCK ;
471 VK_' CAPSLOCK '
472 VK_, CAPSLOCK ,
473 VK_. CAPSLOCK .
474 VK_/ CAPSLOCK /
475 VK_0 CAPSLOCK+SHIFT )
476 VK_1 CAPSLOCK+SHIFT !
477 VK_2 CAPSLOCK+SHIFT @
478 VK_3 CAPSLOCK+SHIFT #
479 VK_4 CAPSLOCK+SHIFT $
480 VK_5 CAPSLOCK+SHIFT %
481 VK_6 CAPSLOCK+SHIFT ^
482 VK_7 CAPSLOCK+SHIFT &
483 VK_8 CAPSLOCK+SHIFT *
484 VK_9 CAPSLOCK+SHIFT (
485 VK_ESCAPE CAPSLOCK+SHIFT \027
486 VK_` CAPSLOCK+SHIFT ~
487 VK_= CAPSLOCK+SHIFT +
488 VK_- CAPSLOCK+SHIFT _
489 VK_\ CAPSLOCK+SHIFT |
490 VK_[ CAPSLOCK+SHIFT {
491 VK_] CAPSLOCK+SHIFT }
492 VK_; CAPSLOCK+SHIFT :
493 VK_' CAPSLOCK+SHIFT "
494 VK_, CAPSLOCK+SHIFT <
495 VK_. CAPSLOCK+SHIFT >
496 VK_/ CAPSLOCK+SHIFT ?
497 ;
498 ;
499 ;---------------------------------------
500 ;
501 ; These are for use with Midnight Commander
502 ; they map Meta key to ALT (Like Linux console, nice isn't it ? )
503 ;
504 VK_0 RIGHT_ALT ^[0
505 VK_1 RIGHT_ALT ^[1
506 VK_2 RIGHT_ALT ^[2
507 VK_3 RIGHT_ALT ^[3
508 VK_4 RIGHT_ALT ^[4
509 VK_5 RIGHT_ALT ^[5
510 VK_6 RIGHT_ALT ^[6
511 VK_7 RIGHT_ALT ^[7
512 VK_8 RIGHT_ALT ^[8
513 VK_9 RIGHT_ALT ^[9
514 VK_A RIGHT_ALT ^[A
515 VK_B RIGHT_ALT ^[B
516 VK_C RIGHT_ALT ^[C
517 VK_D RIGHT_ALT ^[D
518 VK_E RIGHT_ALT ^[E
519 VK_F RIGHT_ALT ^[F
520 VK_G RIGHT_ALT ^[G
521 VK_H RIGHT_ALT ^[H
522 VK_I RIGHT_ALT ^[I
523 VK_J RIGHT_ALT ^[J
524 VK_K RIGHT_ALT ^[K
525 VK_L RIGHT_ALT ^[L
526 VK_M RIGHT_ALT ^[M
527 VK_N RIGHT_ALT ^[N
528 VK_O RIGHT_ALT ^[O
529 VK_P RIGHT_ALT ^[P
530 VK_Q RIGHT_ALT ^[Q
531 VK_R RIGHT_ALT ^[R
532 VK_S RIGHT_ALT ^[S
533 VK_T RIGHT_ALT ^[T
534 VK_U RIGHT_ALT ^[U
535 VK_V RIGHT_ALT ^[V
536 VK_W RIGHT_ALT ^[W
537 VK_X RIGHT_ALT ^[X
538 VK_Y RIGHT_ALT ^[Y
539 VK_Z RIGHT_ALT ^[Z
540 VK_0 LEFT_ALT ^[0
541 VK_1 LEFT_ALT ^[1
542 VK_2 LEFT_ALT ^[2
543 VK_3 LEFT_ALT ^[3
544 VK_4 LEFT_ALT ^[4
545 VK_5 LEFT_ALT ^[5
546 VK_6 LEFT_ALT ^[6
547 VK_7 LEFT_ALT ^[7
548 VK_8 LEFT_ALT ^[8
549 VK_9 LEFT_ALT ^[9
550 VK_A LEFT_ALT ^[a
551 VK_B LEFT_ALT ^[b
552 VK_C LEFT_ALT ^[c
553 VK_D LEFT_ALT ^[d
554 VK_E LEFT_ALT ^[e
555 VK_F LEFT_ALT ^[f
556 VK_G LEFT_ALT ^[g
557 VK_H LEFT_ALT ^[h
558 VK_I LEFT_ALT ^[i
559 VK_J LEFT_ALT ^[j
560 VK_K LEFT_ALT ^[k
561 VK_L LEFT_ALT ^[l
562 VK_M LEFT_ALT ^[m
563 VK_N LEFT_ALT ^[n
564 VK_O LEFT_ALT ^[o
565 VK_P LEFT_ALT ^[p
566 VK_Q LEFT_ALT ^[q
567 VK_R LEFT_ALT ^[r
568 VK_S LEFT_ALT ^[s
569 VK_T LEFT_ALT ^[t
570 VK_U LEFT_ALT ^[u
571 VK_V LEFT_ALT ^[v
572 VK_W LEFT_ALT ^[w
573 VK_X LEFT_ALT ^[x
574 VK_Y LEFT_ALT ^[y
575 VK_Z LEFT_ALT ^[z
576 VK_RETURN RIGHT_CTRL \TN_CR
577 VK_RETURN LEFT_CTRL \TN_CR
578 ; VK_RETURN now sends CR except in newline mode (Paul Brannan 12/9/98)
579 VK_RETURN \TN_CR
580 VK_RETURN APP4_KEY \TN_CRLF
581 VK_RETURN ENHANCED \TN_CR
582 ; This is for application cursor keys (Paul Brannan 5/27/98)
583 VK_LEFT APP_KEY ^[OD
584 VK_UP APP_KEY ^[OA
585 VK_RIGHT APP_KEY ^[OC
586 VK_DOWN APP_KEY ^[OB
587 VK_LEFT APP_KEY+SHIFT ^[OD
588 VK_UP APP_KEY+SHIFT ^[OA
589 VK_RIGHT APP_KEY+SHIFT ^[OC
590 VK_DOWN APP_KEY+SHIFT ^[OB
591 ; APP2_KEY is for VT52 support (Paul Brannan 6/28/98)
592 VK_LEFT APP2_KEY ^[D
593 VK_UP APP2_KEY ^[A
594 VK_RIGHT APP2_KEY ^[C
595 VK_DOWN APP2_KEY ^[B
596 VK_LEFT APP2_KEY+SHIFT ^[D
597 VK_UP APP2_KEY+SHIFT ^[A
598 VK_RIGHT APP2_KEY+SHIFT ^[C
599 VK_DOWN APP2_KEY+SHIFT ^[B
600 VK_F1 APP2_KEY ^[P
601 VK_F2 APP2_KEY ^[Q
602 VK_F3 APP2_KEY ^[R
603 VK_F4 APP2_KEY ^[S
604 VK_F5 APP2_KEY ^[?w
605 VK_F6 APP2_KEY ^[?x
606 VK_F7 APP2_KEY ^[?y
607 VK_F8 APP2_KEY ^[?m
608 VK_F9 APP2_KEY ^[?t
609 VK_F10 APP2_KEY ^[?u
610 VK_F1 APP2_KEY+SHIFT ^[?v
611 VK_F2 APP2_KEY+SHIFT ^[?l
612 VK_F3 APP2_KEY+SHIFT ^[?q
613 VK_F4 APP2_KEY+SHIFT ^[?r
614 VK_F5 APP2_KEY+SHIFT ^[?s
615 VK_F6 APP2_KEY+SHIFT ^[?M
616 VK_F7 APP2_KEY+SHIFT ^[?p
617 VK_F8 APP2_KEY+SHIFT ^[?n
618
619 ; Fix for the numeric decimal key (Paul Brannan 9/23/98)
620 VK_DELETE \127
621 VK_DELETE NUMLOCK .
622 VK_DELETE NUMLOCK+SHIFT \127
623
624 ; VT100 Application keypad mode (Paul Brannan 12/8/98)
625 VK_NUMPAD0 APP3_KEY ^[Op
626 VK_NUMPAD1 APP3_KEY ^[Oq
627 VK_NUMPAD2 APP3_KEY ^[Or
628 VK_NUMPAD3 APP3_KEY ^[Os
629 VK_NUMPAD4 APP3_KEY ^[Ot
630 VK_NUMPAD5 APP3_KEY ^[Ou
631 VK_NUMPAD6 APP3_KEY ^[Ov
632 VK_NUMPAD7 APP3_KEY ^[Ow
633 VK_NUMPAD8 APP3_KEY ^[Ox
634 VK_NUMPAD9 APP3_KEY ^[Oy
635 VK_ADD APP3_KEY ^[Ol
636 VK_SUBTRACT APP3_KEY ^[Om
637 VK_DELETE APP3_KEY ^[On
638 VK_RETURN ENHANCED+APP3_KEY ^[OM
639
640 ; VT52 Application keypad mode (Paul Brannan 12/8/98)
641 VK_NUMPAD0 APP2_KEY+APP3_KEY ^[?p
642 VK_NUMPAD1 APP2_KEY+APP3_KEY ^[?q
643 VK_NUMPAD2 APP2_KEY+APP3_KEY ^[?r
644 VK_NUMPAD3 APP2_KEY+APP3_KEY ^[?s
645 VK_NUMPAD4 APP2_KEY+APP3_KEY ^[?t
646 VK_NUMPAD5 APP2_KEY+APP3_KEY ^[?u
647 VK_NUMPAD6 APP2_KEY+APP3_KEY ^[?v
648 VK_NUMPAD7 APP2_KEY+APP3_KEY ^[?w
649 VK_NUMPAD8 APP2_KEY+APP3_KEY ^[?x
650 VK_NUMPAD9 APP2_KEY+APP3_KEY ^[?y
651 VK_ADD APP2_KEY+APP3_KEY ^[?l
652 VK_SUBTRACT APP2_KEY+APP3_KEY ^[?m
653 VK_DELETE APP2_KEY+APP3_KEY ^[?n
654 VK_RETURN ENHANCED+APP2_KEY+APP3_KEY ^[?M
655
656 ; Extra control characters (Paul Brannan 12/10/98)
657 VK_2 LEFT_CTRL \x00\x00
658 VK_2 RIGHT_CTRL \x00\x00
659 VK_6 LEFT_CTRL \x1e
660 VK_6 RIGHT_CTRL \x1e
661 VK_- LEFT_CTRL \x1f
662 VK_- RIGHT_CTRL \x1f
663
664 ; A way to send the null Character (Paul Brannan 3/29/00)
665 VK_SPACE LEFT_CTRL \TN_NULL
666 VK_SPACE RIGHT_CTRL \TN_NULL
667
668 [END keymap] // ansi
669
670 [keymap LINUX]
671 ;
672 ;
673 ; John Ioannou (roryt@hol.gr)
674 ; Athens 12 April 1997
675 ;
676 ; Linux keys
677 ;
678 ; Andrew Smilianets (smile@head.aval.kiev.ua)
679 ; Kiev 23 December 1997
680 ;
681 ; duplicated with default stripped, so, to use it, declare
682 ; keymap default+linux
683
684 ;
685 ; function keys
686 ;
687 VK_F1 ^[[[A
688 VK_F2 ^[[[B
689 VK_F3 ^[[[C
690 VK_F4 ^[[[D
691 VK_F5 ^[[[E
692 VK_F6 ^[[17~
693 VK_F7 ^[[18~
694 VK_F8 ^[[19~
695 VK_F9 ^[[20~
696 VK_F10 ^[[21~
697 VK_F11 ^[[23~
698 VK_F12 ^[[24~
699 VK_F1 SHIFT ^[[23~
700 VK_F2 SHIFT ^[[24~
701 VK_F3 SHIFT ^[[25~
702 VK_F4 SHIFT ^[[26~
703 VK_F5 SHIFT ^[[28~
704 VK_F6 SHIFT ^[[29~
705 VK_F7 SHIFT ^[[31~
706 VK_F8 SHIFT ^[[32~
707 VK_F9 SHIFT ^[[33~
708 VK_F10 SHIFT ^[[34~
709 VK_F11 SHIFT ^[[23~
710 VK_F12 SHIFT ^[[24~
711 VK_F1 RIGHT_CTRL ^[[[A
712 VK_F2 RIGHT_CTRL ^[[[B
713 VK_F3 RIGHT_CTRL ^[[[C
714 VK_F4 RIGHT_CTRL ^[[[D
715 VK_F5 RIGHT_CTRL ^[[[E
716 VK_F6 RIGHT_CTRL ^[[17~
717 VK_F7 RIGHT_CTRL ^[[18~
718 VK_F8 RIGHT_CTRL ^[[19~
719 VK_F9 RIGHT_CTRL ^[[20~
720 VK_F10 RIGHT_CTRL ^[[21~
721 VK_F11 RIGHT_CTRL ^[[23~
722 VK_F12 RIGHT_CTRL ^[[24~
723 VK_F1 LEFT_CTRL ^[[[A
724 VK_F2 LEFT_CTRL ^[[[B
725 VK_F3 LEFT_CTRL ^[[[C
726 VK_F4 LEFT_CTRL ^[[[D
727 VK_F5 LEFT_CTRL ^[[[E
728 VK_F6 LEFT_CTRL ^[[17~
729 VK_F7 LEFT_CTRL ^[[18~
730 VK_F8 LEFT_CTRL ^[[19~
731 VK_F9 LEFT_CTRL ^[[20~
732 VK_F10 LEFT_CTRL ^[[21~
733 VK_F11 LEFT_CTRL ^[[23~
734 VK_F12 LEFT_CTRL ^[[24~
735 ;
736 ; misc fuctions
737 ;
738 VK_PAUSE ^[[P
739 VK_INSERT ^[[2~
740 VK_DELETE ENHANCED ^[[3~
741 VK_HOME ^[[1~
742 VK_PGUP ^[[5~
743 VK_PGDN ^[[6~
744 VK_END ^[[4~
745 VK_INSERT SHIFT ^[[2~
746 VK_DELETE SHIFT+ENHANCED ^[[3~
747 VK_HOME SHIFT ^[[1~
748 VK_PGUP SHIFT ^[[5~
749 VK_PGDN SHIFT ^[[6~
750 VK_END SHIFT ^[[4~
751 VK_INSERT LEFT_CTRL ^[[2~
752 VK_DELETE LEFT_CTRL ^[[3~
753 VK_HOME LEFT_CTRL ^[[1~
754 VK_PGUP LEFT_CTRL ^[[5~
755 VK_PGDN LEFT_CTRL ^[[6~
756 VK_END LEFT_CTRL ^[[4~
757 VK_INSERT RIGHT_CTRL ^[[2~
758 VK_DELETE RIGHT_CTRL ^[[3~
759 VK_HOME RIGHT_CTRL ^[[1~
760 VK_PGUP RIGHT_CTRL ^[[5~
761 VK_PGDN RIGHT_CTRL ^[[6~
762 VK_END RIGHT_CTRL ^[[4~
763 ;
764 ; arrows
765 ;
766 VK_UP RIGHT_CTRL ^[[A
767 VK_DOWN RIGHT_CTRL ^[[B
768 VK_RIGHT RIGHT_CTRL ^[[C
769 VK_LEFT RIGHT_CTRL ^[[D
770 VK_UP LEFT_CTRL ^[[A
771 VK_DOWN LEFT_CTRL ^[[B
772 VK_RIGHT LEFT_CTRL ^[[C
773 VK_LEFT LEFT_CTRL ^[[D
774 VK_NUMPAD5 ^[[G
775
776 [END keymap] // linux
777
778 [keymap vt100]
779 ; These were wrong, according to the docs I have. They don't work with
780 ; Midnight Commander on my machine. I'm not sure if
781 ; this is correct or not. I've also changed F1 - F4 so that they
782 ; send PF1 - PF4, and F5 - F10 so they send VT102 application mode
783 ; DEC keypad sequences. I changed SF1 - SF10 so they akso send DEC keypad
784 ; sequences, and CF6 - CF12 so they send VT320 keypad sequences.
785 ; (Paul Brannan 6/28/98)
786 ;
787 ; The numpad keys seem to be wrong, too. This has been fixed.
788 ; (Paul Brannan 12/8/98)
789 VK_F1 ^[OP
790 VK_F2 ^[OQ
791 VK_F3 ^[OR
792 VK_F4 ^[OS
793 VK_F5 ^[Ow
794 VK_F6 ^[Ox
795 VK_F7 ^[Oy
796 VK_F8 ^[Om
797 VK_F9 ^[Ot
798 VK_F10 ^[Ou
799 VK_F1 SHIFT ^[Ov
800 VK_F2 SHIFT ^[Ol
801 VK_F3 SHIFT ^[Oq
802 VK_F4 SHIFT ^[Or
803 VK_F5 SHIFT ^[Os
804 VK_F6 SHIFT ^[OM
805 VK_F7 SHIFT ^[Op
806 VK_F8 SHIFT ^[On
807 VK_F6 RIGHT_CTRL ^[[17~
808 VK_F7 RIGHT_CTRL ^[[18~
809 VK_F8 RIGHT_CTRL ^[[19~
810 VK_F9 RIGHT_CTRL ^[[20~
811 VK_F10 RIGHT_CTRL ^[[21~
812 VK_F11 RIGHT_CTRL ^[[23~
813 VK_F12 RIGHT_CTRL ^[[24~
814 VK_F6 LEFT_CTRL ^[[17~
815 VK_F7 LEFT_CTRL ^[[18~
816 VK_F8 LEFT_CTRL ^[[19~
817 VK_F9 LEFT_CTRL ^[[20~
818 VK_F10 LEFT_CTRL ^[[21~
819 VK_F11 LEFT_CTRL ^[[23~
820 VK_F12 LEFT_CTRL ^[[24~
821
822 [END keymap] // vt100
823
824 [keymap AT386]
825 :
826 ; AT386 extended keys
827 ;
828 ; Dmitry Lapenkov <dl@bis.ru>
829 ;
830
831 VK_LBUTTON ^M\x00
832 VK_RBUTTON ^[^[
833 VK_CANCEL ^C
834 VK_MBUTTON ^[OP
835 VK_BACK ^H
836 VK_BACK SHIFT ^[[O
837 VK_BACK LEFT_CTRL \127
838 VK_BACK RIGHT_CTRL \127
839 VK_TAB ^I
840 VK_TAB SHIFT ^[[Z
841 VK_TAB LEFT_CTRL ^[[Z
842 VK_TAB RIGHT_CTRL ^[[Z
843 VK_RETURN ^M\x00
844 VK_RETURN SHIFT ^[[R
845 VK_RETURN LEFT_CTRL ^J
846 VK_RETURN RIGHT_CTRL ^J
847 VK_PAUSE ^S
848 VK_PAUSE LEFT_CTRL ^C
849 VK_PAUSE RIGHT_CTRL ^C
850 VK_PAUSE SHIFT ^S
851 VK_ESCAPE ^[^[
852 VK_ESCAPE SHIFT ^[
853 VK_BACK LEFT_ALT ^[[o
854 VK_BACK RIGHT_ALT ^[[o
855 VK_TAB LEFT_ALT ^[[z
856 VK_TAB RIGHT_ALT ^[[z
857 VK_RETURN LEFT_ALT ^[[r
858 VK_RETURN RIGHT_ALT ^[[r
859 VK_PAUSE LEFT_ALT ^[<
860 VK_PAUSE RIGHT_ALT ^[>
861 VK_PGUP ^[[V
862 VK_PGUP SHIFT ^[[V
863 VK_PGUP LEFT_CTRL ^[[W
864 VK_PGUP RIGHT_CTRL ^[[W
865 VK_PGDN ^[[U
866 VK_PGDN SHIFT ^[[U
867 VK_PGDN LEFT_CTRL ^[[X
868 VK_PGDN RIGHT_CTRL ^[[X
869 VK_END ^[[Y
870 VK_END SHIFT ^[[Y
871 VK_END LEFT_CTRL ^[[E
872 VK_END RIGHT_CTRL ^[[E
873 VK_HOME ^[[H
874 VK_HOME SHIFT ^[[H
875 VK_HOME LEFT_CTRL ^[[F
876 VK_HOME RIGHT_CTRL ^[[F
877 VK_LEFT ^[[D
878 VK_LEFT SHIFT ^[[D
879 VK_LEFT LEFT_CTRL ^[[K
880 VK_LEFT RIGHT_CTRL ^[[K
881 VK_UP ^[[A
882 VK_UP SHIFT ^[[A
883 VK_UP LEFT_CTRL ^[[I
884 VK_UP RIGHT_CTRL ^[[I
885 VK_RIGHT ^[[C
886 VK_RIGHT SHIFT ^[[C
887 VK_RIGHT LEFT_CTRL ^[[L
888 VK_RIGHT RIGHT_CTRL ^[[L
889 VK_DOWN ^[[B
890 VK_DOWN SHIFT ^[[B
891 VK_DOWN LEFT_CTRL ^[[J
892 VK_DOWN RIGHT_CTRL ^[[J
893 VK_INSERT ^[[@
894 VK_INSERT SHIFT ^[[T
895 VK_INSERT LEFT_CTRL ^[[T
896 VK_INSERT RIGHT_CTRL ^[[T
897 VK_DELETE \127
898 VK_DELETE SHIFT ^[[S
899 VK_DELETE LEFT_CTRL ^[[S
900 VK_DELETE RIGHT_CTRL ^[[S
901 VK_PGUP LEFT_ALT ^[[v
902 VK_PGUP RIGHT_ALT ^[[v
903 VK_PGDN LEFT_ALT ^[[u
904 VK_PGDN RIGHT_ALT ^[[u
905 VK_END LEFT_ALT ^[[y
906 VK_END RIGHT_ALT ^[[y
907 VK_HOME LEFT_ALT ^[[h
908 VK_HOME RIGHT_ALT ^[[h
909 VK_LEFT LEFT_ALT ^[[d
910 VK_LEFT RIGHT_ALT ^[[d
911 VK_UP LEFT_ALT ^[[a
912 VK_UP RIGHT_ALT ^[[a
913 VK_RIGHT LEFT_ALT ^[[c
914 VK_RIGHT RIGHT_ALT ^[[c
915 VK_DOWN LEFT_ALT ^[[b
916 VK_DOWN RIGHT_ALT ^[[b
917 VK_INSERT LEFT_ALT ^[[t
918 VK_INSERT RIGHT_ALT ^[[t
919 VK_DELETE LEFT_ALT ^[[s
920 VK_DELETE RIGHT_ALT ^[[s
921 VK_0 LEFT_ALT ^[N0
922 VK_1 LEFT_ALT ^[N1
923 VK_2 LEFT_ALT ^[N2
924 VK_3 LEFT_ALT ^[N3
925 VK_4 LEFT_ALT ^[N4
926 VK_5 LEFT_ALT ^[N5
927 VK_6 LEFT_ALT ^[N6
928 VK_7 LEFT_ALT ^[N7
929 VK_8 LEFT_ALT ^[N8
930 VK_9 LEFT_ALT ^[N9
931 VK_0 RIGHT_ALT ^[N0
932 VK_1 RIGHT_ALT ^[N1
933 VK_2 RIGHT_ALT ^[N2
934 VK_3 RIGHT_ALT ^[N3
935 VK_4 RIGHT_ALT ^[N4
936 VK_5 RIGHT_ALT ^[N5
937 VK_6 RIGHT_ALT ^[N6
938 VK_7 RIGHT_ALT ^[N7
939 VK_8 RIGHT_ALT ^[N8
940 VK_9 RIGHT_ALT ^[N9
941 VK_A LEFT_ALT ^[NA
942 VK_B LEFT_ALT ^[NB
943 VK_C LEFT_ALT ^[NC
944 VK_D LEFT_ALT ^[ND
945 VK_E LEFT_ALT ^[NE
946 VK_F LEFT_ALT ^[NF
947 VK_G LEFT_ALT ^[NG
948 VK_H LEFT_ALT ^[NH
949 VK_I LEFT_ALT ^[NI
950 VK_J LEFT_ALT ^[NJ
951 VK_K LEFT_ALT ^[NK
952 VK_L LEFT_ALT ^[NL
953 VK_M LEFT_ALT ^[NM
954 VK_M LEFT_ALT ^[NN
955 VK_O LEFT_ALT ^[NO
956 VK_P LEFT_ALT ^[NP
957 VK_Q LEFT_ALT ^[NQ
958 VK_R LEFT_ALT ^[NR
959 VK_S LEFT_ALT ^[NS
960 VK_T LEFT_ALT ^[NT
961 VK_U LEFT_ALT ^[NU
962 VK_V LEFT_ALT ^[NV
963 VK_W LEFT_ALT ^[NW
964 VK_X LEFT_ALT ^[NX
965 VK_Y LEFT_ALT ^[NY
966 VK_Z LEFT_ALT ^[NZ
967 VK_A RIGHT_ALT ^[NA
968 VK_B RIGHT_ALT ^[NB
969 VK_C RIGHT_ALT ^[NC
970 VK_D RIGHT_ALT ^[ND
971 VK_E RIGHT_ALT ^[NE
972 VK_F RIGHT_ALT ^[NF
973 VK_G RIGHT_ALT ^[NG
974 VK_H RIGHT_ALT ^[NH
975 VK_I RIGHT_ALT ^[NI
976 VK_J RIGHT_ALT ^[NJ
977 VK_K RIGHT_ALT ^[NK
978 VK_L RIGHT_ALT ^[NL
979 VK_M RIGHT_ALT ^[NM
980 VK_M RIGHT_ALT ^[NN
981 VK_O RIGHT_ALT ^[NO
982 VK_P RIGHT_ALT ^[NP
983 VK_Q RIGHT_ALT ^[NQ
984 VK_R RIGHT_ALT ^[NR
985 VK_S RIGHT_ALT ^[NS
986 VK_T RIGHT_ALT ^[NT
987 VK_U RIGHT_ALT ^[NU
988 VK_V RIGHT_ALT ^[NV
989 VK_W RIGHT_ALT ^[NW
990 VK_X RIGHT_ALT ^[NX
991 VK_Y RIGHT_ALT ^[NY
992 VK_Z RIGHT_ALT ^[NZ
993 VK_NUMPAD0 LEFT_CTRL ^[[T
994 VK_NUMPAD0 RIGHT_CTRL ^[[T
995 VK_NUMPAD1 LEFT_CTRL ^[[E
996 VK_NUMPAD1 RIGHT_CTRL ^[[E
997 VK_NUMPAD2 LEFT_CTRL ^[[J
998 VK_NUMPAD2 RIGHT_CTRL ^[[J
999 VK_NUMPAD3 LEFT_CTRL ^[[X
1000 VK_NUMPAD3 RIGHT_CTRL ^[[X
1001 VK_NUMPAD4 LEFT_CTRL ^[[K
1002 VK_NUMPAD4 RIGHT_CTRL ^[[K
1003 VK_NUMPAD5 LEFT_CTRL ^[[G
1004 VK_NUMPAD5 RIGHT_CTRL ^[[G
1005 VK_NUMPAD6 LEFT_CTRL ^[[L
1006 VK_NUMPAD6 RIGHT_CTRL ^[[L
1007 VK_NUMPAD7 LEFT_CTRL ^[[F
1008 VK_NUMPAD7 RIGHT_CTRL ^[[F
1009 VK_NUMPAD8 LEFT_CTRL ^[[I
1010 VK_NUMPAD8 RIGHT_CTRL ^[[I
1011 VK_NUMPAD9 LEFT_CTRL ^[[W
1012 VK_NUMPAD9 RIGHT_CTRL ^[[W
1013 VK_MULTIPLY LEFT_CTRL ^[[Q
1014 VK_MULTIPLY RIGHT_CTRL ^[[Q
1015 VK_ADD LEFT_CTRL ^[[M
1016 VK_ADD RIGHT_CTRL ^[[M
1017 VK_SEPARATOR SHIFT ^[[R
1018 VK_SEPARATOR LEFT_CTRL ^J
1019 VK_SEPARATOR RIGHT_CTRL ^J
1020 VK_SUBTRACT LEFT_CTRL ^[[N
1021 VK_SUBTRACT RIGHT_CTRL ^[[N
1022 VK_DECIMAL LEFT_CTRL ^[[S
1023 VK_DECIMAL RIGHT_CTRL ^[[S
1024 VK_DIVIDE LEFT_CTRL ^[[P
1025 VK_DIVIDE RIGHT_CTRL ^[[P
1026 VK_NUMPAD0 LEFT_ALT ^X
1027 VK_NUMPAD0 RIGHT_ALT ^X
1028 VK_NUMPAD1 LEFT_ALT ^E
1029 VK_NUMPAD1 RIGHT_ALT ^E
1030 VK_NUMPAD2 LEFT_ALT ^X/
1031 VK_NUMPAD2 RIGHT_ALT ^X/
1032 VK_NUMPAD3 LEFT_ALT ^V
1033 VK_NUMPAD3 RIGHT_ALT ^V
1034 VK_NUMPAD4 LEFT_ALT ^X^F
1035 VK_NUMPAD4 RIGHT_ALT ^X^F
1036 VK_NUMPAD5 LEFT_ALT ^[[g
1037 VK_NUMPAD5 RIGHT_ALT ^[[g
1038 VK_NUMPAD6 LEFT_ALT ^X^Y
1039 VK_NUMPAD6 RIGHT_ALT ^X^Y
1040 VK_NUMPAD7 LEFT_ALT ^A
1041 VK_NUMPAD7 RIGHT_ALT ^A
1042 VK_NUMPAD8 LEFT_ALT ^X_
1043 VK_NUMPAD8 RIGHT_ALT ^X_
1044 VK_NUMPAD9 LEFT_ALT ^[v
1045 VK_NUMPAD9 RIGHT_ALT ^[v
1046 VK_MULTIPLY LEFT_ALT ^[[q
1047 VK_MULTIPLY RIGHT_ALT ^[[q
1048 VK_ADD LEFT_ALT ^[[m
1049 VK_ADD RIGHT_ALT ^[[m
1050 VK_SEPARATOR LEFT_ALT ^[[r
1051 VK_SEPARATOR RIGHT_ALT ^[[r
1052 VK_SUBTRACT LEFT_ALT ^[[n
1053 VK_SUBTRACT RIGHT_ALT ^[[n
1054 VK_DECIMAL LEFT_ALT ^X^C
1055 VK_DECIMAL RIGHT_ALT ^X^C
1056 VK_DIVIDE LEFT_ALT ^[[p
1057 VK_DIVIDE RIGHT_ALT ^[[p
1058 VK_F1 ^[OP
1059 VK_F1 SHIFT ^[Op
1060 VK_F1 LEFT_CTRL ^[Ob
1061 VK_F1 RIGHT_CTRL ^[Ob
1062 VK_F2 ^[OQ
1063 VK_F2 SHIFT ^[Oq
1064 VK_F2 LEFT_CTRL ^[Oc
1065 VK_F2 RIGHT_CTRL ^[Oc
1066 VK_F3 ^[OR
1067 VK_F3 SHIFT ^[Or
1068 VK_F3 LEFT_CTRL ^[Od
1069 VK_F3 RIGHT_CTRL ^[Od
1070 VK_F4 ^[OS
1071 VK_F4 SHIFT ^[Os
1072 VK_F4 LEFT_CTRL ^[Oe
1073 VK_F4 RIGHT_CTRL ^[Oe
1074 VK_F5 ^[OT
1075 VK_F5 SHIFT ^[Ot
1076 VK_F5 LEFT_CTRL ^[Of
1077 VK_F5 RIGHT_CTRL ^[Of
1078 VK_F6 ^[OU
1079 VK_F6 SHIFT ^[Ou
1080 VK_F6 LEFT_CTRL ^[Og
1081 VK_F6 RIGHT_CTRL ^[Og
1082 VK_F7 ^[OV
1083 VK_F7 SHIFT ^[Ov
1084 VK_F7 LEFT_CTRL ^[Oh
1085 VK_F7 RIGHT_CTRL ^[Oh
1086 VK_F8 ^[OW
1087 VK_F8 SHIFT ^[Ow
1088 VK_F8 LEFT_CTRL ^[Oi
1089 VK_F8 RIGHT_CTRL ^[Oi
1090 VK_F9 ^[OX
1091 VK_F9 SHIFT ^[Ox
1092 VK_F9 LEFT_CTRL ^[Oj
1093 VK_F9 RIGHT_CTRL ^[Oj
1094 VK_F10 ^[OY
1095 VK_F10 SHIFT ^[Oy
1096 VK_F10 LEFT_CTRL ^[Ok
1097 VK_F10 RIGHT_CTRL ^[Ok
1098 VK_F11 ^[OZ
1099 VK_F11 SHIFT ^[Oz
1100 VK_F11 LEFT_CTRL ^[Ol
1101 VK_F11 RIGHT_CTRL ^[Ol
1102 VK_F12 ^[OA
1103 VK_F12 SHIFT ^[Oa
1104 VK_F12 LEFT_CTRL ^[Om
1105 VK_F12 RIGHT_CTRL ^[Om
1106 VK_F1 LEFT_ALT ^[O1
1107 VK_F1 RIGHT_ALT ^[O1
1108 VK_F2 LEFT_ALT ^[O2
1109 VK_F2 RIGHT_ALT ^[O2
1110 VK_F3 LEFT_ALT ^[O3
1111 VK_F3 RIGHT_ALT ^[O3
1112 VK_F4 LEFT_ALT ^[O4
1113 VK_F4 RIGHT_ALT ^[O4
1114 VK_F5 LEFT_ALT ^[O5
1115 VK_F5 RIGHT_ALT ^[O5
1116 VK_F6 LEFT_ALT ^[O6
1117 VK_F6 RIGHT_ALT ^[O6
1118 VK_F7 LEFT_ALT ^[O7
1119 VK_F7 RIGHT_ALT ^[O7
1120 VK_F8 LEFT_ALT ^[O8
1121 VK_F8 RIGHT_ALT ^[O8
1122 VK_F9 LEFT_ALT ^[O9
1123 VK_F9 RIGHT_ALT ^[O9
1124 VK_F10 LEFT_ALT ^[O0
1125 VK_F10 RIGHT_ALT ^[O0
1126 VK_F11 LEFT_ALT ^[O:
1127 VK_F11 RIGHT_ALT ^[O:
1128 VK_F12 LEFT_ALT ^[O;
1129 VK_F12 RIGHT_ALT ^[O;
1130
1131 [END keymap]
1132
1133
1134 [keymap at386st]
1135 ;
1136 ; AT386 standard keys
1137 ;
1138
1139 VK_F1 ^[OP
1140 VK_F2 ^[OQ
1141 VK_F3 ^[OR
1142 VK_F4 ^[OS
1143 VK_F5 ^[OT
1144 VK_F6 ^[OU
1145 VK_F7 ^[OV
1146 VK_F8 ^[OW
1147 VK_F9 ^[OX
1148 VK_F10 ^[OY
1149 VK_F11 ^[[W
1150 VK_F12 ^[[X
1151 VK_SCROLL \017
1152 VK_PAUSE \019
1153 ;
1154 VK_INSERT ^[[@
1155 VK_DELETE \004
1156 ;
1157 VK_LEFT ^[[D
1158 VK_UP ^[[A
1159 VK_RIGHT ^[[C
1160 VK_DOWN ^[[B
1161 ;
1162 VK_HOME ^[[H
1163 VK_PGUP ^[[V
1164 VK_PGDN ^[[U
1165 VK_END ^[[Y
1166 ;
1167 VK_TAB \009
1168 VK_TAB SHIFT ^[[Z
1169 VK_ESCAPE ^[
1170
1171 [END keymap]
1172
1173 ;****************************************************************************
1174 ;****************************************************************************
1175 ;*** Ukranian keyboard ***
1176 ;****************************************************************************
1177 ;****************************************************************************
1178 [keymap koi8u]
1179
1180 ; I prefer this
1181 VK_2 SHIFT "
1182 VK_2 CAPSLOCK+SHIFT "
1183 VK_4 SHIFT ;
1184 VK_4 CAPSLOCK+SHIFT ;
1185 VK_5 SHIFT %
1186 VK_5 CAPSLOCK+SHIFT %
1187 VK_6 SHIFT :
1188 VK_6 CAPSLOCK+SHIFT :
1189 VK_7 SHIFT ?
1190 VK_7 CAPSLOCK+SHIFT ?
1191 VK_/ .
1192 VK_/ SHIFT ,
1193 VK_/ CAPSLOCK .
1194 VK_/ CAPSLOCK+SHIFT ,
1195
1196 ; next will be similar to std
1197
1198 ; \xE1 CYRILLIC CAPITAL LETTER A
1199 ; \xC1 CYRILLIC SMALL LETTER A
1200 VK_F \xC1
1201 VK_F SHIFT \xE1
1202 VK_F CAPSLOCK \xE1
1203 VK_F CAPSLOCK+SHIFT \xC1
1204
1205 ; \xE2 CYRILLIC CAPITAL LETTER BE
1206 ; \xC2 CYRILLIC SMALL LETTER BE
1207 VK_, \xc2
1208 VK_, SHIFT \xe2
1209 VK_, CAPSLOCK \xe2
1210 VK_, CAPSLOCK+SHIFT \xc2
1211
1212 ; \xB6 CYRILLIC CAPITAL LETTER BELORUSSIAN-UKRAINIAN I
1213 ; \xA6 CYRILLIC SMALL LETTER BELORUSSIAN-UKRAINIAN I
1214 VK_S \xa6
1215 VK_S SHIFT \xb6
1216 VK_S CAPSLOCK \xb6
1217 VK_S CAPSLOCK+SHIFT \xa6
1218
1219 ; \xFE CYRILLIC CAPITAL LETTER CHE
1220 ; \xDE CYRILLIC SMALL LETTER CHE
1221 VK_X \xde
1222 VK_X SHIFT \xfe
1223 VK_X CAPSLOCK \xfe
1224 VK_X CAPSLOCK+SHIFT \xde
1225
1226 ; \xE4 CYRILLIC CAPITAL LETTER DE
1227 ; \xC4 CYRILLIC SMALL LETTER DE
1228 VK_L \xc4
1229 VK_L SHIFT \xe4
1230 VK_L CAPSLOCK \xe4
1231 VK_L CAPSLOCK+SHIFT \xc4
1232
1233 ; \xE6 CYRILLIC CAPITAL LETTER EF
1234 ; \xC6 CYRILLIC SMALL LETTER EF
1235 VK_A \xc6
1236 VK_A SHIFT \xe6
1237 VK_A CAPSLOCK \xe6
1238 VK_A CAPSLOCK+SHIFT \xc6
1239
1240 ; \xEC CYRILLIC CAPITAL LETTER EL
1241 ; \xCC CYRILLIC SMALL LETTER EL
1242 VK_K \xcc
1243 VK_K SHIFT \xec
1244 VK_K CAPSLOCK \xec
1245 VK_K CAPSLOCK+SHIFT \xcc
1246
1247 ; \xED CYRILLIC CAPITAL LETTER EM
1248 ; \xCD CYRILLIC SMALL LETTER EM
1249 VK_V \xcd
1250 VK_V SHIFT \xed
1251 VK_V CAPSLOCK \xed
1252 VK_V CAPSLOCK+SHIFT \xcd
1253
1254 ; \xEE CYRILLIC CAPITAL LETTER EN
1255 ; \xCE CYRILLIC SMALL LETTER EN
1256 VK_Y \xce
1257 VK_Y SHIFT \xee
1258 VK_Y CAPSLOCK \xee
1259 VK_Y CAPSLOCK+SHIFT \xce
1260
1261 ; \xF2 CYRILLIC CAPITAL LETTER ER
1262 ; \xD2 CYRILLIC SMALL LETTER ER
1263 VK_H \xd2
1264 VK_H SHIFT \xf2
1265 VK_H CAPSLOCK \xf2
1266 VK_H CAPSLOCK+SHIFT \xd2
1267
1268 ; \xF3 CYRILLIC CAPITAL LETTER ES
1269 ; \xD3 CYRILLIC SMALL LETTER ES
1270 VK_C \xd3
1271 VK_C SHIFT \xf3
1272 VK_C CAPSLOCK \xf3
1273 VK_C CAPSLOCK+SHIFT \xd3
1274
1275 ; \xE7 CYRILLIC CAPITAL LETTER GE
1276 ; \xC7 CYRILLIC SMALL LETTER GE
1277 VK_U \xc7
1278 VK_U SHIFT \xe7
1279 VK_U CAPSLOCK \xe7
1280 VK_U CAPSLOCK+SHIFT \xc7
1281
1282 ; \xF1 CYRILLIC CAPITAL LETTER IA
1283 ; \xD1 CYRILLIC SMALL LETTER IA
1284 VK_Z \xd1
1285 VK_Z SHIFT \xf1
1286 VK_Z CAPSLOCK \xf1
1287 VK_Z CAPSLOCK+SHIFT \xd1
1288
1289 ; \xE5 CYRILLIC CAPITAL LETTER IE
1290 ; \xC5 CYRILLIC SMALL LETTER IE
1291 VK_T \xc5
1292 VK_T SHIFT \xe5
1293 VK_T CAPSLOCK \xe5
1294 VK_T CAPSLOCK+SHIFT \xc5
1295
1296 ; \xE9 CYRILLIC CAPITAL LETTER II
1297 ; \xC9 CYRILLIC SMALL LETTER II
1298 VK_B \xc9
1299 VK_B SHIFT \xe9
1300 VK_B CAPSLOCK \xe9
1301 VK_B CAPSLOCK+SHIFT \xc9
1302
1303 ; \xE0 CYRILLIC CAPITAL LETTER IU
1304 ; \xC0 CYRILLIC SMALL LETTER IU
1305 VK_. \xc0
1306 VK_. SHIFT \xe0
1307 VK_. CAPSLOCK \xe0
1308 VK_. CAPSLOCK+SHIFT \xc0
1309
1310 ; \xEB CYRILLIC CAPITAL LETTER KA
1311 ; \xCB CYRILLIC SMALL LETTER KA
1312 VK_R \xcb
1313 VK_R SHIFT \xeb
1314 VK_R CAPSLOCK \xeb
1315 VK_R CAPSLOCK+SHIFT \xcb
1316
1317 ; \xE8 CYRILLIC CAPITAL LETTER KHA
1318 ; \xC8 CYRILLIC SMALL LETTER KHA
1319 VK_[ \xc8
1320 VK_[ SHIFT \xe8
1321 VK_[ CAPSLOCK \xE8
1322 VK_[ CAPSLOCK+SHIFT \xC8
1323
1324 ; \xEF CYRILLIC CAPITAL LETTER O
1325 ; \xCF CYRILLIC SMALL LETTER O
1326 VK_J \xcf
1327 VK_J SHIFT \xef
1328 VK_J CAPSLOCK \xef
1329 VK_J CAPSLOCK+SHIFT \xcf
1330
1331 ; \xF0 CYRILLIC CAPITAL LETTER PE
1332 ; \xD0 CYRILLIC SMALL LETTER PE
1333 VK_G \xd0
1334 VK_G SHIFT \xf0
1335 VK_G CAPSLOCK \xf0
1336 VK_G CAPSLOCK+SHIFT \xd0
1337
1338 ; \xFB CYRILLIC CAPITAL LETTER SHA
1339 ; \xDB CYRILLIC SMALL LETTER SHA
1340 VK_I \xdb
1341 VK_I SHIFT \xfb
1342 VK_I CAPSLOCK \xfb
1343 VK_I CAPSLOCK+SHIFT \xdb
1344
1345 ; \xFD CYRILLIC CAPITAL LETTER SHCHA
1346 ; \xDD CYRILLIC SMALL LETTER SHCHA
1347 VK_O \xdd
1348 VK_O SHIFT \xfd
1349 VK_O CAPSLOCK \xfd
1350 VK_O CAPSLOCK+SHIFT \xdd
1351
1352 ; \xEA CYRILLIC CAPITAL LETTER SHORT II
1353 ; \xCA CYRILLIC SMALL LETTER SHORT II
1354 VK_Q \xca
1355 VK_Q SHIFT \xea
1356 VK_Q CAPSLOCK \xea
1357 VK_Q CAPSLOCK+SHIFT \xca
1358
1359 ; \xF8 CYRILLIC CAPITAL LETTER SOFT SIGN
1360 ; \xD8 CYRILLIC SMALL LETTER SOFT SIGN
1361 VK_M \xd8
1362 VK_M SHIFT \xf8
1363 VK_M CAPSLOCK \xf8
1364 VK_M CAPSLOCK+SHIFT \xd8
1365
1366 ; \xF4 CYRILLIC CAPITAL LETTER TE
1367 ; \xD4 CYRILLIC SMALL LETTER TE
1368 VK_N \xd4
1369 VK_N SHIFT \xf4
1370 VK_N CAPSLOCK \xf4
1371 VK_N CAPSLOCK+SHIFT \xd4
1372
1373 ; \xE3 CYRILLIC CAPITAL LETTER TSE
1374 ; \xC3 CYRILLIC SMALL LETTER TSE
1375 VK_W \xc3
1376 VK_W SHIFT \xe3
1377 VK_W CAPSLOCK \xe3
1378 VK_W CAPSLOCK+SHIFT \xc3
1379
1380 ; \xF5 CYRILLIC CAPITAL LETTER U
1381 ; \xD5 CYRILLIC SMALL LETTER U
1382 VK_E \xd5
1383 VK_E SHIFT \xf5
1384 VK_E CAPSLOCK \xf5
1385 VK_E CAPSLOCK+SHIFT \xd5
1386
1387 ; \xBD CYRILLIC CAPITAL LETTER UKRAINIAN GHE (UPTURN)
1388 ; \xAD CYRILLIC SMALL LETTER UKRAINIAN GHE (UPTURN)
1389 ; not realized because not too many words use it, use GHE for it
1390
1391 ; \xB4 CYRILLIC CAPITAL LETTER UKRAINIAN IE
1392 ; \xA4 CYRILLIC SMALL LETTER UKRAINIAN IE
1393 VK_' \xa4
1394 VK_' SHIFT \xb4
1395 VK_' CAPSLOCK \xb4
1396 VK_' CAPSLOCK+SHIFT \xa4
1397
1398 ; \xF7 CYRILLIC CAPITAL LETTER VE
1399 ; \xD7 CYRILLIC SMALL LETTER VE
1400 VK_D \xd7
1401 VK_D SHIFT \xf7
1402 VK_D CAPSLOCK \xf7
1403 VK_D CAPSLOCK+SHIFT \xd7
1404
1405 ; \xB7 CYRILLIC CAPITAL LETTER YI (UKRAINIAN)
1406 ; \xA7 CYRILLIC SMALL LETTER YI (UKRAINIAN)
1407 VK_] \xa7
1408 VK_] SHIFT \xb7
1409 VK_] CAPSLOCK \xb7
1410 VK_] CAPSLOCK+SHIFT \xa7
1411
1412 ; \xFA CYRILLIC CAPITAL LETTER ZE
1413 ; \xDA CYRILLIC SMALL LETTER ZE
1414 VK_P \xda
1415 VK_P SHIFT \xfa
1416 VK_P CAPSLOCK \xfa
1417 VK_P CAPSLOCK+SHIFT \xda
1418
1419 ; \xF6 CYRILLIC CAPITAL LETTER ZHE
1420 ; \xD6 CYRILLIC SMALL LETTER ZHE
1421 VK_; \xd6
1422 VK_; SHIFT \xf6
1423 VK_; CAPSLOCK \xf6
1424 VK_; CAPSLOCK+SHIFT \xd6
1425
1426 [END keymap] // koi8u
1427
1428 [keymap koi8r]
1429 ;****************************************************************************
1430 ;****************************************************************************
1431 ;*** Russian keyboard. ***
1432 ;*** ***
1433 ;*** there are only differents from koi8u, so use ***
1434 ;*** it as 'keymap koi8u + koi8r' ***
1435 ;****************************************************************************
1436 ;****************************************************************************
1437
1438 ; \xFF CYRILLIC CAPITAL LETTER HARD SIGN
1439 ; \xDF CYRILLIC SMALL LETTER HARD SIGN
1440 VK_] \xdf
1441 VK_] SHIFT \xff
1442 VK_] CAPSLOCK \xff
1443 VK_] CAPSLOCK+SHIFT \xdf
1444
1445 ; \xB3 CYRILLIC CAPITAL LETTER IO
1446 ; \xA3 CYRILLIC SMALL LETTER IO
1447 VK_` \xa3
1448 VK_` SHIFT \xb3
1449 VK_` CAPSLOCK \xb3
1450 VK_` CAPSLOCK+SHIFT \xa3
1451
1452 ; \xFC CYRILLIC CAPITAL LETTER REVERSED E
1453 ; \xDC CYRILLIC SMALL LETTER REVERSED E
1454 VK_' \xdc
1455 VK_' SHIFT \xfc
1456 VK_' CAPSLOCK \xfc
1457 VK_' CAPSLOCK+SHIFT \xdc
1458
1459 ; \xF9 CYRILLIC CAPITAL LETTER YERI
1460 ; \xD9 CYRILLIC SMALL LETTER YERI
1461 VK_S \xd9
1462 VK_S SHIFT \xf9
1463 VK_S CAPSLOCK \xf9
1464 VK_S CAPSLOCK+SHIFT \xd9
1465
1466 [END keymap] // koi8r
1467
1468 ;****************************************************************************
1469 ;****************************************************************************
1470 ;*** Russian keyboard IBM PC-866 ***
1471 ;*** ***
1472 ;*** Dmitry Lapenkov <dl@bis.ru> ***
1473 ;****************************************************************************
1474 ;****************************************************************************
1475 [keymap ibm866]
1476
1477 VK_` )
1478 VK_` SHIFT (
1479 VK_` CAPSLOCK (
1480 VK_` CAPSLOCK+SHIFT )
1481 VK_2 SHIFT "
1482 VK_2 CAPSLOCK+SHIFT "
1483 VK_3 SHIFT /
1484 VK_3 CAPSLOCK+SHIFT /
1485 VK_4 SHIFT \xfc
1486 VK_4 CAPSLOCK+SHIFT \xfc
1487 VK_5 SHIFT :
1488 VK_5 CAPSLOCK+SHIFT :
1489 VK_6 SHIFT ,
1490 VK_6 CAPSLOCK+SHIFT ,
1491 VK_7 SHIFT .
1492 VK_7 CAPSLOCK+SHIFT .
1493 VK_8 SHIFT ;
1494 VK_8 CAPSLOCK+SHIFT ;
1495 VK_9 SHIFT ?
1496 VK_9 CAPSLOCK+SHIFT ?
1497 VK_0 SHIFT %
1498 VK_0 CAPSLOCK+SHIFT %
1499
1500 ; 128 CYRILLIC CAPITAL LETTER A
1501 ; 160 CYRILLIC SMALL LETTER A
1502 VK_F \160
1503 VK_F SHIFT \128
1504 VK_F CAPSLOCK \128
1505 VK_F CAPSLOCK+SHIFT \160
1506
1507 ; 129 CYRILLIC CAPITAL LETTER BE
1508 ; 161 CYRILLIC SMALL LETTER BE
1509 VK_, \161
1510 VK_, SHIFT \129
1511 VK_, CAPSLOCK \129
1512 VK_, CAPSLOCK+SHIFT \161
1513
1514 ; 240 CYRILLIC CAPITAL LETTER SHORT YO
1515 ; 241 CYRILLIC SMALL LETTER SHORT YO
1516 VK_/ \241
1517 VK_/ SHIFT \240
1518 VK_/ CAPSLOCK \240
1519 VK_/ CAPSLOCK+SHIFT \241
1520
1521 ; 157 CYRILLIC CAPITAL LETTER REVERSED E
1522 ; 237 CYRILLIC SMALL LETTER REVERSED E
1523 VK_' \237
1524 VK_' SHIFT \157
1525 VK_' CAPSLOCK \157
1526 VK_' CAPSLOCK+SHIFT \237
1527
1528 ; 155 CYRILLIC CAPITAL LETTER YERI
1529 ; 235 CYRILLIC SMALL LETTER YERI
1530 VK_S \235
1531 VK_S SHIFT \155
1532 VK_S CAPSLOCK \155
1533 VK_S CAPSLOCK+SHIFT \235
1534
1535 ; 151 CYRILLIC CAPITAL LETTER CHE
1536 ; 231 CYRILLIC SMALL LETTER CHE
1537 VK_X \231
1538 VK_X SHIFT \151
1539 VK_X CAPSLOCK \151
1540 VK_X CAPSLOCK+SHIFT \231
1541
1542 ; 132 CYRILLIC CAPITAL LETTER DE
1543 ; 164 CYRILLIC SMALL LETTER DE
1544 VK_L \164
1545 VK_L SHIFT \132
1546 VK_L CAPSLOCK \132
1547 VK_L CAPSLOCK+SHIFT \164
1548
1549 ; 148 CYRILLIC CAPITAL LETTER EF
1550 ; 228 CYRILLIC SMALL LETTER EF
1551 VK_A \228
1552 VK_A SHIFT \148
1553 VK_A CAPSLOCK \148
1554 VK_A CAPSLOCK+SHIFT \228
1555
1556 ; 139 CYRILLIC CAPITAL LETTER EL
1557 ; 171 CYRILLIC SMALL LETTER EL
1558 VK_K \171
1559 VK_K SHIFT \139
1560 VK_K CAPSLOCK \139
1561 VK_K CAPSLOCK+SHIFT \171
1562
1563 ; 140 CYRILLIC CAPITAL LETTER EM
1564 ; 172 CYRILLIC SMALL LETTER EM
1565 VK_V \172
1566 VK_V SHIFT \140
1567 VK_V CAPSLOCK \140
1568 VK_V CAPSLOCK+SHIFT \172
1569
1570 ; 141 CYRILLIC CAPITAL LETTER EN
1571 ; 173 CYRILLIC SMALL LETTER EN
1572 VK_Y \173
1573 VK_Y SHIFT \141
1574 VK_Y CAPSLOCK \141
1575 VK_Y CAPSLOCK+SHIFT \173
1576
1577 ; 144 CYRILLIC CAPITAL LETTER ER
1578 ; 224 CYRILLIC SMALL LETTER ER
1579 VK_H \224
1580 VK_H SHIFT \144
1581 VK_H CAPSLOCK \144
1582 VK_H CAPSLOCK+SHIFT \224
1583
1584 ; 145 CYRILLIC CAPITAL LETTER ES
1585 ; 225 CYRILLIC SMALL LETTER ES
1586 VK_C \225
1587 VK_C SHIFT \145
1588 VK_C CAPSLOCK \145
1589 VK_C CAPSLOCK+SHIFT \225
1590
1591 ; 131 CYRILLIC CAPITAL LETTER GE
1592 ; 163 CYRILLIC SMALL LETTER GE
1593 VK_U \163
1594 VK_U SHIFT \131
1595 VK_U CAPSLOCK \131
1596 VK_U CAPSLOCK+SHIFT \163
1597
1598 ; 159 CYRILLIC CAPITAL LETTER YA
1599 ; 239 CYRILLIC SMALL LETTER YA
1600 VK_Z \239
1601 VK_Z SHIFT \159
1602 VK_Z CAPSLOCK \159
1603 VK_Z CAPSLOCK+SHIFT \239
1604
1605 ; 133 CYRILLIC CAPITAL LETTER IE
1606 ; 165 CYRILLIC SMALL LETTER IE
1607 VK_T \165
1608 VK_T SHIFT \133
1609 VK_T CAPSLOCK \133
1610 VK_T CAPSLOCK+SHIFT \165
1611
1612 ; 136 CYRILLIC CAPITAL LETTER II
1613 ; 168 CYRILLIC SMALL LETTER II
1614 VK_B \168
1615 VK_B SHIFT \136
1616 VK_B CAPSLOCK \136
1617 VK_B CAPSLOCK+SHIFT \168
1618
1619 ; 158 CYRILLIC CAPITAL LETTER YU
1620 ; 238 CYRILLIC SMALL LETTER YU
1621 VK_. \238
1622 VK_. SHIFT \158
1623 VK_. CAPSLOCK \158
1624 VK_. CAPSLOCK+SHIFT \238
1625
1626 ; 138 CYRILLIC CAPITAL LETTER KA
1627 ; 170 CYRILLIC SMALL LETTER KA
1628 VK_R \170
1629 VK_R SHIFT \138
1630 VK_R CAPSLOCK \138
1631 VK_R CAPSLOCK+SHIFT \170
1632
1633 ; 149 CYRILLIC CAPITAL LETTER KHA
1634 ; 229 CYRILLIC SMALL LETTER KHA
1635 VK_[ \229
1636 VK_[ SHIFT \149
1637 VK_[ CAPSLOCK \149
1638 VK_[ CAPSLOCK+SHIFT \229
1639
1640 ; 142 CYRILLIC CAPITAL LETTER O
1641 ; 174 CYRILLIC SMALL LETTER O
1642 VK_J \174
1643 VK_J SHIFT \142
1644 VK_J CAPSLOCK \142
1645 VK_J CAPSLOCK+SHIFT \174
1646
1647 ; 143 CYRILLIC CAPITAL LETTER PE
1648 ; 175 CYRILLIC SMALL LETTER PE
1649 VK_G \175
1650 VK_G SHIFT \143
1651 VK_G CAPSLOCK \143
1652 VK_G CAPSLOCK+SHIFT \175
1653
1654 ; 152 CYRILLIC CAPITAL LETTER SHA
1655 ; 232 CYRILLIC SMALL LETTER SHA
1656 VK_I \232
1657 VK_I SHIFT \152
1658 VK_I CAPSLOCK \152
1659 VK_I CAPSLOCK+SHIFT \232
1660
1661 ; 153 CYRILLIC CAPITAL LETTER SHCHA
1662 ; 233 CYRILLIC SMALL LETTER SHCHA
1663 VK_O \233
1664 VK_O SHIFT \153
1665 VK_O CAPSLOCK \153
1666 VK_O CAPSLOCK+SHIFT \233
1667
1668 ; 137 CYRILLIC CAPITAL LETTER SHORT II
1669 ; 169 CYRILLIC SMALL LETTER SHORT II
1670 VK_Q \169
1671 VK_Q SHIFT \137
1672 VK_Q CAPSLOCK \137
1673 VK_Q CAPSLOCK+SHIFT \169
1674
1675 ; 156 CYRILLIC CAPITAL LETTER SOFT SIGN
1676 ; 236 CYRILLIC SMALL LETTER SOFT SIGN
1677 VK_M \236
1678 VK_M SHIFT \156
1679 VK_M CAPSLOCK \156
1680 VK_M CAPSLOCK+SHIFT \236
1681
1682 ; 146 CYRILLIC CAPITAL LETTER TE
1683 ; 226 CYRILLIC SMALL LETTER TE
1684 VK_N \226
1685 VK_N SHIFT \146
1686 VK_N CAPSLOCK \146
1687 VK_N CAPSLOCK+SHIFT \226
1688
1689 ; 150 CYRILLIC CAPITAL LETTER TSE
1690 ; \230 CYRILLIC SMALL LETTER TSE
1691 VK_W \230
1692 VK_W SHIFT \150
1693 VK_W CAPSLOCK \150
1694 VK_W CAPSLOCK+SHIFT \230
1695
1696 ; 147 CYRILLIC CAPITAL LETTER U
1697 ; 227 CYRILLIC SMALL LETTER U
1698 VK_E \227
1699 VK_E SHIFT \147
1700 VK_E CAPSLOCK \147
1701 VK_E CAPSLOCK+SHIFT \227
1702
1703 ; 130 CYRILLIC CAPITAL LETTER VE
1704 ; 162 CYRILLIC SMALL LETTER VE
1705 VK_D \162
1706 VK_D SHIFT \130
1707 VK_D CAPSLOCK \130
1708 VK_D CAPSLOCK+SHIFT \162
1709
1710 ; 154 CYRILLIC CAPITAL LETTER HARD SIGN
1711 ; 234 CYRILLIC SMALL LETTER HARD SIGN
1712 VK_] \234
1713 VK_] SHIFT \154
1714 VK_] CAPSLOCK \154
1715 VK_] CAPSLOCK+SHIFT \234
1716
1717 ; 135 CYRILLIC CAPITAL LETTER ZE
1718 ; 167 CYRILLIC SMALL LETTER ZE
1719 VK_P \167
1720 VK_P SHIFT \135
1721 VK_P CAPSLOCK \135
1722 VK_P CAPSLOCK+SHIFT \167
1723
1724 ; 134 CYRILLIC CAPITAL LETTER ZHE
1725 ; 166 CYRILLIC SMALL LETTER ZHE
1726 VK_; \166
1727 VK_; SHIFT \134
1728 VK_; CAPSLOCK \134
1729 VK_; CAPSLOCK+SHIFT \166
1730
1731 [END keymap] // ibm866
1732
1733 [keymap swedish]
1734 ; ae Swedish A with dots
1735 VK_A \228
1736 VK_A SHIFT \196
1737 VK_A CAPSLOCK \196
1738 VK_A CAPSLOCK+SHIFT \228
1739
1740 ; aa Swedish A with circle
1741 VK_A RIGHT_ALT \229
1742 VK_A RIGHT_ALT+SHIFT \196
1743 VK_A RIGHT_ALT+CAPSLOCK \196
1744 VK_A RIGHT_ALT+CAPSLOCK+SHIFT \229
1745 VK_A LEFT_ALT \229
1746 VK_A LEFT_ALT+SHIFT \196
1747 VK_A LEFT_ALT+CAPSLOCK \196
1748 VK_A LEFT_ALT+CAPSLOCK+SHIFT \229
1749
1750 ; oe (Swedish O with dots)
1751 VK_O \246
1752 VK_O SHIFT \214
1753 VK_O CAPSLOCK \214
1754 VK_O CAPSLOCK+SHIFT \246
1755
1756 [END keymap] // swedish
1757
1758 [keymap uk]
1759 ; The following entries are thanks to Kirschke Guido <gkirschke@sbmv.ch>
1760 ;
1761 VK_` " // dosen't work
1762 VK_` SHIFT !
1763 VK_` RIGHT_ALT ]
1764 ;
1765 VK_0 SHIFT =
1766 VK_0 CAPSLOCK 0
1767 VK_0 CAPSLOCK+SHIFT =
1768 ;
1769 VK_1 RIGHT_ALT Ý
1770 VK_1 SHIFT +
1771 VK_1 CAPSLOCK 1
1772 VK_1 CAPSLOCK+SHIFT +
1773 ;
1774 VK_2 RIGHT_ALT @
1775 VK_2 SHIFT "
1776 VK_2 CAPSLOCK 2
1777 VK_2 CAPSLOCK+SHIFT "
1778 ;
1779 VK_3 RIGHT_ALT #
1780 VK_3 SHIFT *
1781 VK_3 CAPSLOCK 3
1782 VK_3 CAPSLOCK+SHIFT *
1783 ;
1784 VK_4 SHIFT \87
1785 VK_4 CAPSLOCK 4
1786 VK_4 CAPSLOCK+SHIFT \87 // dosen't work
1787 ;
1788 VK_5 SHIFT %
1789 VK_5 CAPSLOCK 5
1790 VK_5 CAPSLOCK+SHIFT %
1791 ;
1792 VK_6 RIGHT_ALT ª
1793 VK_6 SHIFT &
1794 VK_6 CAPSLOCK 6
1795 VK_6 CAPSLOCK+SHIFT &
1796 ;
1797 VK_7 RIGHT_ALT |
1798 VK_7 SHIFT /
1799 VK_7 CAPSLOCK 7
1800 VK_7 CAPSLOCK+SHIFT /
1801 ;
1802 VK_8 RIGHT_ALT \9b
1803 VK_8 SHIFT (
1804 VK_8 CAPSLOCK 8
1805 VK_8 CAPSLOCK+SHIFT (
1806 ;
1807 VK_9 SHIFT )
1808 VK_9 CAPSLOCK 9
1809 VK_9 CAPSLOCK+SHIFT )
1810 VK_; CAPSLOCK \9a // dosen't work
1811 VK_; CAPSLOCK+SHIFT E // dosen't work
1812 VK_' CAPSLOCK+SHIFT ?
1813 VK_, CAPSLOCK+SHIFT ;
1814 VK_. CAPSLOCK+SHIFT :
1815 VK_/ CAPSLOCK+SHIFT _
1816 [END keymap]
1817
1818 [keymap german]
1819
1820 ;****************************************************************************
1821 ;****************************************************************************
1822 ;*** German keyboard. ***
1823 ;***
1824 ;****************************************************************************
1825 ;****************************************************************************
1826 ; This keymap used on top the keyb gr driver / CP 850
1827
1828 VK_7 RIGHT_ALT {
1829 VK_8 RIGHT_ALT [
1830 VK_9 RIGHT_ALT ]
1831 VK_0 RIGHT_ALT }
1832 VK_\ ^
1833 VK_6 SHIFT &
1834 ; \99 und \94
1835 VK_` \148
1836 VK_` SHIFT \153
1837 ; Gravis- /Akut-Akzent
1838 VK_] \039
1839 VK_] SHIFT \096
1840
1841 [END keymap] // german
1842
1843 ;===================================================================
1844 ; Czech keyboard definition for use with CP852
1845 ; Add to your AUTOEXEC.BAT
1846 ; mode con codepage prepare=((852) C:\WINDOWS\COMMAND\ega.cpi)
1847 ; mode con codepage select=852
1848 ; keyb cz,,C:\WINDOWS\COMMAND\keybrd2.sys
1849 ;
1850 ; This keyboard driver allows to change US/CZ keyboard by pressing
1851 ; CTRL+ALT+F1 / CTRL+ALT+F2 and is present in W9x installation.
1852 ;
1853 ; Jakub Sterba <sterba@nlk.anet.cz> Mar-2000 Prague, Czech republic
1854 ;===================================================================
1855
1856 [keymap czech-cz]
1857 VK_BACK \127
1858 VK_= \000
1859 VK_= SHIFT \000
1860 [END keymap]
1861
1862 [keymap czech-en]
1863 VK_BACK \127
1864 VK_= =
1865 VK_= SHIFT \043
1866 [END keymap]
1867
1868 ;######################################################################
1869 ; Spanish Keyborad Definition
1870 ;
1871 ; I started from ansi definition, and I had to comment several lines
1872 ; and add a few more.
1873 ;######################################################################
1874
1875 [keymap sp]
1876
1877 ;-- These lines are from original <ansi> emulation
1878
1879 VK_F1 ^[[M
1880 VK_F2 ^[[N
1881 VK_F3 ^[[O
1882 VK_F4 ^[[P
1883 VK_F5 ^[[Q
1884 VK_F6 ^[[R
1885 VK_F7 ^[[S
1886 VK_F8 ^[[T
1887 VK_F9 ^[[U
1888 VK_F10 ^[[V
1889 VK_F11 ^[[W
1890 VK_F12 ^[[X
1891
1892 ;-- These lines were added : CAPSLOCK status is not relevant
1893 ;-- for Function Keys
1894 ;
1895 ;-- CAPSLOCK ON or OFF : every key must send same sequence
1896 VK_F1 CAPSLOCK ^[[M
1897 VK_F2 CAPSLOCK ^[[N
1898 VK_F3 CAPSLOCK ^[[O
1899 VK_F4 CAPSLOCK ^[[P
1900 VK_F5 CAPSLOCK ^[[Q
1901 VK_F6 CAPSLOCK ^[[R
1902 VK_F7 CAPSLOCK ^[[S
1903 VK_F8 CAPSLOCK ^[[T
1904 VK_F9 CAPSLOCK ^[[U
1905 VK_F10 CAPSLOCK ^[[V
1906 VK_F11 CAPSLOCK ^[[W
1907 VK_F12 CAPSLOCK ^[[X
1908
1909 ;-- These lines are from original <ansi> emulation
1910 VK_F1 SHIFT ^[[Y
1911 VK_F2 SHIFT ^[[Z
1912 VK_F3 SHIFT ^[[a
1913 VK_F4 SHIFT ^[[b
1914 VK_F5 SHIFT ^[[c
1915 VK_F6 SHIFT ^[[d
1916 VK_F7 SHIFT ^[[e
1917 VK_F8 SHIFT ^[[f
1918 VK_F9 SHIFT ^[[g
1919 VK_F10 SHIFT ^[[h
1920 VK_F11 SHIFT ^[[i
1921 VK_F12 SHIFT ^[[j
1922 VK_F1 RIGHT_CTRL ^[[k
1923 VK_F2 RIGHT_CTRL ^[[l
1924 VK_F3 RIGHT_CTRL ^[[m
1925 VK_F4 RIGHT_CTRL ^[[n
1926 VK_F5 RIGHT_CTRL ^[[o
1927 VK_F6 RIGHT_CTRL ^[[p
1928 VK_F7 RIGHT_CTRL ^[[q
1929 VK_F8 RIGHT_CTRL ^[[r
1930 VK_F9 RIGHT_CTRL ^[[s
1931 VK_F10 RIGHT_CTRL ^[[t
1932 VK_F11 RIGHT_CTRL ^[[y
1933 VK_F12 RIGHT_CTRL ^[[v
1934 VK_F1 LEFT_CTRL ^[[k
1935 VK_F2 LEFT_CTRL ^[[l
1936 VK_F3 LEFT_CTRL ^[[m
1937 VK_F4 LEFT_CTRL ^[[n
1938 VK_F5 LEFT_CTRL ^[[o
1939 VK_F6 LEFT_CTRL ^[[p
1940 VK_F7 LEFT_CTRL ^[[q
1941 VK_F8 LEFT_CTRL ^[[r
1942 VK_F9 LEFT_CTRL ^[[s
1943 VK_F10 LEFT_CTRL ^[[t
1944 VK_F11 LEFT_CTRL ^[[y
1945 VK_F12 LEFT_CTRL ^[[v
1946 ;
1947 ; misc fuctions
1948 ;
1949 ; FIX ME!!! Some people have reported that these keys don't work.
1950 VK_SCROLL \017
1951 VK_PAUSE \019
1952 VK_INSERT ^[[L
1953 VK_DELETE ENHANCED \127
1954 VK_HOME ^[[H
1955 VK_PGUP ^[[I
1956 VK_PGDN ^[[G
1957 VK_END ^[[F
1958
1959 VK_INSERT CAPSLOCK ^[[L
1960 VK_DELETE ENHANCED+CAPSLOCK \127
1961 VK_HOME CAPSLOCK ^[[H
1962 VK_PGUP CAPSLOCK ^[[I
1963 VK_PGDN CAPSLOCK ^[[G
1964 VK_END CAPSLOCK ^[[F
1965
1966 VK_INSERT SHIFT ^[[L
1967 VK_DELETE SHIFT+ENHANCED \127
1968 VK_HOME SHIFT ^[[H
1969 VK_PGUP SHIFT ^[[I
1970 VK_PGDN SHIFT ^[[G
1971 VK_END SHIFT ^[[F
1972 ;
1973 ; arrows
1974 ;
1975 VK_LEFT ^[[D
1976 VK_UP ^[[A
1977 VK_RIGHT ^[[C
1978 VK_DOWN ^[[B
1979
1980 ;-- These lines were added : CAPSLOCK status is not relevant
1981 ;-- for Function Keys
1982 ;
1983 ;-- CAPSLOCK ON or OFF : every key must send same sequence
1984 VK_LEFT CAPSLOCK ^[[D
1985 VK_UP CAPSLOCK ^[[A
1986 VK_RIGHT CAPSLOCK ^[[C
1987 VK_DOWN CAPSLOCK ^[[B
1988
1989 ;-- These lines are from original <ansi> emulation
1990 VK_LEFT SHIFT ^[[D
1991 VK_UP SHIFT ^[[A
1992 VK_RIGHT SHIFT ^[[C
1993 VK_DOWN SHIFT ^[[B
1994 ;
1995 ; just in case !!!
1996 ;
1997 VK_ESCAPE SHIFT \027
1998 VK_TAB \009
1999 VK_TAB SHIFT ^[[Z^[[Z
2000 ;
2001 ;---------------------------------------
2002 ; Athens 30/03/97 10:55pm GMT+2
2003 ; Correction for Win95
2004 ;
2005 VK_6 SHIFT \094
2006
2007 ;-- These lines were commented for <¥> support
2008 ;VK_` \164
2009 ;VK_` SHIFT \164
2010
2011
2012 VK_0 CAPSLOCK 0
2013 VK_1 CAPSLOCK 1
2014 VK_2 CAPSLOCK 2
2015 VK_3 CAPSLOCK 3
2016 VK_4 CAPSLOCK 4
2017 VK_5 CAPSLOCK 5
2018 VK_6 CAPSLOCK 6
2019 VK_7 CAPSLOCK 7
2020 VK_8 CAPSLOCK 8
2021 VK_9 CAPSLOCK 9
2022 VK_ESCAPE CAPSLOCK \027
2023
2024 ;-- This line was commented for <¥> support
2025 ;VK_` CAPSLOCK \164
2026
2027 VK_= CAPSLOCK +
2028 VK_- CAPSLOCK ­
2029 VK_\ CAPSLOCK \
2030 VK_[ CAPSLOCK [
2031 VK_] CAPSLOCK ]
2032 VK_; CAPSLOCK `
2033 VK_' CAPSLOCK '
2034 VK_, CAPSLOCK ,
2035 VK_. CAPSLOCK .
2036 VK_/ CAPSLOCK /
2037 VK_0 CAPSLOCK+SHIFT =
2038 VK_1 CAPSLOCK+SHIFT !
2039 VK_2 CAPSLOCK+SHIFT "
2040 VK_3 CAPSLOCK+SHIFT ú
2041 VK_4 CAPSLOCK+SHIFT $
2042 VK_5 CAPSLOCK+SHIFT %
2043 VK_6 CAPSLOCK+SHIFT &
2044 VK_7 CAPSLOCK+SHIFT /
2045 VK_8 CAPSLOCK+SHIFT (
2046 VK_9 CAPSLOCK+SHIFT )
2047 VK_ESCAPE CAPSLOCK+SHIFT \027
2048
2049 ;-- This line was commented for <¥> support
2050 ;VK_` CAPSLOCK+SHIFT \164
2051
2052 VK_= CAPSLOCK+SHIFT ¨
2053 VK_- CAPSLOCK+SHIFT ¨
2054 VK_\ CAPSLOCK+SHIFT |
2055 VK_[ CAPSLOCK+SHIFT ?
2056 VK_] CAPSLOCK+SHIFT ¨
2057 VK_; CAPSLOCK+SHIFT ^
2058 VK_' CAPSLOCK+SHIFT "
2059 VK_, CAPSLOCK+SHIFT <
2060 VK_. CAPSLOCK+SHIFT >
2061 VK_/ CAPSLOCK+SHIFT ?
2062 ;
2063 ;
2064 ;---------------------------------------
2065 ;
2066 ; These are for use with Midnight Commander
2067 ; they map Meta key to ALT (Like Linux console, nice isn't it ? )
2068 ;
2069
2070
2071 ;-- These lines were commented.
2072 ;-- This way keyyboard represents <|> <@> <#> and so on ;
2073 ;VK_0 RIGHT_ALT ^[0
2074 ;VK_1 RIGHT_ALT ^[1
2075 ;VK_2 RIGHT_ALT ^[2
2076 ;VK_3 RIGHT_ALT ^[3
2077 ;VK_4 RIGHT_ALT ^[4
2078 ;VK_5 RIGHT_ALT ^[5
2079 ;VK_6 RIGHT_ALT ^[6
2080 ;VK_7 RIGHT_ALT ^[7
2081 ;VK_8 RIGHT_ALT ^[8
2082 ;VK_9 RIGHT_ALT ^[9
2083 ;VK_A RIGHT_ALT ^[A
2084 ;VK_B RIGHT_ALT ^[B
2085 ;VK_C RIGHT_ALT ^[C
2086 ;VK_D RIGHT_ALT ^[D
2087 ;VK_E RIGHT_ALT ^[E
2088 ;VK_F RIGHT_ALT ^[F
2089 ;VK_G RIGHT_ALT ^[G
2090 ;VK_H RIGHT_ALT ^[H
2091 ;VK_I RIGHT_ALT ^[I
2092 ;VK_J RIGHT_ALT ^[J
2093 ;VK_K RIGHT_ALT ^[K
2094 ;VK_L RIGHT_ALT ^[L
2095 ;VK_M RIGHT_ALT ^[M
2096 ;VK_N RIGHT_ALT ^[N
2097 ;VK_O RIGHT_ALT ^[O
2098 ;VK_P RIGHT_ALT ^[P
2099 ;VK_Q RIGHT_ALT ^[Q
2100 ;VK_R RIGHT_ALT ^[R
2101 ;VK_S RIGHT_ALT ^[S
2102 ;VK_T RIGHT_ALT ^[T
2103 ;VK_U RIGHT_ALT ^[U
2104 ;VK_V RIGHT_ALT ^[V
2105 ;VK_W RIGHT_ALT ^[W
2106 ;VK_X RIGHT_ALT ^[X
2107 ;VK_Y RIGHT_ALT ^[Y
2108 ;VK_Z RIGHT_ALT ^[Z
2109
2110 ;-- These lines are from original <ansi> emulation
2111 VK_0 LEFT_ALT ^[0
2112 VK_1 LEFT_ALT ^[1
2113 VK_2 LEFT_ALT ^[2
2114 VK_3 LEFT_ALT ^[3
2115 VK_4 LEFT_ALT ^[4
2116 VK_5 LEFT_ALT ^[5
2117 VK_6 LEFT_ALT ^[6
2118 VK_7 LEFT_ALT ^[7
2119 VK_8 LEFT_ALT ^[8
2120 VK_9 LEFT_ALT ^[9
2121 VK_A LEFT_ALT ^[a
2122 VK_B LEFT_ALT ^[b
2123 VK_C LEFT_ALT ^[c
2124 VK_D LEFT_ALT ^[d
2125 VK_E LEFT_ALT ^[e
2126 VK_F LEFT_ALT ^[f
2127 VK_G LEFT_ALT ^[g
2128 VK_H LEFT_ALT ^[h
2129 VK_I LEFT_ALT ^[i
2130 VK_J LEFT_ALT ^[j
2131 VK_K LEFT_ALT ^[k
2132 VK_L LEFT_ALT ^[l
2133 VK_M LEFT_ALT ^[m
2134 VK_N LEFT_ALT ^[n
2135 VK_O LEFT_ALT ^[o
2136 VK_P LEFT_ALT ^[p
2137 VK_Q LEFT_ALT ^[q
2138 VK_R LEFT_ALT ^[r
2139 VK_S LEFT_ALT ^[s
2140 VK_T LEFT_ALT ^[t
2141 VK_U LEFT_ALT ^[u
2142 VK_V LEFT_ALT ^[v
2143 VK_W LEFT_ALT ^[w
2144 VK_X LEFT_ALT ^[x
2145 VK_Y LEFT_ALT ^[y
2146 VK_Z LEFT_ALT ^[z
2147 VK_RETURN RIGHT_CTRL ^[^M
2148 VK_RETURN LEFT_CTRL ^[^M
2149 ; It is correct for telnet to send ^J rather than ^M for return.
2150 ; This is noticeable especially when telnetting in to an smtp server.
2151 ; It would be even more correct to send \x010\x000, since that is what
2152 ; the RFC calls for. (Paul Brannan 5/25/98)
2153 VK_RETURN ^M^J
2154 ; This is for application cursor keys (Paul Brannan 5/27/98)
2155 VK_LEFT APP_KEY ^[OD
2156 VK_UP APP_KEY ^[OA
2157 VK_RIGHT APP_KEY ^[OC
2158 VK_DOWN APP_KEY ^[OB
2159 VK_LEFT APP_KEY+SHIFT ^[OD
2160 VK_UP APP_KEY+SHIFT ^[OA
2161 VK_RIGHT APP_KEY+SHIFT ^[OC
2162 VK_DOWN APP_KEY+SHIFT ^[OB
2163 ; APP2_KEY is for VT52 support (Paul Brannan 6/28/98)
2164 VK_LEFT APP2_KEY ^[D
2165 VK_UP APP2_KEY ^[A
2166 VK_RIGHT APP2_KEY ^[C
2167 VK_DOWN APP2_KEY ^[B
2168 VK_LEFT APP2_KEY+SHIFT ^[D
2169 VK_UP APP2_KEY+SHIFT ^[A
2170 VK_RIGHT APP2_KEY+SHIFT ^[C
2171 VK_DOWN APP2_KEY+SHIFT ^[B
2172 VK_F1 APP2_KEY ^[P
2173 VK_F2 APP2_KEY ^[Q
2174 VK_F3 APP2_KEY ^[R
2175 VK_F4 APP2_KEY ^[S
2176 VK_F5 APP2_KEY ^[?w
2177 VK_F6 APP2_KEY ^[?x
2178 VK_F7 APP2_KEY ^[?y
2179 VK_F8 APP2_KEY ^[?m
2180 VK_F9 APP2_KEY ^[?t
2181 VK_F10 APP2_KEY ^[?u
2182 VK_F1 APP2_KEY+SHIFT ^[?v
2183 VK_F2 APP2_KEY+SHIFT ^[?l
2184 VK_F3 APP2_KEY+SHIFT ^[?q
2185 VK_F4 APP2_KEY+SHIFT ^[?r
2186 VK_F5 APP2_KEY+SHIFT ^[?s
2187 VK_F6 APP2_KEY+SHIFT ^[?M
2188 VK_F7 APP2_KEY+SHIFT ^[?p
2189 VK_F8 APP2_KEY+SHIFT ^[?n
2190
2191 ; Fix for the numeric decimal key (Paul Brannan 9/23/98)
2192 VK_DELETE \127
2193 VK_DELETE NUMLOCK .
2194 VK_DELETE NUMLOCK+SHIFT \127
2195
2196 ;-- From this point all definitions are new.
2197 ;
2198 VK_0 RIGHT_ALT \
2199 VK_0 RIGHT_ALT+CAPSLOCK \
2200 VK_0 §
2201 VK_0 SHIFT ¦
2202 VK_0 CAPSLOCK §
2203 VK_0 CAPSLOCK+SHIFT ¦
2204 ;
2205 VK_1 RIGHT_ALT Ý
2206 VK_1 SHIFT !
2207 VK_1 CAPSLOCK 1
2208 VK_1 CAPSLOCK+SHIFT !
2209 ;
2210 VK_2 RIGHT_ALT @
2211 VK_2 SHIFT "
2212 VK_2 CAPSLOCK 2
2213 VK_2 CAPSLOCK+SHIFT "
2214 ;
2215 VK_3 RIGHT_ALT #
2216 VK_3 SHIFT ú
2217 VK_3 CAPSLOCK 3
2218 VK_3 CAPSLOCK+SHIFT ú
2219 ;
2220 VK_4 SHIFT $
2221 VK_4 CAPSLOCK 4
2222 VK_4 CAPSLOCK+SHIFT $
2223 ;
2224 VK_5 SHIFT %
2225 VK_5 CAPSLOCK 5
2226 VK_5 CAPSLOCK+SHIFT %
2227 ;
2228 VK_6 RIGHT_ALT ª
2229 VK_6 SHIFT &
2230 VK_6 CAPSLOCK 6
2231 VK_6 CAPSLOCK+SHIFT &
2232 ;
2233 VK_7 SHIFT /
2234 VK_7 CAPSLOCK 7
2235 VK_7 CAPSLOCK+SHIFT /
2236 ;
2237 VK_8 SHIFT (
2238 VK_8 CAPSLOCK 8
2239 VK_8 CAPSLOCK+SHIFT (
2240 ;
2241 VK_9 SHIFT )
2242 VK_9 CAPSLOCK 9
2243 VK_9 CAPSLOCK+SHIFT )
2244 ;
2245 VK_. CAPSLOCK+SHIFT :
2246 VK_/ CAPSLOCK+SHIFT _
2247 ;
2248 VK_[ '
2249 VK_[ CAPSLOCK '
2250
2251 ;===================================================================
2252 ; End Spanish Keyboard Definition.
2253 ; Cesar Otero jcotero@las.es March-1.999 Ferrol. Coru¤a. SPAIN
2254 ;===================================================================
2255 [END keymap]
2256
2257 [keymap no-numpad]
2258 VK_NUMPAD0 \000
2259 VK_NUMPAD1 \000
2260 VK_NUMPAD2 \000
2261 VK_NUMPAD3 \000
2262 VK_NUMPAD4 \000
2263 VK_NUMPAD5 \000
2264 VK_NUMPAD6 \000
2265 VK_NUMPAD7 \000
2266 VK_NUMPAD8 \000
2267 VK_NUMPAD9 \000
2268 [END keymap]
2269
2270 [charmap koi8u-cp866]
2271 \xE1 \x80 // CYRILLIC CAPITAL LETTER A
2272 \xC1 \xA0 // cyrillic small letter A
2273 \xE2 \x81 // CYRILLIC CAPITAL LETTER BE
2274 \xC2 \xA1 // cyrillic small letter BE
2275 \xB6 \x49 // CYRILLIC CAPITAL LETTER BELORUSSIAN-UKRAINIAN I
2276 \xA6 \x69 // cyrillic small letter BELORUSSIAN-UKRAINIAN I
2277 \xFE \x97 // CYRILLIC CAPITAL LETTER CHE
2278 \xDE \xE7 // cyrillic small letter CHE
2279 \xE4 \x84 // CYRILLIC CAPITAL LETTER DE
2280 \xC4 \xA4 // cyrillic small letter DE
2281 \xE6 \x94 // CYRILLIC CAPITAL LETTER EF
2282 \xC6 \xE4 // cyrillic small letter EF
2283 \xEC \x8B // CYRILLIC CAPITAL LETTER EL
2284 \xCC \xAB // cyrillic small letter EL
2285 \xED \x8C // CYRILLIC CAPITAL LETTER EM
2286 \xCD \xAC // cyrillic small letter EM
2287 \xEE \x8D // CYRILLIC CAPITAL LETTER EN
2288 \xCE \xAD // cyrillic small letter EN
2289 \xF2 \x90 // CYRILLIC CAPITAL LETTER ER
2290 \xD2 \xE0 // cyrillic small letter ER
2291 \xF3 \x91 // CYRILLIC CAPITAL LETTER ES
2292 \xD3 \xE1 // cyrillic small letter ES
2293 \xE7 \x83 // CYRILLIC CAPITAL LETTER GE
2294 \xC7 \xA3 // cyrillic small letter GE
2295 \xFF \x9A // CYRILLIC CAPITAL LETTER HARD SIGN
2296 \xDF \xEA // cyrillic small letter HARD SIGN
2297 \xF1 \x9F // CYRILLIC CAPITAL LETTER IA
2298 \xD1 \xEF // cyrillic small letter IA
2299 \xE5 \x85 // CYRILLIC CAPITAL LETTER IE
2300 \xC5 \xA5 // cyrillic small letter IE
2301 \xE9 \x88 // CYRILLIC CAPITAL LETTER II
2302 \xC9 \xA8 // cyrillic small letter II
2303 \xB3 \xF0 // CYRILLIC CAPITAL LETTER IO
2304 \xA3 \xF1 // cyrillic small letter IO
2305 \xE0 \x9E // CYRILLIC CAPITAL LETTER IU
2306 \xC0 \xEE // cyrillic small letter IU
2307 \xEB \x8A // CYRILLIC CAPITAL LETTER KA
2308 \xCB \xAA // cyrillic small letter KA
2309 \xE8 \x95 // CYRILLIC CAPITAL LETTER KHA
2310 \xC8 \xE5 // cyrillic small letter KHA
2311 \xEF \x8E // CYRILLIC CAPITAL LETTER O
2312 \xCF \xAE // cyrillic small letter O
2313 \xF0 \x8F // CYRILLIC CAPITAL LETTER PE
2314 \xD0 \xAF // cyrillic small letter PE
2315 \xFC \x9D // CYRILLIC CAPITAL LETTER REVERSED E
2316 \xDC \xED // cyrillic small letter REVERSED E
2317 \xFB \x98 // CYRILLIC CAPITAL LETTER SHA
2318 \xDB \xE8 // cyrillic small letter SHA
2319 \xFD \x99 // CYRILLIC CAPITAL LETTER SHCHA
2320 \xDD \xE9 // cyrillic small letter SHCHA
2321 \xEA \x89 // CYRILLIC CAPITAL LETTER SHORT II
2322 \xCA \xA9 // cyrillic small letter SHORT II
2323 \xF8 \x9C // CYRILLIC CAPITAL LETTER SOFT SIGN
2324 \xD8 \xEC // cyrillic small letter SOFT SIGN
2325 \xF4 \x92 // CYRILLIC CAPITAL LETTER TE
2326 \xD4 \xE2 // cyrillic small letter TE
2327 \xE3 \x96 // CYRILLIC CAPITAL LETTER TSE
2328 \xC3 \xE6 // cyrillic small letter TSE
2329 \xF5 \x93 // CYRILLIC CAPITAL LETTER U
2330 \xD5 \xE3 // cyrillic small letter U
2331 \xBD \x83 // CYRILLIC CAPITAL LETTER UKRAINIAN GHE (UPTURN)
2332 \xAD \xA3 // cyrillic small letter UKRAINIAN GHE (UPTURN)
2333 \xB4 \xF2 // CYRILLIC CAPITAL LETTER UKRAINIAN IE
2334 \xA4 \xF3 // cyrillic small letter UKRAINIAN IE
2335 \xF7 \x82 // CYRILLIC CAPITAL LETTER VE
2336 \xD7 \xA2 // cyrillic small letter VE
2337 \xF9 \x9B // CYRILLIC CAPITAL LETTER YERI
2338 \xD9 \xEB // cyrillic small letter YERI
2339 \xB7 \xF4 // CYRILLIC CAPITAL LETTER YI (UKRAINIAN)
2340 \xA7 \xF5 // cyrillic small letter YI (UKRAINIAN)
2341 \xFA \x87 // CYRILLIC CAPITAL LETTER ZE
2342 \xDA \xA7 // cyrillic small letter ZE
2343 \xF6 \x86 // CYRILLIC CAPITAL LETTER ZHE
2344 \xD6 \xA6 // cyrillic small letter ZHE
2345 [end charmap] // koi8u-cp866
2346
2347 // czech charmap (Petr Balas <petr@petrbalas.cz)
2348 [charmap czech]
2349 \xA0 \x20 //
2350 \xA1 \xA4 //
2351 \xA2 \xF4 //
2352 \xA3 \x9D //
2353 \xA4 \xCF //
2354 \xA5 \x95 //
2355 \xA6 \x97 //
2356 \xA7 \xF5 //
2357 \xA8 \xF9 //
2358 \xA9 \xE6 //
2359 \xAA \xB8 //
2360 \xAB \x9B //
2361 \xAC \x8D //
2362 \xAD \x2D //
2363 \xAE \xA6 //
2364 \xAF \xBD //
2365 \xB0 \x20 //
2366 \xB1 \xA5 //
2367 \xB2 \xF2 //
2368 \xB3 \x88 //
2369 \xB4 \xEF //
2370 \xB5 \x96 //
2371 \xB6 \x98 //
2372 \xB7 \xF3 //
2373 \xB8 \xF7 //
2374 \xB9 \xE7 //
2375 \xBA \xAD //
2376 \xBB \x9C //
2377 \xBC \xAB //
2378 \xBD \xF1 //
2379 \xBE \xA7 //
2380 \xBF \xBE //
2381 \xC0 \xE8 //
2382 \xC1 \xB5 //
2383 \xC2 \xB6 //
2384 \xC3 \xC6 //
2385 \xC4 \x8E //
2386 \xC5 \x91 //
2387 \xC6 \x8F //
2388 \xC7 \x80 //
2389 \xC8 \xAC //
2390 \xC9 \x90 //
2391 \xCA \xA8 //
2392 \xCB \xD3 //
2393 \xCC \xB7 //
2394 \xCD \xD6 //
2395 \xCE \xD7 //
2396 \xCF \xD2 //
2397 \xD0 \xD1 //
2398 \xD1 \xE3 //
2399 \xD2 \xD5 //
2400 \xD3 \xE0 //
2401 \xD4 \xE2 //
2402 \xD5 \x8A //
2403 \xD6 \x99 //
2404 \xD7 \x9E //
2405 \xD8 \xFC //
2406 \xD9 \xDE //
2407 \xDA \xE9 //
2408 \xDB \xEB //
2409 \xDC \x9A //
2410 \xDD \xED //
2411 \xDE \xDD //
2412 \xDF \xE1 //
2413 \xE0 \xEA //
2414 \xE1 \xA0 //
2415 \xE2 \x83 //
2416 \xE3 \xC7 //
2417 \xE4 \x84 //
2418 \xE5 \x92 //
2419 \xE6 \x86 //
2420 \xE7 \x87 //
2421 \xE8 \x9F //
2422 \xE9 \x82 //
2423 \xEA \xA9 //
2424 \xEB \x89 //
2425 \xEC \xD8 //
2426 \xED \xA1 //
2427 \xEE \x8C //
2428 \xEF \xD4 //
2429 \xF0 \xD0 //
2430 \xF1 \xE4 //
2431 \xF2 \xE5 //
2432 \xF3 \xA2 //
2433 \xF4 \x93 //
2434 \xF5 \x8B //
2435 \xF6 \x94 //
2436 \xF7 \xF6 //
2437 \xF8 \xFD //
2438 \xF9 \x85 //
2439 \xFA \xA3 //
2440 \xFC \x81 //
2441 \xFD \xEC //
2442 \xFE \xEE //
2443 \xFF \xFA //
2444 [end charmap] // czech
2445
2446 ;
2447 ; ISO Latin 2 (ISO-8859-2) <-> CP852
2448 ; Added by Jakub Sterba (sterba@nlk.anet.cz)
2449 ;
2450 [charmap iso8859-2-cp852]
2451 \xA0 \xAA
2452 \xA1 \xA4
2453 \xA2 \xF4
2454 \xA3 \x9D
2455 \xA4 \xCF
2456 \xA5 \x95
2457 \xA6 \x97
2458 \xA7 \xF5
2459 \xA8 \xF9
2460 \xA9 \xE6
2461 \xAA \xB8
2462 \xAB \x9B
2463 \xAC \x8D
2464 \xAD \xF0
2465 \xAE \xA6
2466 \xAF \xBD
2467 \xB0 \xF8
2468 \xB1 \xA5
2469 \xB2 \xF2
2470 \xB3 \x88
2471 \xB4 \xEF
2472 \xB5 \x96
2473 \xB6 \x98
2474 \xB7 \xF3
2475 \xB8 \xF7
2476 \xB9 \xE7
2477 \xBA \xAD
2478 \xBB \x9C
2479 \xBC \xAB
2480 \xBD \xF1
2481 \xBE \xA7
2482 \xBF \xBE
2483 \xC0 \xE8
2484 \xC1 \xB5
2485 \xC2 \xB6
2486 \xC3 \xC6
2487 \xC4 \x8E
2488 \xC5 \x91
2489 \xC6 \x8F
2490 \xC7 \x80
2491 \xC8 \xAC
2492 \xC9 \x90
2493 \xCA \xA8
2494 \xCB \xD3
2495 \xCC \xB7
2496 \xCD \xD6
2497 \xCE \xD7
2498 \xCF \xD2
2499 \xD0 \xD1
2500 \xD1 \xE3
2501 \xD2 \xD5
2502 \xD3 \xE0
2503 \xD4 \xE2
2504 \xD5 \x8A
2505 \xD6 \x99
2506 \xD7 \x9E
2507 \xD8 \xFC
2508 \xD9 \xDE
2509 \xDA \xE9
2510 \xDB \xEB
2511 \xDC \x9A
2512 \xDD \xED
2513 \xDE \xDD
2514 \xDF \xE1
2515 \xE0 \xEA
2516 \xE1 \xA0
2517 \xE2 \x83
2518 \xE3 \xC7
2519 \xE4 \x84
2520 \xE5 \x92
2521 \xE6 \x86
2522 \xE7 \x87
2523 \xE8 \x9F
2524 \xE9 \x82
2525 \xEA \xA9
2526 \xEB \x89
2527 \xEC \xD8
2528 \xED \xA1
2529 \xEE \x8C
2530 \xEF \xD4
2531 \xF0 \xD0
2532 \xF1 \xE4
2533 \xF2 \xE5
2534 \xF3 \xA2
2535 \xF4 \x93
2536 \xF5 \x8B
2537 \xF6 \x94
2538 \xF7 \xF6
2539 \xF8 \xFD
2540 \xF9 \x85
2541 \xFA \xA3
2542 \xFC \x81
2543 \xFD \xEC
2544 \xFE \xEE
2545 \xFF \xFA
2546 [end charmap] // iso8859-2-cp852
2547
2548 [config ansi]
2549 keymap ansi
2550 [end config]
2551
2552 [config linux ]
2553 keymap ansi + linux
2554 [end config]
2555
2556 [config default_koi8]
2557 keymap ansi
2558 keymap koi8u + koi8r : VK_/ RIGHT_ALT // russian keyboard
2559 keymap koi8u : VK_. RIGHT_ALT // ukranian
2560
2561 charmap koi8u-cp866
2562 [end config]
2563
2564 [config linux_koi8]
2565 keymap ansi + linux
2566 keymap koi8u + koi8r : VK_/ RIGHT_ALT // russian keyboard
2567 keymap koi8u : VK_. RIGHT_ALT // ukranian
2568
2569 charmap koi8u-cp866
2570 [end config]
2571
2572 [config vt100]
2573 keymap ansi + vt100
2574 [end config]
2575
2576 [config uk]
2577 keymap ansi + uk
2578 [end config]
2579
2580 [config uk_vt100]
2581 keymap ansi + vt100 + uk
2582 [end config]
2583
2584 [config at386]
2585 keymap at386
2586 keymap ibm866 : VK_SCROLL // russian keyboard PC-866
2587 [end config]
2588
2589 [config swedish_vt100]
2590 keymap ansi + vt100
2591 keymap swedish : VK_/ RIGHT_ALT
2592 [end config]
2593
2594 [config german]
2595 keymap ansi + german
2596 [end config]
2597
2598 [config sp]
2599 keymap sp
2600 [end config]
2601
2602 [config czech]
2603 keymap ansi + czech-cz // Czech keyboard (uses DOS driver)
2604 keymap ansi + czech-en : VK_F1 LEFT_CTRL+LEFT_ALT // US keyboard (uses DOS driver)
2605 keymap ansi + czech-cz : VK_F2 LEFT_CTRL+LEFT_ALT // Czech keyboard (uses DOS driver)
2606 charmap iso8859-2-cp852 // character conversion remote -> console
2607 revcharmap iso8859-2-cp852 // character conversion console -> remote
2608 [end config]
2609
2610 [config czech_vt100]
2611 keymap ansi + vt100 + czech-cz // Czech keyboard (uses DOS driver)
2612 keymap ansi + vt100 + czech-en : VK_F1 LEFT_CTRL+LEFT_ALT // US keyboard (uses DOS driver)
2613 keymap ansi + vt100 + czech-cz : VK_F2 LEFT_CTRL+LEFT_ALT // Czech keyboard (uses DOS driver)
2614 charmap iso8859-2-cp852 // character conversion remote -> console
2615 revcharmap iso8859-2-cp852 // character conversion console -> remote
2616 [end config]