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