Major hackery to get the 1.1 Beta floppies building. Have a special
[unix-history] / share / misc / keycap
CommitLineData
15637ed4
RG
1# Contributed to 386bsd 0.1 and later versions
2#
3# Copyright 1992,1993 by Holger Veit
4# May be freely used with Bill Jolitz's port of
5# 386bsd and may be included in a 386bsd collection
6# as long as binary and source are available and reproduce the above
7# copyright.
8#
9# You may freely modify this code and contribute improvements based
10# on this code as long as you don't claim to be the original author.
11# Commercial use of this source requires permittance of the copyright
12# holder. A general license for 386bsd will override this restriction.
13#
14# Use at your own risk. The copyright holder or any person who makes
15# this code available for the public (administrators of public archives
16# for instance) are not responsible for any harm to hardware or software
17# that might happen due to wrong application or program faults.
18#
19# You must have the codrv-0.1.2 console driver in the same package generated
20# into the 386bsd kernel, otherwise this software does not work.
21#
22# @(#) keycap,v 1.4 (Contributed to 386bsd) 04/27/93
23#
24#--------------------------------------------------------------------------
25#
26# All maps labelled "untested" are really untested and were entered
27# from an OS/2 keyboard manual (one of the few manual that exist for this
28# OS ;-).
29#
30# Note that these mappings use ISO-LATIN1 encoding for characters >128
31#
32# -hv-
33
34# Must be there to allow restoring the keymap in case of crash
35# don't delete
36df|default|default entry:\
37 :de:
38
39tt|test|Test entry which swaps y and z:\
40 :K22=z:S22=Z:C22=\032:\
41 :K46=y:S46=Y:C46=\031:\
42 :fn0=/root/latest/font/8x13.bdf:
43
44
45# untested
46be|belgium|Belgian mapping:\
47 :K1=\262:S1=\263:\
48 :K2=&:S2=1:A2=|:\
49 :K3=\351:S3=2:A3=@:\
50 :K4=":S4=3:A4=#:\
51 :K5=':S5=4:\
52 :K6=(:S6=5:\
53 :K7=\247:S7=6:A7=\136:\
54 :K8=\350:S8=7:\
55 :K9=!:S9=8:\
56 :K10=\347:S10=9:A10={:\
57 :K11=\340:S11=0:A11=}:\
58 :K12=):S12=\260:\
59 :K13=-:S13=_:\
60 :K17=a:S17=A:C17=^A:\
61 :K18=z:S18=Z:C18=^z:\
62 :K27=\136:S27=\250:A27=[:p1#27:\
63 :K28=$:S28=*:A28=]:\
64 :K31=q:S31=Q:C31=^q:\
65 :K40=m:S40=M:C40=^m:\
66 :K41=\371:S41=%:A41=':p2#41:\
67 :K42=\265:S42=\243:A42=\264:p3#42:\
68 :K45=<:S45=>:A45=\\:\
69 :K46=w:S46=W:C46=^w:\
70 :K52=,:S52=\077:\
71 :K53=;:S53=.:\
72 :K54=\072:S54=/:\
73 :K55==:S55=+:A55=~:\
74 :l1#62:a0:
75
76# untested
77dk|denmark|Danish mapping:\
78 :K1=\275:S1=\247:\
79 :S3=":A3=@:\
80 :A4=\243:\
81 :S5=\244:A5=$:\
82 :S7=&:S8=/:A8={:S9=(:A9=[:S10=):A10=]:S11==:A11=}:\
83 :K12=+:S12=\077:\
84 :K13=':S13=`:A13=|:p1#13:\
85 :K27=\345:S27=\305:\
86 :K28=\250:S28=\136:A28=~:p2#28:\
87 :K40=\346:S40=\306:\
88 :K41=\370:S41=\330:\
89 :K42=:S42=*:\
90 :K45=<:S45=>:A45=\\:\
91 :S53=;:S54=\072:\
92 :K55=-:S55=_:\
93 :l1#62:a0:
94
95# Includes improvements by Thomas Hiller (hiller@fzi.de)
96# and Andreas Israel (ai@hrz.tu-chemnitz.de)
97de|germany|German mapping:\
98 :K1=\136:S1=\260:C1=|:\
99 :S3=\042:S4=#:S7=&:S8=/:S9=(:S10=):S11=\075:\
100 :A8={:A9=[:A10=]:A11=}:A17=@:A28=~:\
101 :K12=\337:S12=\077:C12=\036:A12=\\:\
102 :K13=':S13=`:C13=\134:p1#13:\
103 :K22=z:S22=Z:C22=\032:\
104 :K27=\374:S27=\334:C27=\035:\
105 :K28=+:S28=*:C28=\000:\
106 :K29=<:S29=>:C29=\134:\
107 :K40=\366:S40=\326:C40=\034:\
108 :K41=\344:S41=\304:C41=\033:\
109 :K46=y:S46=Y:C46=\031:\
110 :S53=;:S54=\072:\
111 :K55=-:S55=_:\
112 :l1#62:a0:
113
114# Contribution by Thomas Hiller (hiller@fzi.de)
115# "K42 may not work on 102 keys kbds, K29 seems to work"
116d1|de-102|german with mf2:\
117 :K29=#:\
118 :K42=#:\
119 :K45=<:S45=>:A45=|:\
120 :tc=germany:
121
122hv|holgi|Holgi's special MF1 keyboard mapping:\
123 :K1=<:S1=>:C1=|:\
124 :K29=#:S29=\136:A29=\\:C29=~:\
125 :tc=germany:
126
127# Contributed by Andreas Israel (ai@hrz.tu-chemnitz.de)
128ai|nixmf2|ct22|nix|nix7|German Nixdorf MF2:\
129 :A28=~:\
130 :K29=#:S29=':\
131 :K45=<:S45=>:A45=|:\
132 :tc=germany:
133
134# Finnish keyboard map with 7-bit versions of the national
135# chars. The Latin1 chars are available with Alt-7, Alt-8, etc
136# (where normally you would have the 7-bit ones).
137# Makes C/C++ programming more comfortable, since the 7-bit chars
138# (|\{[}]) are needed much more often than the Latin1 chars.
139# -- Petri.Wessman@hut.fi
140fi|finland|finland7b|finland-ascii|Finnish ASCII mapping:\
141 :l1#60:l2#62:\
142 :A8=\344:A9=\304:A10=\305:A11=\345:A12=\326:A13=\366:\
143 :K40=|:S40=\\:K41={:S41=[:K27=}:S27=]:\
144 :S1=\275:K1=\247:\
145 :S3=":A3=@:\
146 :A4=\243:\
147 :S5=$:A5=$:\
148 :S7=&:S8=/:S9=(:S10=):S11==:\
149 :K12=+:S12=\077:\
150 :K13=':S13=`:\
151 :K28=~:S28=\136:A28=~:\
152 :K29=':S29=*:\
153 :K45=<:S45=>:A45=|:\
154 :S53=;:S54=\072:\
155 :K55=-:S55=_:\
156 :a0:
157
158# Finnish keyboard map with the Latin1 national chars in
159# their "right" place. --Petri.Wessman@hut.fi
160f8|finland8b|finland-latin1|Finnish Latin1 mapping:\
161 :A8={:A9=[:A10=]:A11=}:A12=\\:\
162 :K40=\366:S40=\326:K41=\344:S41=\304:K27=\345:S27=\305:\
163 :tc=finland:
164
165# untested
166f1|france120|French 120 mapping:\
167 :tc=belgium:
168
169# untested
170f2|france189|French 189 mapping:\
171 :S1=:A1=':p3#1:\
172 :A2=:A3=~:A5={:A6=[:A7=|:A8=`:\
173 :S9=_:A9=\\:A10=\136:A11=@:A12=]:A13=}:\
174 :A27=:A28=\244:A41=:A42=:\
175 :A45=:!:S45=\247:\
176 :tc=belgium:
177
178# This entry has been corrected by Mike Trim (mtrim@crucible.demon.co.uk)
179# (hv's comment: For the keys # and ~ you might also check the following
180# line
181# :K42=#:S42=~:\
182# Also I think I was wrong with the ALTGR key. If you need one, add this:
183# :l1#62:
184g1|greatbritain166|British 166 mapping:\
185 :K1=`:S1=\254:A1=|:\
186 :S3=":S4=\243:\
187 :K41=':S41=@:\
188 :K29=#:S29=~:\
189 :K45=\\:S45=|:
190
191# untested
192g2|greatbritain168|British 168 mapping:\
193 :K1=\\:S1=|:\
194 :S3=":S4=\243:S7=&:S8=:S9=(:S10=):A10=\261:\
195 :S11=#:A11=\260:S12=:K13=\254:S13=-:\
196 :K27=@:S27=`:\
197 :K28=[:S28={:A28=~:\
198 :K40=;:S40=+:\
199 :K41=\072:S41=*:A41=\136:\
200 :K42=]:S42=}:\
201 :K45=|:S45=_:\
202 :A52=\265:\
203 :l1#62:a0:
204
205# sorry, missing font coding, just not my native language -hv-
206il:israel|hebrew mapping:\
207 :de:
208
209# untested
210is:iceland:Island mapping:\
211 :K1=\260:S1=\250:p1#1:\
212 :S2=":S7=&:S8=/:A8={:S9=(:A9=[:S10=):A10=]:S11==:A11=}:\
213 :K12=\\:S12=\326:\
214 :K13=':S13=`:A13=|:\
215 :A17=@:K27=\360:S27=\320:\
216 :K28=':S28=\077:A28=~:\
217 :K40=\346:S40=\306:\
218 :K41=':S41=':A41=\136:p2#41:\
219 :K42=+:S42=*:A42=`:p3#42:\
220 :K45=<:S45=>:A45=|:\
221 :S53=;:S54=\072:\
222 :K54=\376:S54=\336:\
223 :K104=,:104=,:\
224 :l1#62:a0:
225
226# untested
227i1|italy141|Italian 141 mapping:\
228 :K1=\\:S1=|:\
229 :S3=":S4=\243:S7=&:S8=/:S9=(:S10=):S11==:\
230 :K12=':S12=\077:\
231 :K13=\354:S13=\136:\
232 :K27=\350:S27=\351:\A27=[:\
233 :K28=+:S28=*:A28=]:\
234 :K40=\362:S40=\347:A40=@:\
235 :K41=\340:S41=\260:A41=#:\
236 :K42=\371:S42=\247:\
237 :K45=<:S45=>:\
238 :S53=;:S54=\072:\
239 :K55=-:S55=_:\
240 :l1#62:a0:
241
242# untested
243i2|italy142|Italian 142 mapping:\
244 :A8={:A9=[:A10=]:A11=}:\
245 :A17=@:A27=:A28=~:A40=:A41=:\
246 :tc=italy141:a0:
247
248# yugoslavia what?
249yu|yugoslavia|Latin Yugoslavian mapping:\
250 :de:
251
252# untested
253ca|canadafr|Canadian French mapping:\
254 :K1=#:S1=|:A1=\\:\
255 :A2=\261:S3=":A3=@:S4=/:A4=\243:A5=\242:\
256 :A6=\244:S7=\077:A7=\254:S8=&:A8=\246:S9=*:A9=\262:\
257 :S10=(:A10=\263:S11=):A11=\274:\
258 :K12=-:S12=_:A12=\275:\
259 :K13==:S13=+:A13=\276:\
260 :A25=\247:A26=\266:\
261 :K27=\136:S27=\136:A27=[:\
262 :K28=\270:S28=\250:A28=]:p1#28:\
263 :A40=~:K41=`:S41=`:A41={:\
264 :K42=<:S42=>:A42=}:\
265 :K45=\253:S45=\273:A45=\260:\
266 :A49=\253:A50=\273:A51=\260:\
267 :A52=\265:K53=,:S53=,:A53=-:\
268 :K54=\351:S54=\311:A54=':\
269 :l1#62:a0:
270
271# untested
272nl|netherlands|Dutch mapping:\
273 :K1=@:S1=\247:A1=\254:\
274 :A2=\271:S3=":A3=\262:S4=#:A4=\263:A5=\274:A6=\275:S7=&:\
275 :A7=\276:S8=_:A8=\243:S9=(:A9={:S10=):A10=}:S11=':\
276 :K12=/:S12=\077:A12=\\:\
277 :K13=\260:S13=~:A13=\270:p1#13:\
278 :K20=\266:K27=\250:S27=^:p2#27:\
279 :K28=*:S28=|:\
280 :K40=+:S40=\261:\
281 :K41=':S41=`:\
282 :K42=<:S42=>:\
283 :K45=[:S45=]:A45=|:\
284 :S53=;:S54=\072:K55=-:S55=_:\
285 :K104=,:S104=,:\
286 :l1#62:a0:
287
288# untested
289no|norway|Norwegian mapping:\
290 :K1=|:\
291 :K13=\\:S13=`:A13=':p1#13:\
292 :K41=\346:S41=\306:\
293 :K40=\370:S40=\330:\
294 :A45=:\
295 :tc=denmark:
296
297# untested
298pt|portugal|Portugesian mapping:\
299 :K1=\\:S1=|:\
300 :S3=":A3=@:A4=\243:A5=\247:S7=&:S8=/:A8={:S9=(:A9=[:\
301 :S10=):A10=]:S11=}:A11==:\
302 :K12=':S12=\077:\
303 :K13=\253:S13=\273:\
304 :K40=\347:S40=\307:\
305 :K41=\272:S41=\252:\
306 :K42=~:S42=^:p1#42:\
307 :K45=<:S45=>:\
308 :S53=;:S54=\072:K55=-:S55=_:\
309 :l1#62:a0:
310
311# Contributed by Mats O Jansson, moj@stacken.kth.se
312# "Here is my map, rather large, but i want ALTGR normaly to be dead.
313# Only seven bit national characters have been placed where national characters
314# is on the keyboard."
315# We can help this man, just use the 'a0' capability -hv-
316s1|sweden1|Swedish mapping:\
317 :l1#62:a0:\
318 :D1:\
319 :K12=+:K13=':K29=':\
320 :S2=!:S3=":S4=#:S5=$:S6=%:S7=&:S8=/:\
321 :S9=(:S10=):S11=\075:S12=\077:S13=`:S29=*:\
322 :C2=:C3=\000:C4=\033:C5=\034:C6=\035:C7=:C8=:C9=:\
323 :C10=:C11=:C12=:C13=:C29=:\
324 :A3=\100:A5=$:A8={:\
325 :A9=[:A10=]:A11=}:A12=\134:\
326 :K27=]:K28=:\
327 :S27=}:S28=\136:\
328 :C27=\035:C28=:\
329 :A28=\176:\
330 :K40=\134:K41=[:\
331 :S40=|:S41={:\
332 :C40=\034:C41=\033:\
333 :K45=<:K53=,:K54=.:K55=-:\
334 :S45=>:S53=;:S54=\072:S55=_:\
335 :C45=\034:C53=:C54=:C55=:\
336 :A45=|:\
337 :C61=\000:
338
339# Contributed by Mats O Jansson, moj@stacken.kth.se
340# "Here is my map, rather large, but i want ALTGR normaly to be dead.
341# Only seven bit national characters have been placed where national
342# characters is on the keyboard."
343# We can help this man, just use the 'a0' capability -hv-
344# Corrected by Paul Pries, 5322@msg.abc.se (Some national shifts were
345# wrong).
346sa|sweden1a|Swedish 7bit mapping ISO 646:\
347:l1#62:a0:\
348:D1:\
349:K12=+:K13=':K29=':\
350:S2=!:S3=":S4=#:S5=$:S6=%:S7=&:S8=/:\
351:S9=(:S10=):S11=\075:S12=\077:S13=`:S29=*:\
352:C2=:C3=\000:C4=\033:C5=\034:C6=\035:C7=:C8=:C9=:\
353:C10=:C11=:C12=:C13=:C29=:\
354:A3=\100:A5=$:A8={:\
355:A9=[:A10=]:A11=}:A12=\134:\
356:K27=}:K28=:\
357:S27=]:S28=\136:\
358:C27=\035:C28=:\
359:A28=\176:\
360:S40=\134:S41=[:\
361:K40=|:K41={:\
362:C40=\034:C41=\033:\
363:K45=<:K53=,:K54=.:K55=-:\
364:S45=>:S53=;:S54=\072:S55=_:\
365:C45=\034:C53=:C54=:C55=:\
366:A45=|:\
367:C61=\000:
368
369# Swedish keyboard map with national characters.
370# Paul Pries, 5322@msg.abc.se
371s2|sweden2|Swedish 8bit mapping ISO 8859-1:\
372:l1#62:\
373:K1=\247:S1=:\
374:K12=+:K13=':K29=':\
375:S2=!:S3=":S4=#:S5=$:S6=%:S7=&:S8=/:\
376:S9=(:S10=):S11=\075:S12=\077:S13=`:S29=*:\
377:C2=:C3=\000:C4=\033:C5=\034:C6=\035:C7=:C8=:C9=:\
378:C10=:C11=:C12=:C13=:C29=:\
379:A3=\100:A4=\234:A5=$:A8={:\
380:A9=[:A10=]:A11=}:A12=\134:\
381:K27=\206:K28=:\
382:S27=\217:S28=\136:\
383:C27=\035:C28=:\
384:A28=\176:\
385:S40=\231:S41=\216:\
386:K40=\224:K41=\204:\
387:C40=\034:C41=\033:\
388:K45=<:K53=,:K54=.:K55=-:\
389:S45=>:S53=;:S54=\072:S55=_:\
390:C45=\034:C53=:C54=:C55=:\
391:A45=|:\
392:C61=\000:
393
394c1|swissde|Swiss German mapping:\
395 :K1=\247:S1=\260:p1#1:\
396 :S2=+:A2=|:S3=":A3=@:S4=*:A4=#:S5=\347:S7=&:A7=\254:\
397 :S8=/:A8=\246:S9=(:A9=\242:S10=):S11==:\
398 :K12=`:S12=\077:A12=':p2#12:\
399 :K13=^:S13=\\:A13=~:p3#13:\
400 :K22=z:S22=Z:C22=\032:\
401 :S27=\350:K27=\374:A27=[:\
402 :K28=\250:S28=!:A28=]:\
403 :S40=\351:K40=\366:\
404 :S41=\340:K41=\344:A41={:\
405 :K42=$:S42=\243:A42=}:\
406 :K45=<:S45=>:A45=\\:\
407 :K46=y:S46=Y:C46=\031:
408 :S53=;:S54=\072:K55=-:S55=_:\
409 :l1#62:a0:
410
411c2|swissfr|Swiss French mapping:\
412 :K27=\350:S27=\374:A27=[:\
413 :K40=\351:S40=\366:\
414 :K41=\340:S41=\344:A41={:\
415 :tc=swissde:
416
417# untested
418es|spain|Spainish mapping:\
419 :K1=\272:S1=\252:A1=\\:\
420 :A2=|:S3=":A3=@:S4=:A4=#:S7=&:A7=\254:S8=/:S9=(:S10=):S11==:\
421 :K12=':S12=\077:p1#12:\
422 :K13=\277:S13=\241:\
423 :K27=`:S27=^:A27=[:p2#27:\
424 :K28=+:S28=*:A28=]:\
425 :K40=\361:S41=\321:\
426 :K41=/:S41=\250:A41={:p3#41:\
427 :K42=\347:S42=\307:A42=}:\
428 :K45=<:S45=>:\
429 :S53=;:S54=\072:\
430 :K55=-:S55=_:\
431 :K104=,:S104=,:\
432 :l1#62:a0:
433
434# this *is* tested :-)
435us|usa|United States mapping:\
436 :de:
437
438# Cyrillic koi8 by Serge Vakulenko
439# Delete remapped to ^[[K
440# Shift-Tab remapped to ^[[z
441# Caps Lock is ALTGRLOCK
442# Right Alt key is CAPSLOCK
443# Use TERM=pc3nc!
444k8|koi8|Good old cyrillic KOI8:\
445 :fn0=/usr/share/misc/font/koi8x16.bdf:\
446 :K76=^[[K:A76=^[[K:S16=^[[z:X16=^[[z:ag#30:ca#62:la#2:\
447 :X3=":X4=':X6=\72:X7=,:X8=.:X9=;:\
448 :M24=\246:M25=\266:M37=\247:M38=\267:M19=\244:M20=\264:\
449 :M35=\255:M36=\275:M22=\256:M23=\276:\
450 :A1=~\243:A17=~\312:A18=~\303:A19=~\325:A20=~\313:A21=~\305:A22=~\316:\
451 :A23=~\307:A24=~\333:A25=~\335:A26=~\332:A27=~\310:A28=~\337:A31=~\306:\
452 :A32=~\331:A33=~\327:A34=~\301:A35=~\320:A36=~\322:A37=~\317:A38=~\314:\
453 :A39=~\304:A40=~\326:A41=~\334:A46=~\321:A47=~\336:A48=~\323:A49=~\315:\
454 :A50=~\311:A51=~\324:A52=~\330:A53=~\302:A54=~\300:\
455 :X1=\263:X17=\352:X18=\343:X19=\365:X20=\353:X21=\345:X22=\356:\
456 :X23=\347:X24=\373:X25=\375:X26=\372:X27=\350:X28=\377:X31=\346:\
457 :X32=\371:X33=\367:X34=\341:X35=\360:X36=\362:X37=\357:X38=\354:\
458 :X39=\344:X40=\366:X41=\374:X46=\361:X47=\376:X48=\363:X49=\355:\
459 :X50=\351:X51=\364:X52=\370:X53=\342:X54=\340:
460
461#
462# Greek ISO 8859-7 (ELOT 928) Keyboard
463# K J Dryllerakis 1993. Contributed to codrv and 386bsd May 1993
464#
465# Altgr toggles between Latin-Greek Interpretation of keyboard
466# (should indicate that in caps lock LED)
467#
468# hv: Note this keymap is incomplete in that it lacks a method for
469# representing accents. This is a known problem of codrv-0.1.2
470# and will be corrected in a later version.
471#
472gr|greek|Greek ISO-8859-7 on AT Class Keyboards:\
473 :fn0=/usr/share/misc/fonts/8x16elot928.bdf:\
474 :l1#60:ag#62:ca#30:la#2:p1#40:\
475 :A17=;:X17=\072:A18=~\362:X18=\323:A19=~\345:X19=\305:\
476 :A20=~\361:X20=\321:A21=~\364:X21=\324:A22=~\365:X22=\325:\
477 :A23=~\350:X23=\310:A24=~\351:X24=\311:A25=~\357:X25=\317:\
478 :A26=~\360:X26=\320:\
479 :A31=~\341:X31=\301:A32=~\363:X32=\323:A33=~\344:X33=\304:\
480 :A34=~\366:X34=\326:A35=~\343:X35=\303:A36=~\347:X36=\307:\
481 :A37=~\356:X37=\316:A38=~\352:X38=\312:A39=~\353:X39=\313:\
482 :A46=~\346:X46=\306:A47=~\367:X47=\327:A48=~\370:X48=\330:\
483 :A49=~\371:X49=\331:A50=~\342:X50=\302:A51=~\355:X51=\315:\
484 :A52=~\354:X52=\314:
485
486