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

« back to all changes in this revision

Viewing changes to unix/xc/programs/xkbcomp/geometry/amiga

  • 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
// $Xorg: amiga,v 1.3 2000/08/17 19:54:35 cpqbld Exp $
 
2
 
 
3
 
 
4
 
 
5
// $XFree86: xc/programs/xkbcomp/geometry/amiga,v 3.3 2001/01/17 23:45:49 dawes Exp $
 
6
 
 
7
default xkb_geometry "usa1" {
 
8
 
 
9
    description= "Amiga (usa1)";
 
10
    width= 490;
 
11
    height= 175;
 
12
 
 
13
    shape.cornerRadius= 1;
 
14
    shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
 
15
    shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
 
16
    shape "FCTS" { { [ 23,18] }, { [2,1], [ 21,17] } };
 
17
    shape "TLDE" { { [ 28,18] }, { [2,1], [ 21,17] } };
 
18
    shape "TABK" { { [ 37,18] }, { [2,1], [ 35,17] } };
 
19
    shape "CTRL" { { [ 23,18] }, { [2,1], [ 21,17] } };
 
20
    shape "CAPS" { { [ 18,18] }, { [2,1], [ 16,17] } };
 
21
    shape "RTRN" {
 
22
        approx = { [ 16, 0], [42,37] },
 
23
        { [16, 0], [42, 0], [42,37],
 
24
          [ 0,37], [ 0,19], [16,19] },
 
25
        { [18, 1], [40, 1], [40,36],
 
26
          [ 2,36], [ 2,20], [18,20] } };
 
27
    shape "LFSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
 
28
    shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
 
29
    shape "MODK" { { [ 23,18] }, { [2,1], [ 21,17] } };
 
30
    shape "SPCE" { { [172,18] }, { [2,1], [170,17] } };
 
31
    shape "DELE" { { [ 28,18] }, { [2,1], [ 26,17] } };
 
32
    shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,17] } };
 
33
    shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
 
34
 
 
35
    section.left= 22;
 
36
    row.left= 1;
 
37
    key.shape= "FCTS";
 
38
    key.gap=  1;
 
39
    section "Function" {
 
40
        top= 28;
 
41
        row {
 
42
            top= 1;
 
43
            keys { { <ESC>, shape="NORM" },
 
44
                   { <FK01>, 9 }, <FK02>, <FK03>, <FK04>, <FK05>,
 
45
                   { <FK06>, 9 }, <FK07>, <FK08>, <FK09>, <FK10>
 
46
            };
 
47
        };
 
48
    }; // End of "Function" section
 
49
 
 
50
    key.shape= "NORM";
 
51
    section "Alpha" {
 
52
        top= 56;
 
53
        row {
 
54
            top= 1;
 
55
            keys { { <TLDE>, shape="TLDE" },
 
56
                   <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
 
57
                   <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
 
58
                   <BKSL>, { <BKSP>, "BKSP" }
 
59
            };
 
60
        };
 
61
        row {
 
62
            top= 20;
 
63
            keys { { <TAB>, "TABK" },
 
64
                   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
 
65
                   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
 
66
                   <AD11>, <AD12>, { <RTRN>, "RTRN", -15 }
 
67
            };
 
68
        };
 
69
        row {
 
70
            top= 39;
 
71
            keys { { <LCTL>, "CTRL" }, { <CAPS>, "CAPS" },
 
72
                   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
 
73
                   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
 
74
                   <AC11>
 
75
            };
 
76
        };
 
77
        row {
 
78
            top= 58;
 
79
            keys { { <LFSH>, "LFSH" },
 
80
                    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
 
81
                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
 
82
                    { <RTSH>, "RTSH" }
 
83
            };
 
84
        };
 
85
        row {
 
86
            top= 77;
 
87
            key.shape= "MODK";
 
88
            keys { { <LALT>, 10 }, <LAMI>,
 
89
                   { <SPCE>, "SPCE" },
 
90
                   <RAMI>, <RALT>
 
91
            };
 
92
        };
 
93
    }; // End of "Alpha" section
 
94
 
 
95
    section "Editing" {
 
96
        top= 56;
 
97
        left= 326;
 
98
        row {
 
99
            top= 1;
 
100
            key.shape = "DELE";
 
101
            keys { <DELE>, <HELP> };
 
102
        };
 
103
        row {
 
104
            top= 39;
 
105
            left = 20;
 
106
            keys { <UP> };
 
107
        };
 
108
        row {
 
109
            top= 58;
 
110
            keys { <LEFT>, <DOWN>, <RGHT> };
 
111
        };
 
112
    }; // End of "Editing" section
 
113
 
 
114
    section "Keypad" {
 
115
        top= 56;
 
116
        left= 392;
 
117
        row {
 
118
            top= 1;
 
119
            keys { <KPLP>, <KPRP>, <KPDV>, <KPMU> };
 
120
        };
 
121
        row {
 
122
            top= 20;
 
123
            keys { <KP7>, <KP8>, <KP9>, <KPSU> };
 
124
        };
 
125
        row {
 
126
            top= 39;
 
127
            keys { <KP4>, <KP5>, <KP6>, <KPAD> };
 
128
        };
 
129
        row {
 
130
            top= 58;
 
131
            keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } };
 
132
        };
 
133
        row {
 
134
            top= 77;
 
135
            keys { { <KP0>, "KP0" }, <KPDC> };
 
136
        };
 
137
    }; // End of "Keypad" section
 
138
 
 
139
};
 
140
 
 
141
xkb_geometry "de" {
 
142
 
 
143
    description= "Amiga (de)";
 
144
    width= 490;
 
145
    height= 175;
 
146
 
 
147
    shape.cornerRadius= 1;
 
148
    shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
 
149
    shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
 
150
    shape "FCTS" { { [ 23,18] }, { [2,1], [ 21,17] } };
 
151
    shape "TLDE" { { [ 28,18] }, { [2,1], [ 26,17] } };
 
152
    shape "TABK" { { [ 37,18] }, { [2,1], [ 35,17] } };
 
153
    shape "CTRL" { { [ 23,18] }, { [2,1], [ 21,17] } };
 
154
    shape "CAPS" { { [ 18,18] }, { [2,1], [ 16,17] } };
 
155
    shape "RTRN" {
 
156
        { [ 0, 0], [28,0], [28,37], [5,37], [5,18], [ 0,18] },
 
157
        { [ 2, 1], [26,1], [26,36], [7,36], [7,17], [ 2,17] } };
 
158
    shape "LFSH" { { [ 32,18] }, { [2,1], [ 29,17] } };
 
159
    shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
 
160
    shape "MODK" { { [ 23,18] }, { [2,1], [ 21,17] } };
 
161
    shape "SPCE" { { [172,18] }, { [2,1], [170,17] } };
 
162
    shape "DELE" { { [ 28,18] }, { [2,1], [ 26,17] } };
 
163
    shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,17] } };
 
164
    shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
 
165
 
 
166
    section.left= 22;
 
167
    row.left= 1;
 
168
    key.shape= "FCTS";
 
169
    key.gap=  1;
 
170
    section "Function" {
 
171
        top= 28;
 
172
        row {
 
173
            top= 1;
 
174
            keys { { <ESC>, shape="NORM" },
 
175
                   { <FK01>, 9 }, <FK02>, <FK03>, <FK04>, <FK05>,
 
176
                   { <FK06>, 9 }, <FK07>, <FK08>, <FK09>, <FK10>
 
177
            };
 
178
        };
 
179
    }; // End of "Function" section
 
180
 
 
181
    key.shape= "NORM";
 
182
    section "Alpha" {
 
183
        top= 56;
 
184
        row {
 
185
            top= 1;
 
186
            keys { { <TLDE>, shape="TLDE" },
 
187
                   <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
 
188
                   <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
 
189
                   <BKSL>, { <BKSP>, "BKSP" }
 
190
            };
 
191
        };
 
192
        row {
 
193
            top= 20;
 
194
            keys { { <TAB>, "TABK" },
 
195
                   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
 
196
                   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
 
197
                   <AD11>, <AD12>, { <RTRN>, "RTRN" }
 
198
            };
 
199
        };
 
200
        row {
 
201
            top= 39;
 
202
            keys { { <LCTL>, "CTRL" }, { <CAPS>, "CAPS" },
 
203
                   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
 
204
                   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
 
205
                   <AC11>, <AC12>
 
206
            };
 
207
        };
 
208
        row {
 
209
            top= 58;
 
210
            keys { { <LFSH>, "LFSH" },
 
211
                    <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
 
212
                    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
 
213
                    { <RTSH>, "RTSH" }
 
214
            };
 
215
        };
 
216
        row {
 
217
            top= 77;
 
218
            key.shape= "MODK";
 
219
            keys { { <LALT>, 14 }, <LAMI>,
 
220
                   { <SPCE>, "SPCE" },
 
221
                   <RAMI>, <RALT>
 
222
            };
 
223
        };
 
224
    }; // End of "Alpha" section
 
225
 
 
226
    section "Editing" {
 
227
        top= 56;
 
228
        left= 326;
 
229
        row {
 
230
            top= 1;
 
231
            key.shape = "DELE";
 
232
            keys { <DELE>, <HELP> };
 
233
        };
 
234
        row {
 
235
            top= 39;
 
236
            left = 20;
 
237
            keys { <UP> };
 
238
        };
 
239
        row {
 
240
            top= 58;
 
241
            keys { <LEFT>, <DOWN>, <RGHT> };
 
242
        };
 
243
    }; // End of "Editing" section
 
244
 
 
245
    section "Keypad" {
 
246
        top= 56;
 
247
        left= 392;
 
248
        row {
 
249
            top= 1;
 
250
            keys { <KPLP>, <KPRP>, <KPDV>, <KPMU> };
 
251
        };
 
252
        row {
 
253
            top= 20;
 
254
            keys { <KP7>, <KP8>, <KP9>, <KPSU> };
 
255
        };
 
256
        row {
 
257
            top= 39;
 
258
            keys { <KP4>, <KP5>, <KP6>, <KPAD> };
 
259
        };
 
260
        row {
 
261
            top= 58;
 
262
            keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } };
 
263
        };
 
264
        row {
 
265
            top= 77;
 
266
            keys { { <KP0>, "KP0" }, <KPDC> };
 
267
        };
 
268
    }; // End of "Keypad" section
 
269
 
 
270
};