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

« back to all changes in this revision

Viewing changes to unix/xc/programs/xkbcomp/symbols/iso9995-3

  • 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: iso9995-3,v 1.3 2000/08/17 19:54:43 cpqbld Exp $
 
2
partial alphanumeric_keys alternate_group 
 
3
xkb_symbols "basic101" {
 
4
    // Part 3 of ISO9995 specifies a common alternate character set
 
5
    // This file adds that common set to any keyboard for which a 
 
6
    // second group is not defined.  It does *not* specify any of
 
7
    // 9995's special modifiers (ISO lock, group locks, etc).
 
8
    // If you want a fully compliant ISO keyboard, add "iso9995-full"
 
9
    // instead
 
10
    name[Group2]= "ISO9995-3";
 
11
    key <TLDE> {        [], [           notsign                 ]       };
 
12
    key <AE01> {        [], [ onesuperior,      exclamdown      ]       };
 
13
    key <AE02> {        [], [ twosuperior,      oneeighth       ]       };
 
14
    key <AE03> {        [], [ threesuperior,    sterling        ]       };
 
15
    key <AE04> {        [], [ onequarter,       dollar          ]       };
 
16
    key <AE05> {        [], [ onehalf,          threeeighths    ]       };
 
17
    key <AE06> {        [], [ threequarters,    fiveeighths     ]       };
 
18
    key <AE07> {        [], [ braceleft,        seveneighths    ]       };
 
19
    key <AE08> {        [], [ bracketleft,      trademark       ]       };
 
20
    key <AE09> {        [], [ bracketright,     plusminus       ]       };
 
21
    key <AE10> {        [], [ braceright,       degree          ]       };
 
22
    key <AE11> {        [], [ backslash,        questiondown    ]       };
 
23
    key <AE12> {        [], [ dead_cedilla,     dead_ogonek     ]       };
 
24
 
 
25
    key <AD01> {        [], [ at,               Greek_OMEGA     ]       };
 
26
    key <AD02> {        [], [ lstroke,          Lstroke         ]       };
 
27
//  key <AD03> {        [], [ oe,               OE              ]       };
 
28
    key <AD04> {        [], [ paragraph,        registered      ]       };
 
29
    key <AD05> {        [], [ tslash,           Tslash          ]       };
 
30
    key <AD06> {        [], [ leftarrow,        yen             ]       };
 
31
    key <AD07> {        [], [ downarrow,        uparrow         ]       };
 
32
    key <AD08> {        [], [ rightarrow,       idotless        ]       };
 
33
    key <AD09> {        [], [ oslash,           Ooblique        ]       };
 
34
    key <AD10> {        [], [ thorn,            Thorn           ]       };
 
35
    key <AD11> {        [], [ dead_diaeresis,   dead_abovering  ]       };
 
36
    key <AD12> {        [], [ dead_tilde,       dead_macron     ]       };
 
37
 
 
38
    key <AC01> {        [], [ ae,               AE              ]       };
 
39
    key <AC02> {        [], [ ssharp,           section         ]       };
 
40
    key <AC03> {        [], [ eth,              Eth             ]       };
 
41
    key <AC04> {        [], [ dstroke,          ordfeminine     ]       };
 
42
    key <AC05> {        [], [ eng,              ENG             ]       };
 
43
    key <AC06> {        [], [ hstroke,          Hstroke         ]       };
 
44
//  key <AC07> {        [], [ ij,               IJ              ]       };
 
45
    key <AC08> {        [], [ kra,              ampersand       ]       };
 
46
    key <AC09> {        [], [ lstroke,          Lstroke         ]       };
 
47
    key <AC10> {        [], [ dead_acute,       dead_doubleacute]       };
 
48
    key <AC11> {        [], [ dead_circumflex,  dead_caron      ]       };
 
49
    key <BKSL> {        [], [ dead_grave,       dead_breve      ]       };
 
50
 
 
51
    key <AB01> {        [], [ guillemotleft,    less            ]       };
 
52
    key <AB02> {        [], [ guillemotright,   greater         ]       };
 
53
    key <AB03> {        [], [ cent,             copyright       ]       };
 
54
    key <AB04> {        [], [ leftdoublequotemark, quoteleft    ]       };
 
55
    key <AB05> {        [], [ rightdoublequotemark, quoteright  ]       };
 
56
//  key <AB06> {        [], [ apostrophe_small_n, musicalnote   ]       };
 
57
    key <AB07> {        [], [ mu,               masculine       ]       };
 
58
    key <AB08> {        [], [ horizconnector,   multiply        ]       };
 
59
    key <AB09> {        [], [ periodcentered,   division        ]       };
 
60
    key <AB10> {        [], [ dead_belowdot,    dead_abovedot   ]       };
 
61
};
 
62
 
 
63
partial default alphanumeric_keys alternate_group 
 
64
xkb_symbols "basic" {
 
65
    include "iso9995-3(basic101)"
 
66
    key <LSGT> {        [], [ bar,              brokenbar       ]       };
 
67
};
 
68
 
 
69
hidden partial alphanumeric_keys alternate_group 
 
70
xkb_symbols "nodeadkeys_common" {
 
71
 
 
72
    // Modifies the basic iso9995-3 layout to eliminate all dead keys
 
73
 
 
74
    key <AE12> {        [], [ cedilla,  ogonek  ]               };
 
75
 
 
76
    key <AD11> {        [], [ diaeresis,        degree  ]       };
 
77
    key <AD12> {        [], [ asciitilde,       macron  ]       };
 
78
    key <AC11> {        [], [ asciicircum,      caron   ]       };
 
79
    key <BKSL> {        [], [ grave,            breve   ]       };
 
80
//  key <AB10> {        [], [ belowdot,         abovedot]       };
 
81
    override key <AB10> {[], [ dead_belowdot,   abovedot        ]       };
 
82
};
 
83
 
 
84
partial alphanumeric_keys alternate_group
 
85
xkb_symbols "nodeadkeys101" {
 
86
    include "iso9995-3(basic101)"
 
87
    include "iso9995-3(nodeadkeys_common)"
 
88
};
 
89
 
 
90
partial alphanumeric_keys alternate_group
 
91
xkb_symbols "nodeadkeys" {
 
92
    include "iso9995-3(basic)"
 
93
    include "iso9995-3(nodeadkeys_common)"
 
94
};
 
95
 
 
96
hidden partial alphanumeric_keys modifier_keys alternate_group 
 
97
xkb_symbols "full_common" {
 
98
    // Defines the special modifier keys specified by 9995 part 3
 
99
    // Includes the iso9995-3 to get the common alternate set
 
100
 
 
101
    SetMods.latchToLock=True;
 
102
    SetMods.clearLocks=True;
 
103
 
 
104
    override key <CAPS> {       [       ISO_Lock                ]       };
 
105
    override key <LFSH> {
 
106
        type="PC_BREAK",
 
107
        [        Shift_L,                       ISO_Prev_Group  ],
 
108
        [ SetMods(modifiers=Shift),     LockGroup(group= -1)    ]
 
109
    };
 
110
    override key <RTSH> {
 
111
        type="PC_BREAK",
 
112
        [       Shift_R,                        ISO_Next_Group ],
 
113
        [ SetMods(modifiers=Shift),     LockGroup(group= +1)    ]
 
114
    };
 
115
 
 
116
    override key <LCTL> {
 
117
        [        Control_L,                     ISO_Prev_Group  ],
 
118
        [ SetMods(modifiers=Shift),     LockGroup(group= -1)    ]
 
119
    };
 
120
    override key <RCTL> {       
 
121
        [        Control_R,                     ISO_Next_Group  ],
 
122
        [ SetMods(modifiers=Shift),     LockGroup(group= +1)    ]
 
123
    };
 
124
    override key <RALT> {
 
125
        [        Mode_switch, Multi_key         ]
 
126
    };
 
127
};
 
128
partial alphanumeric_keys modifier_keys alternate_group 
 
129
xkb_symbols "full" {
 
130
    include "iso9995-3(basic)"
 
131
    include "iso9995-3(full_common)"
 
132
};
 
133
partial alphanumeric_keys modifier_keys alternate_group 
 
134
xkb_symbols "full101" {
 
135
    include "iso9995-3(basic101)"
 
136
    include "iso9995-3(full_common)"
 
137
};