*** empty log message ***
[emacs.git] / leim / quail / czech.el
bloba4d3d4b944ab6ae486aa55ab1bb795ab0d512751
1 ;;; quail/czech.el -- Quail package for inputting Czech
3 ;; Copyright (C) 1998 Free Software Foundation.
5 ;; Author: Milan Zamazal <pdm@fi.muni.cz>
6 ;; Maintainer: Milan Zamazal <pdm@fi.muni.cz>
7 ;; Keywords: multilingual, input method, Czech
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
26 ;;; Commentary:
28 ;; This file defines the following Czech keyboards:
29 ;; - "standard" Czech keyboard in the Windoze NT 105 keys version (both
30 ;; "QWERTZ" and "QWERTY" versions)
31 ;; - three non-standard Czech keyboards for programmers
33 ;;; Code:
35 (require 'quail)
38 (quail-define-package
39 "czech" "Czech" "CZ" nil
40 "\"Standard\" Czech keyboard in the Windoze NT 105 keys version."
41 nil t t t t nil nil nil nil nil t)
43 (quail-define-rules
44 ("1" ?+)
45 ("2" ?\e,Bl\e(B)
46 ("3" ?\e,B9\e(B)
47 ("4" ?\e,Bh\e(B)
48 ("5" ?\e,Bx\e(B)
49 ("6" ?\e,B>\e(B)
50 ("7" ?\e,B}\e(B)
51 ("8" ?\e,Ba\e(B)
52 ("9" ?\e,Bm\e(B)
53 ("0" ?\e,Bi\e(B)
54 ("!" ?1)
55 ("@" ?2)
56 ("#" ?3)
57 ("$" ?4)
58 ("%" ?5)
59 ("^" ?6)
60 ("&" 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("=Z" ?\e,B]\e(B)
121 ("+Y" ?\e,B.\e(B)
122 ("=1" ?!)
123 ("=2" ?@)
124 ("=3" ?#)
125 ("=4" ?$)
126 ("=5" ?%)
127 ("=6" ?^)
128 ("=7" ?&)
129 ("=8" ?*)
130 ("=9" ?\()
131 ("=0" ?\))
132 ("+1" ?!)
133 ("+2" ?@)
134 ("+3" ?#)
135 ("+4" ?$)
136 ("+5" ?%)
137 ("+6" ?^)
138 ("+7" ?&)
139 ("+8" ?*)
140 ("+9" ?\()
141 ("+0" ?\))
142 ("=<" ?<)
143 ("=>" ?>)
144 ("=[" ?\[)
145 ("=]" ?\])
146 ("={" ?{)
147 ("=}" ?})
148 ([kp-1] ?1)
149 ([kp-2] ?2)
150 ([kp-3] ?3)
151 ([kp-4] ?4)
152 ([kp-5] ?5)
153 ([kp-6] ?6)
154 ([kp-7] ?7)
155 ([kp-8] ?8)
156 ([kp-9] ?9)
157 ([kp-0] ?0)
158 ([kp-add] ?+))
160 (quail-define-package
161 "czech-qwerty" "Czech" "CZ" nil
162 "\"Standard\" Czech keyboard in the Windoze NT 105 keys version, QWERTY layout."
163 nil t nil nil t nil nil nil nil nil t)
165 (quail-define-rules
166 ("1" ?+)
167 ("2" ?\e,Bl\e(B)
168 ("3" ?\e,B9\e(B)
169 ("4" ?\e,Bh\e(B)
170 ("5" ?\e,Bx\e(B)
171 ("6" ?\e,B>\e(B)
172 ("7" ?\e,B}\e(B)
173 ("8" ?\e,Ba\e(B)
174 ("9" ?\e,Bm\e(B)
175 ("0" ?\e,Bi\e(B)
176 ("!" ?1)
177 ("@" ?2)
178 ("#" ?3)
179 ("$" ?4)
180 ("%" ?5)
181 ("^" ?6)
182 ("&" ?7)
183 ("*" ?8)
184 ("(" ?9)
185 (")" ?0)
186 ("-" ?=)
187 ("_" ?%)
188 ("[" ?\e,Bz\e(B)
189 ("{" ?/)
190 ("]" ?\))
191 ("}" ?\()
192 ("|" ?`)
193 (";" ?\e,By\e(B)
194 (":" ?\")
195 ("'" ?\e,B'\e(B)
196 ("\"" ?!)
197 ("<" ??)
198 (">" ?:)
199 ("/" ?-)
200 ("?" ?_)
201 ("`" ?\;)
202 ("\\a" ?\e,Bd\e(B)
203 ("\\o" ?\e,Bv\e(B)
204 ("\\s" ?\e,B_\e(B)
205 ("\\u" ?\e,B|\e(B)
206 ("\\A" ?\e,BD\e(B)
207 ("\\O" ?\e,BV\e(B)
208 ("\\S" ?\e,B_\e(B)
209 ("\\U" ?\e,B\\e(B)
210 ("~u" ?\e,By\e(B)
211 ("~U" ?\e,BY\e(B)
212 ("=a" ?\e,Ba\e(B)
213 ("+c" ?\e,Bh\e(B)
214 ("+d" ?\e,Bo\e(B)
215 ("=e" ?\e,Bi\e(B)
216 ("+e" ?\e,Bl\e(B)
217 ("=i" ?\e,Bm\e(B)
218 ("+n" ?\e,Br\e(B)
219 ("=o" ?\e,Bs\e(B)
220 ("+r" ?\e,Bx\e(B)
221 ("+s" ?\e,B9\e(B)
222 ("+t" ?\e,B;\e(B)
223 ("=u" ?\e,Bz\e(B)
224 ("=y" ?\e,B}\e(B)
225 ("+z" ?\e,B>\e(B)
226 ("=A" ?\e,BA\e(B)
227 ("+C" ?\e,BH\e(B)
228 ("+D" ?\e,BO\e(B)
229 ("=E" ?\e,BI\e(B)
230 ("+E" ?\e,BL\e(B)
231 ("=I" ?\e,BM\e(B)
232 ("+N" ?\e,BR\e(B)
233 ("=O" ?\e,BS\e(B)
234 ("+R" ?\e,BX\e(B)
235 ("+S" ?\e,B)\e(B)
236 ("+T" ?\e,B+\e(B)
237 ("=Y" ?\e,B]\e(B)
238 ("+Z" ?\e,B.\e(B)
239 ("=U" ?\e,BZ\e(B)
240 ("=1" ?!)
241 ("=2" ?@)
242 ("=3" ?#)
243 ("=4" ?$)
244 ("=5" ?%)
245 ("=6" ?^)
246 ("=7" ?&)
247 ("=8" ?*)
248 ("=9" ?\()
249 ("=0" ?\))
250 ("+1" ?!)
251 ("+2" ?@)
252 ("+3" ?#)
253 ("+4" ?$)
254 ("+5" ?%)
255 ("+6" ?^)
256 ("+7" ?&)
257 ("+8" ?*)
258 ("+9" ?\()
259 ("+0" ?\))
260 ("=<" ?<)
261 ("=>" ?>)
262 ("=[" ?\[)
263 ("=]" ?\])
264 ("={" ?{)
265 ("=}" ?})
266 ([kp-1] ?1)
267 ([kp-2] ?2)
268 ([kp-3] ?3)
269 ([kp-4] ?4)
270 ([kp-5] ?5)
271 ([kp-6] ?6)
272 ([kp-7] ?7)
273 ([kp-8] ?8)
274 ([kp-9] ?9)
275 ([kp-0] ?0)
276 ([kp-add] ?+))
278 (quail-define-package
279 "czech-prog-1" "Czech" "CZ" nil
280 "Czech (non-standard) keyboard for programmers #1.
282 All digits except of `1' are replaced by Czech characters as on the standard
283 Czech keyboard.
284 `1' is replaced by `+'.
285 `+' is a dead key. Multiple presses of the dead key generate various accents.
286 All other keys are the same as on standard US keyboard."
287 nil t nil nil t nil nil nil nil nil t)
289 (quail-define-rules
290 ("1" ?+)
291 ("2" ?\e,Bl\e(B)
292 ("3" ?\e,B9\e(B)
293 ("4" ?\e,Bh\e(B)
294 ("5" ?\e,Bx\e(B)
295 ("6" ?\e,B>\e(B)
296 ("7" ?\e,B}\e(B)
297 ("8" ?\e,Ba\e(B)
298 ("9" ?\e,Bm\e(B)
299 ("0" ?\e,Bi\e(B)
300 ("+1" ?1)
301 ("+2" ?2)
302 ("+3" ?3)
303 ("+4" ?4)
304 ("+5" ?5)
305 ("+6" ?6)
306 ("+7" ?7)
307 ("+8" ?8)
308 ("+9" ?9)
309 ("+0" ?0)
310 ("+a" ?\e,Ba\e(B)
311 ("++a" ?\e,Bd\e(B)
312 ("+c" ?\e,Bh\e(B)
313 ("+d" ?\e,Bo\e(B)
314 ("+e" ?\e,Bi\e(B)
315 ("++e" ?\e,Bl\e(B)
316 ("+i" ?\e,Bm\e(B)
317 ("+l" ?\e,Be\e(B)
318 ("++l" ?\e,B5\e(B)
319 ("+n" ?\e,Br\e(B)
320 ("+o" ?\e,Bs\e(B)
321 ("++o" ?\e,Bv\e(B)
322 ("+++o" ?\e,Bt\e(B)
323 ("+r" ?\e,Bx\e(B)
324 ("++r" ?\e,B`\e(B)
325 ("+s" ?\e,B9\e(B)
326 ("++s" ?\e,B_\e(B)
327 ("+t" ?\e,B;\e(B)
328 ("+u" ?\e,Bz\e(B)
329 ("++u" ?\e,By\e(B)
330 ("+++u" ?\e,B|\e(B)
331 ("+y" ?\e,B}\e(B)
332 ("+z" ?\e,B>\e(B)
333 ("+A" ?\e,BA\e(B)
334 ("++A" ?\e,BD\e(B)
335 ("+C" ?\e,BH\e(B)
336 ("+D" ?\e,BO\e(B)
337 ("+E" ?\e,BI\e(B)
338 ("++E" ?\e,BL\e(B)
339 ("+I" ?\e,BM\e(B)
340 ("+L" ?\e,BE\e(B)
341 ("++L" ?\e,B%\e(B)
342 ("+N" ?\e,BR\e(B)
343 ("+O" ?\e,BS\e(B)
344 ("++O" ?\e,BV\e(B)
345 ("+++O" ?\e,BT\e(B)
346 ("+R" ?\e,BX\e(B)
347 ("++R" ?\e,B@\e(B)
348 ("+S" ?\e,B)\e(B)
349 ("++S" ?\e,B_\e(B)
350 ("+T" ?\e,B+\e(B)
351 ("+U" ?\e,BZ\e(B)
352 ("++U" ?\e,BY\e(B)
353 ("+++U" ?\e,B\\e(B)
354 ("+Y" ?\e,B]\e(B)
355 ("+Z" ?\e,B.\e(B)
356 ([kp-1] ?1)
357 ([kp-2] ?2)
358 ([kp-3] ?3)
359 ([kp-4] ?4)
360 ([kp-5] ?5)
361 ([kp-6] ?6)
362 ([kp-7] ?7)
363 ([kp-8] ?8)
364 ([kp-9] ?9)
365 ([kp-0] ?0)
366 ([kp-add] ?+))
368 (quail-define-package
369 "czech-prog-2" "Czech" "CZ" nil
370 "Czech (non-standard) keyboard for programmers #2.
372 All digits except of `1' are replaced by Czech characters as on the standard
373 Czech keyboard.
374 `1' is replaced by `\e,By\e(B'.
375 `+' is a dead key. Multiple presses of the dead key generate various accents.
376 All other keys are the same as on standard US keyboard."
377 nil t nil nil t nil nil nil nil nil t)
379 (quail-define-rules
380 ("1" ?\e,By\e(B)
381 ("2" ?\e,Bl\e(B)
382 ("3" ?\e,B9\e(B)
383 ("4" ?\e,Bh\e(B)
384 ("5" ?\e,Bx\e(B)
385 ("6" ?\e,B>\e(B)
386 ("7" ?\e,B}\e(B)
387 ("8" ?\e,Ba\e(B)
388 ("9" ?\e,Bm\e(B)
389 ("0" ?\e,Bi\e(B)
390 ("+1" ?1)
391 ("+2" ?2)
392 ("+3" ?3)
393 ("+4" ?4)
394 ("+5" ?5)
395 ("+6" ?6)
396 ("+7" ?7)
397 ("+8" ?8)
398 ("+9" ?9)
399 ("+0" ?0)
400 ("+a" ?\e,Ba\e(B)
401 ("++a" ?\e,Bd\e(B)
402 ("+c" ?\e,Bh\e(B)
403 ("+d" ?\e,Bo\e(B)
404 ("+e" ?\e,Bi\e(B)
405 ("++e" ?\e,Bl\e(B)
406 ("+i" ?\e,Bm\e(B)
407 ("+l" ?\e,Be\e(B)
408 ("++l" ?\e,B5\e(B)
409 ("+n" ?\e,Br\e(B)
410 ("+o" ?\e,Bs\e(B)
411 ("++o" ?\e,Bv\e(B)
412 ("+++o" ?\e,Bt\e(B)
413 ("+r" ?\e,Bx\e(B)
414 ("++r" ?\e,B`\e(B)
415 ("+s" ?\e,B9\e(B)
416 ("++s" ?\e,B_\e(B)
417 ("+t" ?\e,B;\e(B)
418 ("+u" ?\e,Bz\e(B)
419 ("++u" ?\e,By\e(B)
420 ("+++u" ?\e,B|\e(B)
421 ("+y" ?\e,B}\e(B)
422 ("+z" ?\e,B>\e(B)
423 ("+A" ?\e,BA\e(B)
424 ("++A" ?\e,BD\e(B)
425 ("+C" ?\e,BH\e(B)
426 ("+D" ?\e,BO\e(B)
427 ("+E" ?\e,BI\e(B)
428 ("++E" ?\e,BL\e(B)
429 ("+I" ?\e,BM\e(B)
430 ("+L" ?\e,BE\e(B)
431 ("++L" ?\e,B%\e(B)
432 ("+N" ?\e,BR\e(B)
433 ("+O" ?\e,BS\e(B)
434 ("++O" ?\e,BV\e(B)
435 ("+++O" ?\e,BT\e(B)
436 ("+R" ?\e,BX\e(B)
437 ("++R" ?\e,B@\e(B)
438 ("+S" ?\e,B)\e(B)
439 ("++S" ?\e,B_\e(B)
440 ("+T" ?\e,B+\e(B)
441 ("+U" ?\e,BZ\e(B)
442 ("++U" ?\e,BY\e(B)
443 ("+++U" ?\e,B\\e(B)
444 ("+Y" ?\e,B]\e(B)
445 ("+Z" ?\e,B.\e(B)
446 ([kp-1] ?1)
447 ([kp-2] ?2)
448 ([kp-3] ?3)
449 ([kp-4] ?4)
450 ([kp-5] ?5)
451 ([kp-6] ?6)
452 ([kp-7] ?7)
453 ([kp-8] ?8)
454 ([kp-9] ?9)
455 ([kp-0] ?0)
456 ([kp-add] ?+))
458 (quail-define-package
459 "czech-prog-3" "Czech" "CZ" nil
460 "Czech (non-standard) keyboard for programmers compatible with the default
461 keyboard from the obsolete `emacs-czech' package.
463 All digits except of `1' are replaced by Czech characters as on the standard
464 Czech keyboard.
465 `[' and `]' are replaced with `\e,Bz\e(B' and `\e,By\e(B', respectively.
466 There are two dead keys on `=' and `+'. Characters with diaresis are
467 accessible through `+='.
468 All other keys are the same as on standard US keyboard."
469 nil t nil nil t nil nil nil nil nil t)
471 (quail-define-rules
472 ("2" ?\e,Bl\e(B)
473 ("3" ?\e,B9\e(B)
474 ("4" ?\e,Bh\e(B)
475 ("5" ?\e,Bx\e(B)
476 ("6" ?\e,B>\e(B)
477 ("7" ?\e,B}\e(B)
478 ("8" ?\e,Ba\e(B)
479 ("9" ?\e,Bm\e(B)
480 ("0" ?\e,Bi\e(B)
481 ("[" ?\e,Bz\e(B)
482 ("]" ?\e,By\e(B)
483 ("==" ?=)
484 ("++" ?+)
485 ("=+" ?+)
486 ("=[" ?\[)
487 ("=]" ?\])
488 ("+[" ?\[)
489 ("+]" ?\])
490 ("=1" ?1)
491 ("=2" ?2)
492 ("=3" ?3)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