~eugenenuke/ubuntu/wily/console-setup/fix-for-1565542

« back to all changes in this revision

Viewing changes to Keyboard/ckb/symbols/tj

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-01-05 17:02:40 UTC
  • mfrom: (3.2.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110105170240-2i4fqtyjjikwlnit
Tags: 1.57ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Use keymapper to generate decision trees for a restricted subset of
    the pc105 model.
  - If the detect-keyboard debconf plugin is available
    (cdebconf-newt-detect-keys in the installer), then offer to use it to
    detect the keyboard layout.
  - Reset keyboard-configuration/toggle to the default if it's set to "No
    toggling" and you select a non-Latin layout.
  - Change the default font from Fixed to VGA for Lat15; while it's not
    entirely complete, it looks better and is largely good enough.
  - Automatically save the font and keymap to /etc in
    /etc/init.d/console-setup if it isn't being run from init. Similarly,
    ensure that the font and keymap are saved to /etc during initial
    installation.
  - Set keymap and font in the initramfs if possible and sensible.
  - Set default variant for French to oss.
  - Set default for Dutch to us(intl), not just us.
  - Set default layout for Vietnam to 'us'.
  - Set default layout for Kurdish to tr(ku).
  - Stop running debconf-updatepo on clean.
  - Update for new layouts and variants for Montenegro and Serbia, and
    migrate configuration files from the old layouts.
  - Add a "Do not configure keyboard; keep kernel keymap" model option,
    preseedable by keyboard-configuration/modelcode=SKIP.
  - Drop the layout/variant priority to high on fresh installs.
  - Honour OVERRIDE_ALLOW_PRESEEDING environment variable when deciding
    whether to allow preseeding, which is ordinarily only allowed in d-i.
  - If keyboard-configuration/layoutcode is preseeded but not marked as
    seen, then set the default layout but don't lower the layout question
    priority or preseed console-setup/ask_detect.
  - Add an apport hook.
  - Generate a locale locally for translating keyboard names in
    kbdnames-maker.
  - Replace usplash detection code with Plymouth detection code.
  - Move boot tasks to a combination of two udev rules and a single
    Upstart job, ensuring that they're run at points when we are able to
    satisfy the constraints on the relevant ioctls.
  - Depend on kbd (>= 1.15-1ubuntu3) for a valuable loadkeys improvement.
  - Don't try to call update-rc.d if it doesn't exist, such as in d-i.
  - Don't gzip font or ACM files in /etc/console-setup/.  The space saving
    is negligible, and it's more efficient not to need to uncompress them
    at boot time.
  - Remove iconv transliteration.  We don't use non-UTF-8 locales, and it
    breaks ubiquity as we haven't generated the configured locale by the
    time we hit console-setup.
* Go back to always asking layout before variant.
* Migrate from old console-setup/* to new keyboard-configuration/*
  question names.
* Use the default keyboard model if an existing configuration file sets
  XKBMODEL="".
* Exit cleanly from initramfs hook if /etc/default/keyboard or
  /etc/default/console-setup don't exist for some reason (LP: #634402).
* Fix description of upstart job to not incorrectly claim that it sets the
  font (LP: #632366).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $XKeyboardConfig: xkeyboard-config/symbols/tj,v 1.9 2005/08/01 22:11:07 svu Exp $
 
1
// $XKeyboardConfig$
2
2
 
3
 
// based on
4
 
// Tajik keyboard 
5
 
// it is a Russian layout keyboard, with SHCHA replaced with 
6
 
// dead_cedilla/dead_macron
7
 
// that allows to type the SHCHA with dead_cedilla + SHA
8
 
// and all the extra Tajik keys:
9
 
// dead_cedilla + KA, HA --> KA descender, HA descender
10
 
// dead_macron + I, U, GHE --> I macron, U macron, GHE horizontal stroke
11
 
// it requires proper dead_cedilla and dead_macron entries in Compose file
12
 
// it also allows to use Mode_switch when in cyrillic mode to enter
13
 
// special letters by doing Mode_switch + base letter
 
3
// 17/07/2008
 
4
// -------------------------------------------------------------
 
5
// Standard Tojiki Keyboard Layout, Official Standard
 
6
// -------------------------------------------------------------
 
7
// Created by Victor Ibragimov <victor.ibragimov@gmail.com>
 
8
// Tajik Fedora & Software Localization Team
 
9
// -------------------------------------------------------------
 
10
//                        DUAL INPUT METHOD
 
11
// --------------------------------------------------------------------
 
12
// -------------- Tajiki Official Keyboard Layout----------------------
 
13
// --------------------------------------------------------------------
14
14
//
15
 
// AEN <aen@logic.ru> (for the Russian layout)
 
15
 
 
16
partial default alphanumeric_keys
 
17
xkb_symbols "basic"
 
18
{
 
19
        name[Group1] = "Tajikistan";
 
20
 
 
21
        include "kpdl(comma)"
 
22
        include "level3(ralt_switch)"
 
23
 
 
24
        key <AB01> { [    Cyrillic_ya,    Cyrillic_YA                                 ] }; // я Я 
 
25
        key <AB02> { [   Cyrillic_che,   Cyrillic_CHE                                 ] }; // ч Ч 
 
26
        key <AB03> { [    Cyrillic_es,    Cyrillic_ES                                 ] }; // с С 
 
27
        key <AB04> { [    Cyrillic_em,    Cyrillic_EM                                 ] }; // м М 
 
28
        key <AB05> { [     Cyrillic_i,     Cyrillic_I                                 ] }; // и И 
 
29
        key <AB06> { [    Cyrillic_te,    Cyrillic_TE                                 ] }; // т Т 
 
30
        key <AB07> { [      0x10004e3,      0x10004e2                                 ] }; // ӣ Ӣ 
 
31
        key <AB08> { [    Cyrillic_be,    Cyrillic_BE                                 ] }; // б Б 
 
32
        key <AB09> { [    Cyrillic_yu,    Cyrillic_YU                                 ] }; // ю Ю 
 
33
        key <AB10> { [         period,          comma                                 ] }; // . , 
 
34
        key <AC01> { [    Cyrillic_ef,    Cyrillic_EF                                 ] }; // ф Ф 
 
35
        key <AC02> { [      0x10004b7,      0x10004b6                                 ] }; // ҷ Ҷ 
 
36
        key <AC03> { [    Cyrillic_ve,    Cyrillic_VE                                 ] }; // в В 
 
37
        key <AC04> { [     Cyrillic_a,     Cyrillic_A                                 ] }; // а А 
 
38
        key <AC05> { [    Cyrillic_pe,    Cyrillic_PE                                 ] }; // п П 
 
39
        key <AC06> { [    Cyrillic_er,    Cyrillic_ER                                 ] }; // р Р 
 
40
        key <AC07> { [     Cyrillic_o,     Cyrillic_O                                 ] }; // о О 
 
41
        key <AC08> { [    Cyrillic_el,    Cyrillic_EL                                 ] }; // л Л 
 
42
        key <AC09> { [    Cyrillic_de,    Cyrillic_DE                                 ] }; // д Д 
 
43
        key <AC10> { [   Cyrillic_zhe,   Cyrillic_ZHE                                 ] }; // ж Ж 
 
44
        key <AC11> { [     Cyrillic_e,     Cyrillic_E                                 ] }; // э Э 
 
45
        key <AD01> { [ Cyrillic_shorti, Cyrillic_SHORTI                               ] }; // й Й 
 
46
        key <AD02> { [      0x100049b,      0x100049a                                 ] }; // қ Қ 
 
47
        key <AD03> { [     Cyrillic_u,     Cyrillic_U                                 ] }; // у У 
 
48
        key <AD04> { [    Cyrillic_ka,    Cyrillic_KA                                 ] }; // к К 
 
49
        key <AD05> { [    Cyrillic_ie,    Cyrillic_IE                                 ] }; // е Е 
 
50
        key <AD06> { [    Cyrillic_en,    Cyrillic_EN                                 ] }; // н Н 
 
51
        key <AD07> { [   Cyrillic_ghe,   Cyrillic_GHE                                 ] }; // г Г 
 
52
        key <AD08> { [   Cyrillic_sha,   Cyrillic_SHA                                 ] }; // ш Ш 
 
53
        key <AD09> { [      0x10004b3,      0x10004b2                                 ] }; // ҳ Ҳ 
 
54
        key <AD10> { [    Cyrillic_ze,    Cyrillic_ZE                                 ] }; // з З 
 
55
        key <AD11> { [    Cyrillic_ha,    Cyrillic_HA                                 ] }; // х Х 
 
56
        key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN                           ] }; // ъ Ъ 
 
57
        key <AE01> { [              1,         exclam,      0x10000a7                 ] }; // 1 ! § 
 
58
        key <AE02> { [              2,       quotedbl,      0x10000ab,      0x10000bb ] }; // 2 " « » 
 
59
        key <AE03> { [              3,     numerosign                                 ] }; // 3 № 
 
60
        key <AE04> { [              4,      semicolon                                 ] }; // 4 ; 
 
61
        key <AE05> { [              5,        percent                                 ] }; // 5 % 
 
62
        key <AE06> { [              6,          colon,      0x1002013                 ] }; // 6 : – 
 
63
        key <AE07> { [              7,       question,      ampersand                 ] }; // 7 ? & 
 
64
        key <AE08> { [              8,       asterisk                                 ] }; // 8 * 
 
65
        key <AE09> { [              9,      parenleft                                 ] }; // 9 ( 
 
66
        key <AE10> { [              0,     parenright,      0x10000b0                 ] }; // 0 ) ° 
 
67
        key <AE11> { [      0x1000493,      0x1000492,          minus,     underscore ] }; // ғ Ғ - _ 
 
68
        key <AE12> { [      0x10004ef,      0x10004ee,          equal,           plus ] }; // ӯ Ӯ = + 
 
69
        key <BKSL> { [      backslash,          slash                                 ] }; // \ / 
 
70
        key <LSGT> { [          slash,            bar                                 ] }; // / | 
 
71
        key <TLDE> { [    Cyrillic_io,    Cyrillic_IO                                 ] }; // ё Ё 
 
72
};
 
73
 
 
74
// --------------------------------------------------------------------
 
75
// -------------- Tojiki Rusi Keyboard Layout--------------------------
 
76
// --------------------------------------------------------------------
 
77
// AEN <aen@logic.ru>
 
78
// 2001/12/23 by Leon Kanter <leon@blackcatlinux.com>
 
79
// 2005/12/09 Valery Inozemtsev <shrek@altlinux.ru>
16
80
// Pablo Saratxaga <pablo@mandrakesoft> (for the dead keys changes)
17
 
//
18
 
 
19
 
partial default alphanumeric_keys 
20
 
xkb_symbols "basic" {
21
 
 
22
 
    name[Group1]= "Tajikistan";
23
 
 
24
 
    key <TLDE> {        [     Cyrillic_io,     Cyrillic_IO      ]       };
25
 
    key <LSGT> {        [             bar,       brokenbar      ]       };
26
 
    key <AD01> {        [ Cyrillic_shorti, Cyrillic_SHORTI      ]       };
27
 
    key <AE01> {        [               1,          exclam      ]       };
28
 
    key <AB01> {        [     Cyrillic_ya,     Cyrillic_YA      ]       };
29
 
    key <AC02> {        [   Cyrillic_yeru,   Cyrillic_YERU      ]       };
30
 
    key <AC01> {        [     Cyrillic_ef,     Cyrillic_EF      ]       };
31
 
    key <AD02> {        [    Cyrillic_tse,    Cyrillic_TSE      ]       };
32
 
    key <AE02> {        [               2,        quotedbl      ]       };
33
 
    key <AB03> {        [     Cyrillic_es,     Cyrillic_ES      ]       };
34
 
    key <AB02> {        [    Cyrillic_che,    Cyrillic_CHE,     0x010004b7,      0x010004b6     ]        };
35
 
    key <AC03> {        [     Cyrillic_ve,     Cyrillic_VE      ]       };
36
 
    key <AD03> {        [      Cyrillic_u,      Cyrillic_U,     0x010004ef,      0x010004ee     ]        };
37
 
    key <AE04> {        [               4,        asterisk      ]       };
38
 
    key <AE03> {        [               3,      apostrophe      ]       };
39
 
    key <AB04> {        [     Cyrillic_em,     Cyrillic_EM      ]       };
40
 
    key <AC04> {        [      Cyrillic_a,      Cyrillic_A      ]       };
41
 
    key <AD05> {        [     Cyrillic_ie,     Cyrillic_IE      ]       };
42
 
    key <AD04> {        [     Cyrillic_ka,     Cyrillic_KA,     0x0100049b,      0x0100049a     ]        };
43
 
    key <AE05> {        [               5,           colon      ]       };
44
 
    key <AB06> {        [     Cyrillic_te,     Cyrillic_TE      ]       };
45
 
    key <AB05> {        [      Cyrillic_i,      Cyrillic_I,     0x010004e3,      0x010004e2     ]        };
46
 
    key <AC06> {        [     Cyrillic_er,     Cyrillic_ER      ]       };
47
 
    key <AC05> {        [     Cyrillic_pe,     Cyrillic_PE      ]       };
48
 
    key <AD06> {        [     Cyrillic_en,     Cyrillic_EN      ]       };
49
 
    key <AE06> {        [               6,           comma      ]       };
50
 
    key <AB07> {        [Cyrillic_softsign,Cyrillic_SOFTSIGN    ]       };
51
 
    key <AC07> {        [      Cyrillic_o,      Cyrillic_O      ]       };
52
 
    key <AD07> {        [    Cyrillic_ghe,    Cyrillic_GHE,     0x01000493,      0x01000492     ]        };
53
 
    key <AE07> {        [               7,          period      ]       };
54
 
    key <AE08> {        [               8,       semicolon      ]       };
55
 
    key <AB08> {        [     Cyrillic_be,     Cyrillic_BE      ]       };
56
 
    key <AC08> {        [     Cyrillic_el,     Cyrillic_EL      ]       };
57
 
    key <AD08> {        [    Cyrillic_sha,    Cyrillic_SHA,     Cyrillic_shcha,  Cyrillic_SHCHA]         };
58
 
    key <AD09> {        [    dead_cedilla,     dead_macron      ]       };
59
 
    key <AE10> {        [               0,      parenright      ]       };
60
 
    key <AE09> {        [               9,       parenleft      ]       };
61
 
    key <AB09> {        [     Cyrillic_yu,     Cyrillic_YU      ]       };
62
 
    key <AB10> {        [           slash,        question      ]       };
63
 
    key <AC09> {        [     Cyrillic_de,     Cyrillic_DE      ]       };
64
 
    key <AC10> {        [    Cyrillic_zhe,    Cyrillic_ZHE,     0x01000497,      0x01000496     ]        };
65
 
    key <AD10> {        [     Cyrillic_ze,     Cyrillic_ZE      ]       };
66
 
    key <AE11> {        [           minus,      underscore      ]       };
67
 
    key <AC11> {        [      Cyrillic_e,      Cyrillic_E      ]       };
68
 
    key <AD11> {        [     Cyrillic_ha,     Cyrillic_HA,     0x010004b3,      0x010004b2     ]        };
69
 
    key <AE12> {        [           equal,            plus      ]       };
70
 
    key <AD12> {        [Cyrillic_hardsign,Cyrillic_HARDSIGN    ]       };
71
 
 
72
 
    // End alphanumeric section
73
 
 
 
81
// --------------------------------------------------------------------
 
82
 
 
83
xkb_symbols "legacy"
 
84
{
 
85
        name[Group1] = "Tajikistan - Legacy";
 
86
 
 
87
        include "kpdl(comma)"
 
88
        include "level3(ralt_switch)"
 
89
 
 
90
        key <AB01> { [    Cyrillic_ya,    Cyrillic_YA                                 ] }; // я Я 
 
91
        key <AB02> { [   Cyrillic_che,   Cyrillic_CHE,      0x10004b7,      0x10004b6 ] }; // ч Ч ҷ Ҷ 
 
92
        key <AB03> { [    Cyrillic_es,    Cyrillic_ES                                 ] }; // с С 
 
93
        key <AB04> { [    Cyrillic_em,    Cyrillic_EM                                 ] }; // м М 
 
94
        key <AB05> { [     Cyrillic_i,     Cyrillic_I,      0x10004e3,      0x10004e2 ] }; // и И ӣ Ӣ 
 
95
        key <AB06> { [    Cyrillic_te,    Cyrillic_TE                                 ] }; // т Т 
 
96
        key <AB07> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN                           ] }; // ь Ь 
 
97
        key <AB08> { [    Cyrillic_be,    Cyrillic_BE                                 ] }; // б Б 
 
98
        key <AB09> { [    Cyrillic_yu,    Cyrillic_YU                                 ] }; // ю Ю 
 
99
        key <AB10> { [         period,          comma                                 ] }; // . , 
 
100
        key <AC01> { [    Cyrillic_ef,    Cyrillic_EF                                 ] }; // ф Ф 
 
101
        key <AC02> { [  Cyrillic_yeru,  Cyrillic_YERU                                 ] }; // ы Ы 
 
102
        key <AC03> { [    Cyrillic_ve,    Cyrillic_VE                                 ] }; // в В 
 
103
        key <AC04> { [     Cyrillic_a,     Cyrillic_A                                 ] }; // а А 
 
104
        key <AC05> { [    Cyrillic_pe,    Cyrillic_PE                                 ] }; // п П 
 
105
        key <AC06> { [    Cyrillic_er,    Cyrillic_ER                                 ] }; // р Р 
 
106
        key <AC07> { [     Cyrillic_o,     Cyrillic_O                                 ] }; // о О 
 
107
        key <AC08> { [    Cyrillic_el,    Cyrillic_EL                                 ] }; // л Л 
 
108
        key <AC09> { [    Cyrillic_de,    Cyrillic_DE                                 ] }; // д Д 
 
109
        key <AC10> { [   Cyrillic_zhe,   Cyrillic_ZHE                                 ] }; // ж Ж 
 
110
        key <AC11> { [     Cyrillic_e,     Cyrillic_E                                 ] }; // э Э 
 
111
        key <AD01> { [ Cyrillic_shorti, Cyrillic_SHORTI                               ] }; // й Й 
 
112
        key <AD02> { [   Cyrillic_tse,   Cyrillic_TSE                                 ] }; // ц Ц 
 
113
        key <AD03> { [     Cyrillic_u,     Cyrillic_U,      0x10004ef,      0x10004ee ] }; // у У ӯ Ӯ 
 
114
        key <AD04> { [    Cyrillic_ka,    Cyrillic_KA,      0x100049b,      0x100049a ] }; // к К қ Қ 
 
115
        key <AD05> { [    Cyrillic_ie,    Cyrillic_IE                                 ] }; // е Е 
 
116
        key <AD06> { [    Cyrillic_en,    Cyrillic_EN                                 ] }; // н Н 
 
117
        key <AD07> { [   Cyrillic_ghe,   Cyrillic_GHE,      0x1000493,      0x1000492 ] }; // г Г ғ Ғ 
 
118
        key <AD08> { [   Cyrillic_sha,   Cyrillic_SHA                                 ] }; // ш Ш 
 
119
        key <AD09> { [ Cyrillic_shcha, Cyrillic_SHCHA                                 ] }; // щ Щ 
 
120
        key <AD10> { [    Cyrillic_ze,    Cyrillic_ZE                                 ] }; // з З 
 
121
        key <AD11> { [    Cyrillic_ha,    Cyrillic_HA,      0x10004b3,      0x10004b2 ] }; // х Х ҳ Ҳ 
 
122
        key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN                           ] }; // ъ Ъ 
 
123
        key <AE01> { [              1,         exclam,      0x10000a7                 ] }; // 1 ! § 
 
124
        key <AE02> { [              2,       quotedbl,      0x10000ab,      0x10000bb ] }; // 2 " « » 
 
125
        key <AE03> { [              3,     numerosign                                 ] }; // 3 № 
 
126
        key <AE04> { [              4,      semicolon                                 ] }; // 4 ; 
 
127
        key <AE05> { [              5,        percent                                 ] }; // 5 % 
 
128
        key <AE06> { [              6,          colon,      0x1002013                 ] }; // 6 : – 
 
129
        key <AE07> { [              7,       question,      ampersand                 ] }; // 7 ? & 
 
130
        key <AE08> { [              8,       asterisk                                 ] }; // 8 * 
 
131
        key <AE09> { [              9,      parenleft                                 ] }; // 9 ( 
 
132
        key <AE10> { [              0,     parenright                                 ] }; // 0 ) 
 
133
        key <AE11> { [          minus,     underscore                                 ] }; // - _ 
 
134
        key <AE12> { [          equal,           plus                                 ] }; // = + 
 
135
        key <BKSL> { [      backslash,          slash                                 ] }; // \ / 
 
136
        key <LSGT> { [          slash,            bar                                 ] }; // / | 
 
137
        key <TLDE> { [    Cyrillic_io,    Cyrillic_IO                                 ] }; // ё Ё 
74
138
};
 
139