~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/xkbcomp/symbols/sapmi

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Northern Sami keyboards for Finland, Norway and Sweden
 
2
//
 
3
// Describes the differences between a very simple en_US
 
4
// keyboard and a Norwegian Northern Sami keyboard (with 
 
5
// dead key support) according to the spec on
 
6
// http://www.hum.uit.no/a/trond/se-lat9-no-keys.html
 
7
// Written by B�rre Gaup <boerre.gaup@pc.nu>
 
8
// 
 
9
// $XFree86: xc/programs/xkbcomp/symbols/sapmi,v 1.1 2001/11/21 21:20:55 dawes Exp $
 
10
//
 
11
// Quick usage 
 
12
// For a Norwegian Northern Sami setup: 
 
13
//      setxkbmap -layout sapmi
 
14
// For a Swedish/Finnish Northern Sami setup:
 
15
//      setxkbmap -layout "sapmi(sefi)"
 
16
// For a Swedish/Finnish Northern Sami setup, with an en_US keyboard as Group3:
 
17
//      setxkbmap "sapmi(sefi)+us_group3"
 
18
 
 
19
partial alphanumeric_keys 
 
20
 xkb_symbols "basic" {
 
21
 
 
22
 
 
23
    name[Group1]= "S�megiella";
 
24
 
 
25
    key <TLDE> {        [             bar,         section      ],
 
26
                        [       brokenbar,       paragraph      ]};
 
27
    key <AE01> {        [               1,          exclam      ],
 
28
                        [       copyright,      exclamdown      ]};
 
29
    key <AE02> {        [               2,        quotedbl      ],
 
30
                        [              at,      registered      ]};
 
31
    key <AE03> {        [               3,      numbersign      ],
 
32
                        [        sterling,            less      ]};
 
33
    key <AE04> {        [               4,          dollar      ],
 
34
                        [          dollar,         greater      ]};
 
35
 
 
36
    // 0x2022 BULLET and 0x2030 PER MILLE SIGN
 
37
    key <AE05> {        [               5,         percent      ],
 
38
                        [      0x01002022,      0x01002030      ]};
 
39
    key <AE06> {        [               6,       ampersand      ],
 
40
                        [         section,       paragraph      ]};
 
41
    key <AE07> {        [               7,           slash      ],
 
42
                        [       braceleft,             bar      ]};
 
43
    key <AE08> {        [               8,       parenleft      ],
 
44
                        [     bracketleft,       braceleft      ]};
 
45
    key <AE09> {        [               9,      parenright      ],
 
46
                        [    bracketright,      braceright      ]};
 
47
    key <AE10> {        [               0,           equal      ],
 
48
                        [      braceright,        notequal      ]};
 
49
    key <AE11> {        [            plus,        question      ],
 
50
                        [        division,    questiondown      ]};
 
51
    key <AE12> {        [       backslash,           grave      ],
 
52
                        [           acute,      asciitilde      ]};
 
53
 
 
54
 
 
55
    key <AD01> {        [          aacute,          Aacute      ],
 
56
                        [               q,               Q      ]};
 
57
    key <AD02> {        [          scaron,          Scaron      ],
 
58
                        [               w,               W      ]};
 
59
    key <AD03> {        [               e,               E      ],
 
60
                        [          eacute,          Eacute      ]};
 
61
    key <AD04> {        [               r,               R      ],
 
62
                        [      registered,       trademark      ]};
 
63
    key <AD05> {        [               t,               T      ],
 
64
                        [          tslash,          Tslash      ]};
 
65
    key <AD06> {        [               y,               Y      ],
 
66
                        [          yacute,          Yacute      ]};
 
67
    key <AD07> {        [               u,               U      ],
 
68
                        [      udiaeresis,      Udiaeresis      ]};
 
69
    key <AD08> {        [               i,               I      ],
 
70
                        [      idiaeresis,      Idiaeresis      ]};
 
71
    key <AD09> {        [               o,               O      ],
 
72
                        [              oe,              OE      ]};
 
73
    key <AD10> {        [               p,               P      ],
 
74
                        [           thorn,           THORN      ]};
 
75
    key <AD11> {        [           aring,           Aring      ],
 
76
                        [     acircumflex,     Acircumflex      ]};
 
77
    key <AD12> {        [             eng,             ENG      ],
 
78
                        [        quotedbl,     asciicircum      ]};
 
79
 
 
80
    key <AC01> {        [               a,               A      ],
 
81
                        [          agrave,          Agrave      ]};
 
82
    key <AC02> {        [               s,               S      ],
 
83
                        [          ssharp,      apostrophe      ]};
 
84
    key <AC03> {        [               d,               D      ],
 
85
                        [             eth,             ETH      ]};
 
86
    key <AC04> {        [               f,               F      ],
 
87
                        [     ordfeminine,     ordfeminine      ]};
 
88
    key <AC05> {        [               g,               G      ],
 
89
                        [          gcaron,          Gcaron      ]};
 
90
    // 0x01e5 LATIN SMALL LETTER G WITH STROKE and 
 
91
    // 0x01e4 LATIN CAPITAL LETTER G WITH STROKE
 
92
    key <AC06> {        [               h,               H      ],
 
93
                        [      0x010001e5,      0x010001e4   ]};
 
94
    key <AC07> {        [               j,               J      ],
 
95
                        [         notsign,        multiply      ]};
 
96
    // 0x01e9 LATIN SMALL LETTER K WITH CARON and
 
97
    // 0x01e8 LATIN CAPITAL LETTER K WITH CARON
 
98
    key <AC08> {        [               k,               K      ],
 
99
                        [      0x010001e9,      0x010001e8      ]};
 
100
    key <AC09> {        [               l,               L      ],
 
101
                        [          degree,          hyphen      ]};
 
102
    key <AC10> {        [          oslash,        Ooblique      ],
 
103
                        [      odiaeresis,      Odiaeresis      ]};
 
104
    key <AC11> {        [              ae,              AE      ],
 
105
                        [      adiaeresis,      Adiaeresis      ]};
 
106
    key <BKSL> {        [         dstroke,         Dstroke      ],
 
107
                        [      apostrophe,        asterisk      ]};
 
108
 
 
109
    // 0x01ef LATIN SMALL LETTER EZH WITH CARON and
 
110
    // 0x01ee LATIN CAPITAL LETTER EZH WITH CARON
 
111
    key <LSGT> {        [          zcaron,          Zcaron      ],
 
112
                        [      0x010001ef,      0x010001ee      ]};
 
113
    // 0x0292 LATIN SMALL LETTER EZH and
 
114
    // 0x01b7 LATIN CAPITAL LETTER EZH
 
115
    key <AB01> {        [               z,               Z      ],
 
116
                        [      0x01000292,      0x010001b7      ]};
 
117
    key <AB02> {        [          ccaron,          Ccaron      ],
 
118
                        [               x,               X      ]};
 
119
    key <AB03> {        [               c,               C      ],
 
120
                        [        ccedilla,        Ccedilla      ]};
 
121
    key <AB04> {        [               v,               V      ],
 
122
                        [   lessthanequal,  guillemotleft      ]};
 
123
    key <AB05> {        [               b,               B      ],
 
124
                        [greaterthanequal, guillemotright      ]};
 
125
    key <AB06> {        [               n,               N      ],
 
126
                        [leftsinglequotemark,leftdoublequotemark      ]};
 
127
    key <AB07> {        [               m,               M      ],
 
128
                        [rightsinglequotemark,rightdoublequotemark]};
 
129
    key <AB08> {        [           comma,       semicolon      ],
 
130
                        [singlelowquotemark,doublelowquotemark  ]};
 
131
    key <AB09> {        [          period,           colon      ],
 
132
                        [        ellipsis,  periodcentered      ]};
 
133
    key <AB10> {        [           minus,      underscore      ],
 
134
                        [          endash,          emdash      ]};
 
135
 
 
136
    key <SPCE> {        [           space,           space      ],
 
137
                        [    nobreakspace,    nobreakspace      ]};
 
138
 
 
139
    // End alphanumeric section
 
140
 
 
141
    // begin modifier mappings
 
142
    
 
143
    modifier_map Shift  { Shift_L };
 
144
    modifier_map Lock   { Caps_Lock };
 
145
    modifier_map Control{ Control_L };
 
146
    modifier_map Mod3   { Mode_switch };
 
147
};
 
148
 
 
149
 
 
150
 xkb_symbols "sefi" {
 
151
 
 
152
    // Describes the differences between a Norwegian Northern Sami
 
153
    // (keyboard with dead key support) and a Swedish/Finnish Sami
 
154
    // keyboard according to the specs at:
 
155
    // http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html
 
156
 
 
157
    name[Group1]= "S�megiella";
 
158
 
 
159
    include "sapmi(basic)"
 
160
 
 
161
    key <AC10> {        [      odiaeresis,      Odiaeresis      ],
 
162
                        [          oslash,        Ooblique      ]};
 
163
    key <AC11> {        [      adiaeresis,      Adiaeresis      ],
 
164
                        [              ae,              AE      ]};
 
165
};
 
166
 
 
167
partial alphanumeric_keys 
 
168
xkb_symbols "Sundeadkeys" {
 
169
 
 
170
    // For naming consistency
 
171
 
 
172
    include "sapmi(basic)"
 
173
 
 
174
};
 
175
 
 
176
partial alphanumeric_keys 
 
177
xkb_symbols "sundeadkeys" {
 
178
 
 
179
    // For naming consistency
 
180
 
 
181
    include "sapmi(Sundeadkeys)"
 
182
 
 
183
};
 
184
 
 
185
partial alphanumeric_keys 
 
186
xkb_symbols "nodeadkeys" {
 
187
 
 
188
    // Modifies the basic Norwegian layout to eliminate dead keys
 
189
 
 
190
    include "sapmi(basic)"
 
191
    key <AE12> {        [       backslash,           grave      ],
 
192
                        [           acute,          ogonek      ]       };
 
193
 
 
194
};