1# $FreeBSD: src/share/syscons/keymaps/ua.koi8-u.shift.alt.kbd,v 1.1.2.5 2002/05/21 14:54:22 sobomax Exp $
2# $DragonFly: src/share/syscons/keymaps/ua.koi8-u.shift.alt.kbd,v 1.2 2003/06/17 04:37:03 dillon Exp $
3#
4# keyboard mapping for both Ukrainian and Russian languages, koi8-u charset.
5#   by sia@lot.cs.kiev.ua
6#   based on ru.koi8-r.kbd by ache@FreeBSD.org
7#   some additions by petr@i.am and kunia@i.am
8#
9#   it has  'i', 'ye','yi',"g'" at positions of '-','=','\','`';
10#       ->`1234567890-=\<-
11#       ->�1234567890���<-
12#   Lwin,Rwin=Meta, Menu=Screensaver
13#   PrScr=NextScreen, Shift+PrScr=PrevScreen
14#                                                         alt
15# scan                       cntrl          alt    alt   cntrl lock
16# code  base   shift  cntrl  shift  alt    shift  cntrl  shift state
17# ------------------------------------------------------------------
18  000   nop    nop    nop    nop    nop    nop    nop    nop     O
19  001   esc    esc    nop    nop    esc    esc    debug  nop     O
20  002   '1'    '!'    nop    nop    '1'    '!'    nop    nop     O
21  003   '2'    '@'    nul    nul    '2'    '"'    128    128     O
22  004   '3'    '#'    nop    nop    '3'    '''    nop    nop     O
23  005   '4'    '$'    nop    nop    '4'    ';'    nop    nop     O
24  006   '5'    '%'    nop    nop    '5'    ':'    nop    nop     O
25  007   '6'    '^'    rs     rs     '6'    ','    158    158     O
26  008   '7'    '&'    nop    nop    '7'    '.'    nop    nop     O
27  009   '8'    '*'    nop    nop    '8'    '*'    nop    nop     O
28  010   '9'    '('    nop    nop    '9'    '('    nop    nop     O
29  011   '0'    ')'    nop    nop    '0'    ')'    nop    nop     O
30  012   '-'    '_'    ns     ns     166    182    159    159     O
31  013   '='    '+'    nop    nop    164    180    nop    nop     O
32  014   bs     bs     del    del    bs     bs     255    255     O
33  015   ht     btab   nop    nop    ht     btab   nop    nop     O
34  016   'q'    'Q'    dc1    dc1    202    234    145    145     C
35  017   'w'    'W'    etb    etb    195    227    151    151     C
36  018   'e'    'E'    enq    enq    213    245    133    133     C
37  019   'r'    'R'    dc2    dc2    203    235    146    146     C
38  020   't'    'T'    dc4    dc4    197    229    148    148     C
39  021   'y'    'Y'    em     em     206    238    153    153     C
40  022   'u'    'U'    nak    nak    199    231    149    149     C
41  023   'i'    'I'    ht     ht     219    251    137    137     C
42  024   'o'    'O'    si     si     221    253    143    143     C
43  025   'p'    'P'    dle    dle    218    250    144    144     C
44  026   '['    '{'    esc    esc    200    232    155    155     O
45  027   ']'    '}'    gs     gs     223    255    157    157     O
46  028   cr     cr     nl     nl     cr     cr     138    138     O
47  029   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
48  030   'a'    'A'    soh    soh    198    230    129    129     C
49  031   's'    'S'    dc3    dc3    217    249    147    147     C
50  032   'd'    'D'    eot    eot    215    247    132    132     C
51  033   'f'    'F'    ack    ack    193    225    134    134     C
52  034   'g'    'G'    bel    bel    208    240    135    135     C
53  035   'h'    'H'    bs     bs     210    242    136    136     C
54  036   'j'    'J'    nl     nl     207    239    138    138     C
55  037   'k'    'K'    vt     vt     204    236    139    139     C
56  038   'l'    'L'    ff     ff     196    228    140    140     C
57  039   ';'    ':'    nop    nop    214    246    nop    nop     O
58  040   '''    '"'    nop    nop    220    252    nop    nop     O
59  041   '`'    '~'    nop    nop    173    189    nop    nop     O
60  042   lshift lshift lshift lshift lshift lshift lshift lshift  O
61  043   '\'    '|'    fs     fs     167    183    156    156     O
62  044   'z'    'Z'    sub    sub    209    241    154    154     C
63  045   'x'    'X'    can    can    222    254    152    152     C
64  046   'c'    'C'    etx    etx    211    243    131    131     C
65  047   'v'    'V'    syn    syn    205    237    150    150     C
66  048   'b'    'B'    stx    stx    201    233    130    130     C
67  049   'n'    'N'    so     so     212    244    142    142     C
68  050   'm'    'M'    cr     cr     216    248    141    141     C
69  051   ','    '<'    nop    nop    194    226    nop    nop     O
70  052   '.'    '>'    nop    nop    192    224    nop    nop     O
71  053   '/'    '?'    nop    nop    163    179    nop    nop     O
72  054   rshift rshift rshift rshift rshift rshift rshift rshift  O
73  055   '*'    '*'    nl     nl     '*'    '*'    138    138     O
74  056   lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O
75  057   ' '    ' '    ' '    ' '    ' '    ' '    160    160     O
76  058   alock  clock  clock  clock  clock  clock  clock  clock   O
77  059   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
78  060   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
79  061   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
80  062   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
81  063   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
82  064   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
83  065   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
84  066   fkey08 fkey20 fkey32 fkey44 scr08  scr08  scr08  scr08   O
85  067   fkey09 fkey21 fkey33 fkey45 scr09  scr09  scr09  scr09   O
86  068   fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
87  069   nlock  nlock  nlock  nlock  nlock  nlock  nlock  nlock   O
88  070   slock  slock  slock  slock  slock  slock  slock  slock   O
89  071   fkey49 '7'    '7'    '7'    183    183    183    183     N
90  072   fkey50 '8'    '8'    '8'    184    184    184    184     N
91  073   fkey51 '9'    '9'    '9'    185    185    185    185     N
92  074   fkey52 '-'    '-'    '-'    173    173    173    173     N
93  075   fkey53 '4'    '4'    '4'    180    180    180    180     N
94  076   fkey48 '5'    '5'    '5'    181    181    181    181     N
95  077   fkey55 '6'    '6'    '6'    182    182    182    182     N
96  078   fkey56 '+'    '+'    '+'    171    171    171    171     N
97  079   fkey57 '1'    '1'    '1'    177    177    177    177     N
98  080   fkey58 '2'    '2'    '2'    178    178    178    178     N
99  081   fkey59 '3'    '3'    '3'    179    179    179    179     N
100  082   fkey60 '0'    '0'    '0'    176    176    176    176     N
101  083   fkey54 '.'    del    del    255    255    boot   halt    N
102  084   alock  alock  alock  alock  alock  alock  alock  alock   O
103  085   nop    nop    nop    nop    nop    nop    nop    nop     O
104  086   nop    nop    nop    nop    nop    nop    nop    nop     O
105  087   fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
106  088   fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
107  089   cr     cr     nl     nl     141    141    138    138     O
108  090   alock  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
109  091   '/'    '/'    nop    nop    175    175    nop    nop     O
110  092   nscr   pscr   debug  nop    nop    nop    nop    nop     O
111  093   ralt   ralt   ralt   ralt   ralt   ralt   ralt   ralt    O
112  094   fkey49 fkey49 fkey69 fkey49 fkey49 fkey49 fkey49 fkey49  O
113  095   fkey50 fkey50 fkey70 fkey50 fkey50 fkey50 fkey50 fkey50  O
114  096   fkey51 fkey51 fkey71 fkey51 fkey51 fkey51 fkey51 fkey51  O
115  097   fkey53 fkey53 fkey73 fkey53 fkey53 fkey53 fkey53 fkey53  O
116  098   fkey55 fkey55 fkey75 fkey55 fkey55 fkey55 fkey55 fkey55  O
117  099   fkey57 fkey57 fkey77 fkey57 fkey57 fkey57 fkey57 fkey57  O
118  100   fkey58 fkey58 fkey78 fkey58 fkey58 fkey58 fkey58 fkey58  O
119  101   fkey59 fkey59 fkey79 fkey59 fkey59 fkey59 fkey59 fkey59  O
120  102   fkey60 fkey60 fkey80 fkey60 fkey60 fkey60 fkey60 fkey60  O
121  103   del    del    fkey81 del    fkey61 fkey61 boot   pdwn    O
122  104   slock  saver  slock  saver  susp   nop    susp   nop     O
123  105   meta   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
124  106   meta   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
125  107   saver  fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
126  108   nop    nop    nop    nop    nop    nop    nop    nop     O
127  109   nop    nop    nop    nop    nop    nop    nop    nop     O
128  110   nop    nop    nop    nop    nop    nop    nop    nop     O
129  111   nop    nop    nop    nop    nop    nop    nop    nop     O
130  112   nop    nop    nop    nop    nop    nop    nop    nop     O
131  113   nop    nop    nop    nop    nop    nop    nop    nop     O
132  114   nop    nop    nop    nop    nop    nop    nop    nop     O
133  115   nop    nop    nop    nop    nop    nop    nop    nop     O
134  116   nop    nop    nop    nop    nop    nop    nop    nop     O
135  117   nop    nop    nop    nop    nop    nop    nop    nop     O
136  118   nop    nop    nop    nop    nop    nop    nop    nop     O
137  119   nop    nop    nop    nop    nop    nop    nop    nop     O
138  120   nop    nop    nop    nop    nop    nop    nop    nop     O
139  121   nop    nop    nop    nop    nop    nop    nop    nop     O
140  122   nop    nop    nop    nop    nop    nop    nop    nop     O
141  123   nop    nop    nop    nop    nop    nop    nop    nop     O
142  124   nop    nop    nop    nop    nop    nop    nop    nop     O
143  125   nop    nop    nop    nop    nop    nop    nop    nop     O
144  126   nop    nop    nop    nop    nop    nop    nop    nop     O
145  127   nop    nop    nop    nop    nop    nop    nop    nop     O
146  128   nop    nop    nop    nop    nop    nop    nop    nop     O
147  129   esc    esc    nop    nop    esc    esc    debug  nop     O
148  130   '1'    '!'    nop    nop    '1'    '!'    nop    nop     O
149  131   '2'    '"'    nul    nul    '2'    '@'    128    128     O
150  132   '3'    '''    nop    nop    '3'    '#'    nop    nop     O
151  133   '4'    ';'    nop    nop    '4'    '$'    nop    nop     O
152  134   '5'    ':'    nop    nop    '5'    '%'    nop    nop     O
153  135   '6'    ','    rs     rs     '6'    '^'    158    158     O
154  136   '7'    '.'    nop    nop    '7'    '&'    nop    nop     O
155  137   '8'    '*'    nop    nop    '8'    '*'    nop    nop     O
156  138   '9'    '('    nop    nop    '9'    '('    nop    nop     O
157  139   '0'    ')'    nop    nop    '0'    ')'    nop    nop     O
158  140   166    182    ns     ns     '-'    '_'    159    159     O
159  141   164    180    nop    nop    '='    '+'    nop    nop     O
160  142   bs     bs     del    del    bs     bs     255    255     O
161  143   ht     btab   nop    nop    ht     btab   nop    nop     O
162  144   202    234    dc1    dc1    'q'    'Q'    145    145     C
163  145   195    227    etb    etb    'w'    'W'    151    151     C
164  146   213    245    enq    enq    'e'    'E'    133    133     C
165  147   203    235    dc2    dc2    'r'    'R'    146    146     C
166  148   197    229    dc4    dc4    't'    'T'    148    148     C
167  149   206    238    em     em     'y'    'Y'    153    153     C
168  150   199    231    nak    nak    'u'    'U'    149    149     C
169  151   219    251    ht     ht     'i'    'I'    137    137     C
170  152   221    253    si     si     'o'    'O'    143    143     C
171  153   218    250    dle    dle    'p'    'P'    144    144     C
172  154   200    232    esc    esc    '['    '{'    155    155     C
173  155   223    255    gs     gs     ']'    '}'    157    157     C
174  156   cr     cr     nl     nl     cr     cr     138    138     O
175  157   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
176  158   198    230    soh    soh    'a'    'A'    129    129     C
177  159   217    249    dc3    dc3    's'    'S'    147    147     C
178  160   215    247    eot    eot    'd'    'D'    132    132     C
179  161   193    225    ack    ack    'f'    'F'    134    134     C
180  162   208    240    bel    bel    'g'    'G'    135    135     C
181  163   210    242    bs     bs     'h'    'H'    136    136     C
182  164   207    239    nl     nl     'j'    'J'    138    138     C
183  165   204    236    vt     vt     'k'    'K'    139    139     C
184  166   196    228    ff     ff     'l'    'L'    140    140     C
185  167   214    246    nop    nop    ';'    ':'    nop    nop     C
186  168   220    252    nop    nop    '''    '"'    nop    nop     C
187  169   173    189    nop    nop    '`'    '~'    nop    nop     C
188  170   lshift lshift lshift lshift lshift lshift lshift lshift  O
189  171   167    183    fs     fs     '\'    '|'    156    156     O
190  172   209    241    sub    sub    'z'    'Z'    154    154     C
191  173   222    254    can    can    'x'    'X'    152    152     C
192  174   211    243    etx    etx    'c'    'C'    131    131     C
193  175   205    237    syn    syn    'v'    'V'    150    150     C
194  176   201    233    stx    stx    'b'    'B'    130    130     C
195  177   212    244    so     so     'n'    'N'    142    142     C
196  178   216    248    cr     cr     'm'    'M'    141    141     C
197  179   194    226    nop    nop    ','    '<'    nop    nop     C
198  180   192    224    nop    nop    '.'    '>'    nop    nop     C
199  181   163    179    nop    nop    '/'    '?'    nop    nop     O
200  182   rshift rshift rshift rshift rshift rshift rshift rshift  O
201  183   '*'    '*'    nl     nl     '*'    '*'    138    138     O
202  184   lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O
203  185   ' '    ' '    ' '    ' '    ' '    ' '    160    160     O
204  186   alock  clock  clock  clock  clock  clock  clock  clock   O
205  187   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
206  188   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
207  189   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
208  190   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
209  191   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
210  192   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
211  193   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
212  194   fkey08 fkey20 fkey32 fkey44 scr08  scr08  scr08  scr08   O
213  195   fkey09 fkey21 fkey33 fkey45 scr09  scr09  scr09  scr09   O
214  196   fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
215  197   nlock  nlock  nlock  nlock  nlock  nlock  nlock  nlock   O
216  198   slock  slock  slock  slock  slock  slock  slock  slock   O
217  199   fkey49 '7'    '7'    '7'    183    183    183    183     N
218  200   fkey50 '8'    '8'    '8'    184    184    184    184     N
219  201   fkey51 '9'    '9'    '9'    185    185    185    185     N
220  202   fkey52 '-'    '-'    '-'    173    173    173    173     N
221  203   fkey53 '4'    '4'    '4'    180    180    180    180     N
222  204   fkey48 '5'    '5'    '5'    181    181    181    181     N
223  205   fkey55 '6'    '6'    '6'    182    182    182    182     N
224  206   fkey56 '+'    '+'    '+'    171    171    171    171     N
225  207   fkey57 '1'    '1'    '1'    177    177    177    177     N
226  208   fkey58 '2'    '2'    '2'    178    178    178    178     N
227  209   fkey59 '3'    '3'    '3'    179    179    179    179     N
228  210   fkey60 '0'    '0'    '0'    176    176    176    176     N
229  211   del    '.'    del    del    255    255    boot   halt    N
230  212   alock  alock  alock  alock  alock  alock  alock  alock   O
231  213   nop    nop    nop    nop    nop    nop    nop    nop     O
232  214   nop    nop    nop    nop    nop    nop    nop    nop     O
233  215   fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
234  216   fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
235  217   cr     cr     nl     nl     141    141    138    138     O
236  218   alock  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
237  219   '/'    '/'    nop    nop    175    175    nop    nop     O
238  220   nscr   pscr   debug  nop    nop    nop    nop    nop     O
239  221   ralt   ralt   ralt   ralt   ralt   ralt   ralt   ralt    O
240  222   fkey49 fkey49 fkey69 fkey49 fkey49 fkey49 fkey49 fkey49  O
241  223   fkey50 fkey50 fkey70 fkey50 fkey50 fkey50 fkey50 fkey50  O
242  224   fkey51 fkey51 fkey71 fkey51 fkey51 fkey51 fkey51 fkey51  O
243  225   fkey53 fkey53 fkey73 fkey53 fkey53 fkey53 fkey53 fkey53  O
244  226   fkey55 fkey55 fkey75 fkey55 fkey55 fkey55 fkey55 fkey55  O
245  227   fkey57 fkey57 fkey77 fkey57 fkey57 fkey57 fkey57 fkey57  O
246  228   fkey58 fkey58 fkey78 fkey58 fkey58 fkey58 fkey58 fkey58  O
247  229   fkey59 fkey59 fkey79 fkey59 fkey59 fkey59 fkey59 fkey59  O
248  230   fkey60 fkey60 fkey80 fkey60 fkey60 fkey60 fkey60 fkey60  O
249  231   del    del    fkey81 del    fkey61 fkey61 boot   pdwn    O
250  232   slock  saver  slock  saver  susp   nop    susp   nop     O
251  233   meta   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
252  234   meta   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
253  235   saver  fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
254  236   nop    nop    nop    nop    nop    nop    nop    nop     O
255