File: atari-fr.kmap

package info (click to toggle)
console-data 2%3A1.12-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,396 kB
  • sloc: sh: 3,272; pascal: 472; makefile: 239; perl: 168
file content (269 lines) | stat: -rw-r--r-- 14,133 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
#
#           Keyboard Mapping for Atari Keyboards, French Layout
#           ---------------------------------------------------
#
# Copyright 2004 Bill Allombert
# Based on:
# Copyright 1994 Roman Hodek
# Updated August 1998 Roman Hodek
#
# This file is subject to the terms and conditions of the GNU General Public
# License.  See the file README.legal in the main directory of this archive
# for more details.
#
# Notes:
# ------
#
# This keymap does not use an AltGr key, since the Atari keyboard
# doesn't have such a key. Most times, the Alt key takes over the role
# of AltGr.
#
# Some mappings you might want to know about:
#  - ClrHome is Home (aka Find)
#  - Shift+ClrHome is End (aka Select)
#  - Shift+Up/Down are Page Up/Down (aka Prior/Next)
#  - Alt + the numbers of the keypad lets you enter a character by its
#    decimal code
#  - Shift+Control + one of a,b,c,d,e,f or a number on the keypad lets
#    you enter the hex code of a character
#  - Alt+CapsLock is NumLock
#  - You can enter F11..F20 by pressing Shift+F1..F10
#  - Console (vt) switching:
#     Alt+F1..F10 switch to console 1..10
#     Shift+Alt+F1..F10 switch to console 11..20
#     Control+Alt+F1..F10 switch to console 21..30
#     Shift+Control_Alt+F1..F10 switch to console 31..40
#     Alt+Left/Right switches to previous/next console
#     Alt+Undo switches to last console
#     Alt+Control+Undo sends a keyboard request to the init process; 
#       the default action is to spawn a new console
#  - Kernel information:
#     Alt+Help, Shift+Alt+Help, Control+Alt+Help: system status
#     Control+Help: registers
#     Shift+Help: memory info
#    (Note: with a 2.1 kernel and MAGIC_SYSRQ enabled, Alt+Help is SysRq)
#  - Shift+Undo sends a signal to the current foreground process (same as ^C) 
#  - Alt+Up/Down scroll the console up/down (if implemented in the kernel)
#  - Alt+Ins stops/starts output (Scroll_Lock function, same as ^S/^Q)
#  - Control+Alt+Delete reboots the system, as usual (by sending a request to
#    the init process)
#
# Dead keys (i.e. pressing ^ and e gives , an e with hat) are not
# used, because I consider this annoying. All characters needed for 
# German are possible without deadkeys. If you want them, apply the following
# replacements:
#   grave       -> dead_grave
#   apostrophe  -> dead_acute
#   asciicircum -> dead_circumflex
#   asciitilde  -> dead_tilde
#   quotedbl    -> dead_diaeresis
#   Ctrl-comma  -> dead_cedilla
#
# There is no natural way to generate Meta codes for the characters [,],{,},
# @ and \, that already need Alt to be pressed together with one of the 
# umlaut keys. I've choosen the following scheme, though it may not be
# very intuitive in all cases (who knows a better solution??):
# 1) The key with Alt (and maybe shift) gives the character engraved to the
#    right (i.e. [,@,\,...)
# 2) The key with Control (and maybe shift) gives the control character
#    corresponding the the character engraved to the _right_, if one exists.
#    This happens because the umlaut characters have no corresponding control
#    character anyway.
# 3) The key with Control and Alt (and maybe shift) gives the Meta equivalent
#    (with 8. bit set or prepended by ESC) of the character engraved to the
#    right. Again, Meta's of the umlaut characters do not exist, since they
#    already have their 8. bit set.
# One could argue that it would be more consistent to require Alt and Control
# to be pressed to get the control characters (case 2). That's true, but in
# my opinion, it is even more inconsistent to generate Meta codes without the
# Alt key pressed (but just with Control). And it would be very bad, if the
# Meta versions of [,{,@,... could not be typed at all!
#
# I've kept the convention that the digit keys 2..8 on the main keyboard
# generate the control characters not corresponding to letters (^@, ^[ .. ^_
# and ^?=DEL) when pressed with Control. It is convention, too, that the shift
# key must not be pressed for this effect. Also, Meta+Control plus these keys
# give the Metas of these controls.
#
# The current loadkeys (0.96) doesn't know names for KP_Parenleft (0x0312) and
# KP_Parenright, so I had to write them down as hex codes :-(
#

charset "iso-8859-1"
keymaps 0-1,4-5,8-9,12-13
strings as usual
compose as usual for "iso-8859-1"

#             plain            Shift            Control          Shift+Control               Alt              Shift+Alt        Control+Alt      Shift+Ctrl+Alt
keycode   1 = Escape           Escape           Escape           Escape                      Meta_Escape      Meta_Escape      Meta_Escape      Meta_Escape
keycode   2 = ampersand        one              VoidSymbol       VoidSymbol                  Meta_ampersand   Meta_one         VoidSymbol       VoidSymbol
keycode   3 = eacute           two              nul              VoidSymbol                  Meta_eacute      Meta_two         Meta_nul         VoidSymbol
keycode   4 = quotedbl         three            Escape           VoidSymbol                  Meta_quotedbl    Meta_three       Meta_Escape      VoidSymbol

keycode   5 = apostrophe       four             Control_backslash VoidSymbol                 Meta_apostrophe  Meta_four        Meta_Control_backslash VoidSymbol
keycode   6 = parenleft        five             Control_bracketright VoidSymbol              Meta_parenleft   Meta_five        Meta_Control_bracketright VoidSymbol
keycode   7 = section          six              Control_asciicircum VoidSymbol               Meta_section     Meta_six         Meta_Control_asciicircum VoidSymbol
keycode   8 = egrave           seven            Control_underscore VoidSymbol                Meta_egrave      Meta_seven       Meta_Control_underscore VoidSymbol
keycode   9 = exclam           eight            Delete           VoidSymbol                  Meta_exclam      Meta_eight       Meta_Delete      VoidSymbol
keycode  10 = ccedilla         nine             VoidSymbol       VoidSymbol                  Meta_ccedilla    Meta_nine        VoidSymbol       VoidSymbol
keycode  11 = agrave           zero             VoidSymbol       VoidSymbol                  Meta_agrave      Meta_zero        VoidSymbol       VoidSymbol
keycode  12 = parenright       degree           VoidSymbol       VoidSymbol                  Meta_parenright  Meta_degree      VoidSymbol       VoidSymbol
keycode  13 = minus             underscore      VoidSymbol       VoidSymbol                  Meta_minus       Meta_underscore  VoidSymbol       VoidSymbol
keycode  14 = Delete           Delete           Delete           Delete                      Meta_Delete      Meta_Delete      Meta_Delete      Meta_Delete
keycode  15 = Tab              Tab              Tab              Tab                         Meta_Tab         Meta_Tab         Meta_Tab         Meta_Tab
keycode  16 = +a
keycode  17 = +z
keycode  18 = +e
 shift control keycode 18 = Hex_E
keycode  19 = +r
keycode  20 = +t
keycode  21 = +y
keycode  22 = +u
keycode  23 = +i
keycode  24 = +o
keycode  25 = +p
keycode  26 = dead_circumflex dead_diaeresis    Escape              VoidSymbol               bracketleft   braceleft         Meta_Escape         VoidSymbol
keycode  27 = dollar        asterisk            Control_bracketright VoidSymbol              bracketright  braceright        Meta_Control_bracketright VoidSymbol
keycode  28 = Return           Return           Return           Return                      Meta_Control_m   Meta_Control_m   Return           Return
keycode  29 = Control
keycode  30 = +q
 shift control keycode 30 = Hex_A
keycode  31 = +s
keycode  32 = +d
 shift control keycode 32 = Hex_D
keycode  33 = +f
 shift control keycode 33 = Hex_F
keycode  34 = +g
keycode  35 = +h
keycode  36 = +j
keycode  37 = +k
keycode  38 = +l
# Escape = Control-[
keycode  39 = +m
keycode  40 = ugrave           percent    Control_backslash Control_backslash                backslash        Meta_percent   VoidSymbol VoidSymbol
keycode  41 = grave            sterling   Control_asciicircum Control_asciicircum            Meta_grave       Meta_sterling  Meta_Control_asciicircum Meta_Control_asciicircum
keycode  42 = Shift
keycode  43 = numbersign       bar               VoidSymbol      VoidSymbol                  at               asciitilde        VoidSymbol      VoidSymbol
keycode  44 = +w
keycode  45 = +x
keycode  46 = +c
 shift control keycode 46 = Hex_C
keycode  47 = +v
keycode  48 = +b
 shift control keycode 48 = Hex_B
keycode  49 = +n
keycode  50 = comma           question          VoidSymbol      VoidSymbol                   Meta_comma      Meta_question     VoidSymbol      VoidSymbol
keycode  51 = semicolon       period            VoidSymbol      VoidSymbol                   Meta_semicolon  Meta_period       VoidSymbol      VoidSymbol
keycode  52 = colon           slash             VoidSymbol      VoidSymbol                   Meta_colon       Meta_slash        VoidSymbol      VoidSymbol
keycode  53 = equal            plus       Control_underscore Control_underscore              Meta_equal       Meta_plus   Meta_Control_underscore Meta_Control_underscore
keycode  54 = Shift
keycode  55 =
keycode  56 = Alt
keycode  57 = space            space             nul             nul                         Meta_space       Meta_space        Meta_nul        Meta_nul
keycode  58 = Caps_Lock
 alt keycode  58 = Num_Lock        
keycode  59 = F1               F11               F1              F1                          Console_1        Console_11        Console_21      Console_31
keycode  60 = F2               F12               F2              F2                          Console_2        Console_12        Console_22      Console_32
keycode  61 = F3               F13               F3              F3                          Console_3        Console_13        Console_23      Console_33
keycode  62 = F4               F14               F4              F4                          Console_4        Console_14        Console_24      Console_34
keycode  63 = F5               F15               F5              F5                          Console_5        Console_15        Console_25      Console_35
keycode  64 = F6               F16               F6              F6                          Console_6        Console_16        Console_26      Console_36
keycode  65 = F7               F17               F7              F7                          Console_7        Console_17        Console_27      Console_37
keycode  66 = F8               F18               F8              F8                          Console_8        Console_18        Console_28      Console_38
keycode  67 = F9               F19               F9              F9                          Console_9        Console_19        Console_29      Console_39
keycode  68 = F10              F20               F10             F10                         Console_10       Console_20        Console_30      Console_40
keycode  69 =
keycode  70 =
# ClrHome
keycode  71 = Find             Select           Find             Select                      Find             Select           Find             Select
keycode  72 = Up               Prior            Up               Prior                       Scroll_Backward  Prior            Up               Prior
keycode  73 =
keycode  74 = KP_Subtract     
keycode  75 = Left            
 alt keycode  75 = Decr_Console
keycode  76 =
keycode  77 = Right           
 alt keycode  77 = Incr_Console
keycode  78 = KP_Add          
keycode  79 =
keycode  80 = Down             Next             Down             Next                        Scroll_Forward   Next             Down             Next
keycode  81 =
keycode  82 = Insert
 alt keycode  82 = Scroll_Lock
keycode  83 = Remove           Remove           Remove           Remove                      Meta_Delete      Meta_Delete      Boot             Meta_Delete
keycode  84 =
keycode  85 =
keycode  86 =
keycode  87 =
keycode  88 =
keycode  89 =
keycode  90 =
keycode  91 =
keycode  92 =
keycode  93 =
keycode  94 =
keycode  95 =
keycode  96 = less             greater          VoidSymbol       VoidSymbol                  Meta_less        Meta_greater     VoidSymbol       VoidSymbol
# F246 = Undo
keycode  97 = F246             Break            F246             F246                        Last_Console     F246             Spawn_Console    F246
keycode  98 = Help             Show_Memory      Show_Registers   VoidSymbol                  Show_State       Show_State       Show_State       VoidSymbol
keycode  99 = 0x0312 # K_PPARENL; loadkeys has no symbol for this :-(
keycode 100 = 0x0313 # K_PPARENR
keycode 101 = KP_Divide
keycode 102 = KP_Multiply
keycode 103 = KP_7
 shift keycode 103 = Find
 shift control keycode 103 = Hex_7
 alt keycode 103 = Ascii_7
keycode 104 = KP_8            
 shift keycode 104 = Up
 shift control keycode 104 = Hex_8
 alt keycode 104 = Ascii_8
keycode 105 = KP_9            
 shift keycode 105 = Prior
 shift control keycode 105 = Hex_9
 alt keycode 105 = Ascii_9
keycode 106 = KP_4            
 shift keycode 106 = Right
 shift control keycode 106 = Hex_4
 alt keycode 106 = Ascii_4
keycode 107 = KP_5            
 shift control keycode 107 = Hex_5
 alt keycode 107 = Ascii_5
keycode 108 = KP_6            
 shift keycode 108 = Left
 shift control keycode 108 = Hex_6
 alt keycode 108 = Ascii_6
keycode 109 = KP_1            
 shift keycode 109 = Select
 shift control keycode 109 = Hex_1
 alt keycode 109 = Ascii_1
keycode 110 = KP_2            
 shift keycode 110 = Down
 shift control keycode 110 = Hex_2
 alt keycode 110 = Ascii_2
keycode 111 = KP_3            
 shift keycode 111 = Next
 shift control keycode 111 = Hex_3
 alt keycode 111 = Ascii_3
keycode 112 = KP_0            
 shift keycode 112 = Insert
 shift control keycode 112 = Hex_0
 alt keycode 112 = Ascii_0
keycode 113 = KP_Period       
 shift keycode 113 = Remove
 alt control keycode 113 = Boot
keycode 114 = KP_Enter        
keycode 115 =
keycode 116 =
keycode 117 =
keycode 118 =
keycode 119 =
keycode 120 =
keycode 121 =
keycode 122 =
keycode 123 =
keycode 124 =
keycode 125 =
keycode 126 =
keycode 127 =