2 # Copyright (c) 1992, 2002 Hellmuth Michaelis
4 # Copyright (c) 1992, 1994 Joerg Wunsch and Holger Veit
8 # Redistribution and use in source and binary forms, with or without
9 # modification, are permitted provided that the following conditions
11 # 1. Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 # 2. Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in the
15 # documentation and/or other materials provided with the distribution.
16 # 3. All advertising materials mentioning features or use of this software
17 # must display the following acknowledgement:
18 # This product includes software developed by Hellmuth Michaelis,
19 # Joerg Wunsch and Holger Veit.
20 # 4. The names of the Authors may not be used to endorse or promote
21 # products derived from this software without specific prior written
24 # THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
25 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 #---------------------------------------------------------------------------
38 # keyboard mappings for vt220 emulator pcvt 3.00
39 # ----------------------------------------------
41 # Last Edit-Date: [Wed Apr 24 16:27:35 2002]
45 #---------------------------------------------------------------------------
47 df|default|default entry:\
50 tt|test|Test entry which swaps y and z:\
51 :K22=z:S22=Z:C22=\032:\
52 :K46=y:S46=Y:C46=\031:
54 # from codrv, untested
55 be|belgium|Belgian mapping:\
62 :K7=\247:S7=6:A7=\136:\
65 :K10=\347:S10=9:A10={:\
66 :K11=\340:S11=0:A11=}:\
71 :K27=\136:S27=\250:A27=[:p1#27:\
75 :K41=\371:S41=%:A41=':p2#41:\
76 :K42=\265:S42=\243:A42=\264:p3#42:\
85 # from codrv, untested
86 ca|canadafr|Canadian French mapping:\
88 :A2=\261:S3=":A3=@:S4=/:A4=\243:A5=\242:\
89 :A6=\244:S7=\077:A7=\254:S8=&:A8=\246:S9=*:A9=\262:\
90 :S10=(:A10=\263:S11=):A11=\274:\
91 :K12=-:S12=_:A12=\275:\
92 :K13==:S13=+:A13=\276:\
94 :K27=\136:S27=\136:A27=[:\
95 :K28=\270:S28=\250:A28=]:p1#28:\
96 :A40=~:K41=`:S41=`:A41={:\
98 :K45=\253:S45=\273:A45=\260:\
99 :A49=\253:A50=\273:A51=\260:\
100 :A52=\265:K53=,:S53=,:A53=-:\
101 :K54=\351:S54=\311:A54=':\
104 # from codrv, untested
105 c1|swissde|Swiss German mapping:\
106 :K1=\247:S1=\260:p1#1:\
107 :S2=+:A2=|:S3=":A3=@:S4=*:A4=#:S5=\347:S7=&:A7=\254:\
108 :S8=/:A8=\246:S9=(:A9=\242:S10=):S11==:\
109 :K12=`:S12=\077:A12=':p2#12:\
110 :K13=^:S13=\\:A13=~:p3#13:\
111 :K22=z:S22=Z:C22=\032:\
112 :S27=\350:K27=\374:A27=[:\
113 :K28=\250:S28=!:A28=]:\
115 :S41=\340:K41=\344:A41={:\
116 :K42=$:S42=\243:A42=}:\
117 :K45=<:S45=>:A45=\\:\
118 :K46=y:S46=Y:C46=\031:
119 :S53=;:S54=\072:K55=-:S55=_:\
122 # from codrv, untested
123 c2|swissfr|Swiss French mapping:\
124 :K27=\350:S27=\374:A27=[:\
126 :K41=\340:S41=\344:A41={:\
129 # more programmer-like than an original German kbd, you needn't
130 # have gum-fingers to get `{}' and the like:-)
131 # maps: ae -> [, oe -> \, ue -> ], Ae -> {, Oe -> |, Ue -> }
132 # umlaute are available as AltGr- and Control-Mappings
133 # also maps Pause -> ^Z
135 # (from Joerg Wunsch)
137 # l1/m1 bindings: left Alt is AltGr
139 # C79/C89: ctrl-{leftarrow,rightarrow} {backward,forward} word
140 # A79/A89: {backward,forward} sexp
141 # C83/C84: ctrl-{uparrow,downarrow} {backward,forward} window
143 de-prog|germany-prog|programmer's mapping for german keyboard:\
144 :K27=]:S27=}:A27=\374:C27=\334:\
145 :K40=\\:S40=|:A40=\366:C40=\326:\
146 :K41=[:S41={:A41=\344:C41=\304:\
147 :K126=\032:C126=\003:\
150 # :C79=^[B:K79=^[[D:S79=^[OD:A79=^[^B:\
151 # :C89=^[F:K89=^[[C:S89=^[OC:A89=^[^F:\
152 # :C83=^U-1^XO:K83=^[[A:S84=^[OA:\
153 # :C84=^XO:K84=^[[B:S84=^[OB:\
155 de|germany|German mapping for MF II-Keyboard:\
157 :S3=\042:S4=\247:S7=&:S8=/:S9=(:S10=):S11=\075:\
158 :A3=\262:A4=\263:A8={:A9=[:A10=]:A11=}:A12=\134:\
159 :K12=\337:S12=?:C12=\034:\
162 :K22=z:S22=Z:C22=\032:\
164 :K28=+:S28=*:A28=\176:\
165 :K29=\043:S29=':A29=\174:\
169 :K46=y:S46=Y:C46=\031:\
175 de-at|germany-at|German mapping for AT-Keyboard:\
184 :K12=\337:S12=?:C12=\034:\
187 :K22=z:S22=Z:C22=\032:\
193 :K46=y:S46=Y:C46=\031:\
197 # from codrv, untested
198 # Includes improvements by Thomas Hiller (hiller@fzi.de)
199 # and Andreas Israel (ai@hrz.tu-chemnitz.de)
200 de-hi|germany-hiller|yet another German mapping:\
201 :K1=\136:S1=\260:C1=|:\
202 :S3=\042:S4=#:S7=&:S8=/:S9=(:S10=):S11=\075:\
203 :A8={:A9=[:A10=]:A11=}:A17=@:A28=~:\
204 :K12=\337:S12=\077:C12=\036:A12=\\:\
205 :K13=':S13=`:C13=\134:p1#13:\
206 :K22=z:S22=Z:C22=\032:\
207 :K27=\374:S27=\334:C27=\035:\
208 :K28=+:S28=*:C28=\000:\
209 :K29=<:S29=>:C29=\134:\
210 :K40=\366:S40=\326:C40=\034:\
211 :K41=\344:S41=\304:C41=\033:\
212 :K46=y:S46=Y:C46=\031:\
217 # from codrv, untested
218 # Contribution by Thomas Hiller (hiller@fzi.de)
219 # "K42 may not work on 102 keys kbds, K29 seems to work"
220 d1|de-102|german with mf2:\
226 # from codrv, untested
227 hv|holgi|Holgi's special MF1 keyboard mapping:\
229 :K29=#:S29=\136:A29=\\:C29=~:\
232 # from codrv, untested
233 # Contributed by Andreas Israel (ai@hrz.tu-chemnitz.de)
234 de-ai|nixmf2|ct22|nix|nix7|German Nixdorf MF2:\
240 # from codrv, untested
241 dk|denmark|Danish mapping:\
246 :S7=&:S8=/:A8={:S9=(:A9=[:S10=):A10=]:S11==:A11=}:\
248 :K13=':S13=`:A13=|:p1#13:\
250 :K28=\250:S28=\136:A28=~:p2#28:\
254 :K45=<:S45=>:A45=\\:\
259 # from codrv, untested
260 # Finnish keyboard map with 7-bit versions of the national
261 # chars. The Latin1 chars are available with Alt-7, Alt-8, etc
262 # (where normally you would have the 7-bit ones).
263 # Makes C/C++ programming more comfortable, since the 7-bit chars
264 # (|\{[}]) are needed much more often than the Latin1 chars.
265 # -- Petri.Wessman@hut.fi
266 fi|finland|finland7b|finland-ascii|Finnish ASCII mapping:\
268 :A8=\344:A9=\304:A10=\305:A11=\345:A12=\326:A13=\366:\
269 :K40=|:S40=\\:K41={:S41=[:K27=}:S27=]:\
274 :S7=&:S8=/:S9=(:S10=):S11==:\
277 :K28=~:S28=\136:A28=~:\
284 # from codrv, untested
285 # Finnish keyboard map with the Latin1 national chars in
286 # their "right" place. --Petri.Wessman@hut.fi
287 f1|finland8b|finland-latin1|Finnish Latin1 mapping:\
288 :A8={:A9=[:A10=]:A11=}:A12=\\:\
289 :K40=\366:S40=\326:K41=\344:S41=\304:K27=\345:S27=\305:\
293 # French keyboard mapping
294 # From Matthieu Herrb <matthieu@laas.fr>
295 # For 102 keys keyboards, produces 8 bits characters
296 # with ISO Latin-1 encoding
297 f8|france-iso-8859-1|French ISO 8859-1 102 keys keyboard:\
301 :K3=\351:S3=2:C3=\211:A3=~:\
305 :K7=-:S7=6:C7=\036:A7=|:\
306 :K8=\350:S8=7:C8=\210:A8=`:\
307 :K9=_:S9=8:C9=\037:A9=\\:\
308 :K10=\347:S10=9:C10=\207:A10=\136:\
309 :K11=\340:S11=0:C11=\340:A11=@:\
310 :K12=):S12=\260:A12=]:\
312 :K17=a:S17=A:C17=\001:\
313 :K18=z:S18=Z:C18=\032:\
317 :K31=q:S31=Q:C31=\021:\
318 :K40=m:S40=M:C40=\015;\
319 :K41=\371:C41=\231:S41=%:\
321 :K46=w:S46=W:C46=\027:\
324 :K54=\072:S54=/:C54=\037\
327 # fr|france|French mapping:\
330 # from codrv, untested
331 # f1|france120|French 120 mapping:\
335 # from codrv, untested
336 #f2|france189|French 189 mapping:\
338 # :A2=:A3=~:A5={:A6=[:A7=|:A8=`:\
339 # :S9=_:A9=\\:A10=\136:A11=@:A12=]:A13=}:\
340 # :A27=:A28=\244:A41=:A42=:\
344 # From: Andy Duplain, duplain@rtf.bt.co.uk
345 gb|greatbritain|British mapping for MF-2 keyboard:\
346 :S1=|:S3=":C3=2:C12=-:S41=@:K42=#:S42=~:C42=#:K45=\\:S45=|:C45=\\:
348 # from codrv, untested
349 # This entry has been corrected by Mike Trim (mtrim@crucible.demon.co.uk)
350 # (hv's comment: For the keys # and ~ you might also check the following
353 # Also I think I was wrong with the ALTGR key. If you need one, add this:
355 g1|greatbritain166|British 166 mapping:\
362 # from codrv, untested
363 g2|greatbritain168|British 168 mapping:\
365 :S3=":S4=\243:S7=&:S8=:S9=(:S10=):A10=\261:\
366 :S11=#:A11=\260:S12=:K13=\254:S13=-:\
370 :K41=\072:S41=*:A41=\136:\
376 # from codrv, untested
377 is:iceland:Island mapping:\
378 :K1=\260:S1=\250:p1#1:\
379 :S2=":S7=&:S8=/:A8={:S9=(:A9=[:S10=):A10=]:S11==:A11=}:\
382 :A17=@:K27=\360:S27=\320:\
383 :K28=':S28=\077:A28=~:\
385 :K41=':S41=':A41=\136:p2#41:\
386 :K42=+:S42=*:A42=`:p3#42:\
393 # from codrv, untested
394 i1|italy141|Italian 141 mapping:\
396 :S3=":S4=\243:S7=&:S8=/:A8={:S9=(:A9=[:S10=):A10=]:S11==:A11=}:\
397 :K12=':A12=`:S12=\077:\
398 :K13=\354:S13=\136:A13=~:\
399 :K27=\350:S27=\351:\A27=[:\
401 :K40=\362:S40=\347:A40=@:\
402 :K41=\340:S41=\260:A41=#:\
409 # from codrv, untested
410 i2|italy142|Italian 142 mapping:\
411 :A8={:A9=[:A10=]:A11=}:\
412 :A17=@:A27=:A28=~:A40=:A41=:\
415 # from codrv, untested
416 nl|netherlands|Dutch mapping:\
417 :K1=@:S1=\247:A1=\254:\
418 :A2=\271:S3=":A3=\262:S4=#:A4=\263:A5=\274:A6=\275:S7=&:\
419 :A7=\276:S8=_:A8=\243:S9=(:A9={:S10=):A10=}:S11=':\
420 :K12=/:S12=\077:A12=\\:\
421 :K13=\260:S13=~:A13=\270:p1#13:\
422 :K20=\266:K27=\250:S27=^:p2#27:\
428 :S53=;:S54=\072:K55=-:S55=_:\
432 # Norwegian keyboard map with national characters.
433 # Anders Nordby, anders@fix.no
434 no|norway|Norwegian 8bit mapping ISO 8859-1:\
437 :K3=\62:S3=\42:A3=\100:\
438 :K4=\63:S4=\43:A4=\243:\
439 :K5=\64:S5=\244:A5=\44:\
442 :K8=\67:S8=\57:A8=\173:\
443 :K9=\70:S9=\50:A9=\133:\
444 :K10=\71:S10=\51:A10=\135:\
445 :K11=\60:S11=\75:A11=\175:\
447 :K13=\134:S13=\140:A13=\264:\
448 :K28=\250:S28=\136:A28=\176:\
458 # from codrv, untested
459 pt|portugal|Portugesian mapping:\
461 :S3=":A3=@:A4=\243:A5=\247:S7=&:S8=/:A8={:S9=(:A9=[:\
462 :S10=):A10=]:S11=}:A11==:\
469 :S53=;:S54=\072:K55=-:S55=_:\
472 # from codrv, untested
473 es|spain|Spainish mapping:\
474 :K1=\272:S1=\252:A1=\\:\
475 :A2=|:S3=":A3=@:S4=:A4=#:S7=&:A7=\254:S8=/:S9=(:S10=):S11==:\
476 :K12=':S12=\077:p1#12:\
478 :K27=`:S27=^:A27=[:p2#27:\
481 :K41=/:S41=\250:A41={:p3#41:\
482 :K42=\347:S42=\307:A42=}:\
489 # from codrv, untested
490 # Contributed by Mats O Jansson, moj@stacken.kth.se
491 # "Here is my map, rather large, but i want ALTGR normaly to be dead.
492 # Only seven bit national characters have been placed where national characters
493 # is on the keyboard."
494 # We can help this man, just use the 'a0' capability -hv-
495 s1|sweden1|Swedish mapping:\
499 :S2=!:S3=":S4=#:S5=$:S6=%:S7=&:S8=/:\
500 :S9=(:S10=):S11=\075:S12=\077:S13=`:S29=*:\
501 :C2=:C3=\000:C4=\033:C5=\034:C6=\035:C7=:C8=:C9=:\
502 :C10=:C11=:C12=:C13=:C29=:\
504 :A9=[:A10=]:A11=}:A12=\134:\
512 :K45=<:K53=,:K54=.:K55=-:\
513 :S45=>:S53=;:S54=\072:S55=_:\
514 :C45=\034:C53=:C54=:C55=:\
518 # from codrv, untested
519 # Contributed by Mats O Jansson, moj@stacken.kth.se
520 # "Here is my map, rather large, but i want ALTGR normaly to be dead.
521 # Only seven bit national characters have been placed where national
522 # characters is on the keyboard."
523 # We can help this man, just use the 'a0' capability -hv-
524 # Corrected by Paul Pries, 5322@msg.abc.se (Some national shifts were
526 sa|sweden1a|Swedish 7bit mapping ISO 646:\
530 :S2=!:S3=":S4=#:S5=$:S6=%:S7=&:S8=/:\
531 :S9=(:S10=):S11=\075:S12=\077:S13=`:S29=*:\
532 :C2=:C3=\000:C4=\033:C5=\034:C6=\035:C7=:C8=:C9=:\
533 :C10=:C11=:C12=:C13=:C29=:\
535 :A9=[:A10=]:A11=}:A12=\134:\
543 :K45=<:K53=,:K54=.:K55=-:\
544 :S45=>:S53=;:S54=\072:S55=_:\
545 :C45=\034:C53=:C54=:C55=:\
549 # from codrv, untested
550 # Swedish keyboard map with national characters.
551 # Paul Pries, 5322@msg.abc.se
552 s2|sweden2|Swedish 8bit mapping ISO 8859-1:\
556 :S2=!:S3=":S4=#:S5=$:S6=%:S7=&:S8=/:\
557 :S9=(:S10=):S11=\075:S12=\077:S13=`:S29=*:\
558 :C2=:C3=\000:C4=\033:C5=\034:C6=\035:C7=:C8=:C9=:\
559 :C10=:C11=:C12=:C13=:C29=:\
560 :A3=\100:A4=\234:A5=$:A8={:\
561 :A9=[:A10=]:A11=}:A12=\134:\
569 :K45=<:K53=,:K54=.:K55=-:\
570 :S45=>:S53=;:S54=\072:S55=_:\
571 :C45=\034:C53=:C54=:C55=:\
575 # Swedish keyboard map with national characters.
576 # Paul Pries, 5322@msg.abc.se
577 # Corrected by Mats O Jansson, moj@stacken.kth.se (Some national was CP850
578 # and not ISO 8859-1 as said).
579 s8|sweden8|Swedish 8bit mapping ISO 8859-1 and not CP850 national characters:\
580 :A8={:A9=[:A10=]:A11=}:A12=\\:\
581 :K40=\366:S40=\326:K41=\344:S41=\304:K27=\345:S27=\305:\
585 # tg: my idiosyncratic mappings (thomas@ghpc8.ihf.rwth-aachen.de)
587 # the six function keys above the cursor keys are arranged
588 # identical to a real VT220:
593 # since i don't have a use for the numbers on the keypad,
594 # i map NumLock, /, *, - to PF1-PF4;
595 # + is mapped to SS3 l, shifted + is mapped to SS3 m
597 # they convinced me finally to add some support for german umlauts.
598 # so, i stole the mapping from jörg wunsch's de-prog entry.
609 :K126=\032:C126=\003:\
610 :K75=
\e[1~:S75=
\e[1~:C75=
\e[1~:\
611 :K76=
\e[4~:S76=
\e[4~:C76=
\e[4~:\
612 :K80=
\e[2~:S80=
\e[2~:C80=
\e[2~:\
613 :K81=
\e[5~:S81=
\e[5~:C81=
\e[5~:\
614 :K85=
\e[3~:S85=
\e[3~:C85=
\e[3~:\
615 :K86=
\e[6~:S86=
\e[6~:C86=
\e[6~:\
616 :K90=
\eOP:S90=
\eOP:C90=
\eOP:\
617 :K95=
\eOQ:S95=
\eOQ:C95=
\eOQ:\
618 :K100=
\eOR:S100=
\eOR:C100=
\eOR:\
619 :K104=
\eOn:S104=
\eOn:C104=
\eOn:\
620 :K105=
\eOS:S105=
\eOS:C105=
\eOS:\
621 :K106=
\eOl:S106=
\eOm:\
622 :K108=
\eOM:S108=
\eOM:C108=
\eOM:
624 us|usa|United States mapping:\