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

« back to all changes in this revision

Viewing changes to unix/xc/nls/XLC_LOCALE/koi8-u

  • 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
XCOMM  $XFree86: xc/nls/XLC_LOCALE/koi8-u,v 1.2 2000/12/01 17:43:03 dawes Exp $
 
2
XCOMM  XLocale Database Sample for koi8-u.
 
3
XCOMM 
 
4
 
 
5
XCOMM 
 
6
XCOMM   XLC_FONTSET category
 
7
XCOMM 
 
8
XLC_FONTSET
 
9
XCOMM   fs0 class (7 bit ASCII)
 
10
fs0     {
 
11
        charset {
 
12
                name            ISO8859-1:GL
 
13
        }
 
14
        font    {
 
15
                primary         KOI8-U:GL
 
16
                substitute      ISO8859-1:GL
 
17
        }
 
18
}
 
19
XCOMM   fs1 class 
 
20
fs1     {
 
21
        charset         KOI8-U:GR
 
22
        font            KOI8-U:GR
 
23
}
 
24
END XLC_FONTSET
 
25
 
 
26
XCOMM
 
27
XCOMM   XLC_CHARSET_DEFINE category
 
28
XCOMM
 
29
XLC_CHARSET_DEFINE
 
30
csd0    {
 
31
        charset_name    KOI8-U
 
32
        side            GR
 
33
        length          1
 
34
        string_encoding False
 
35
        sequence        \x1b%/1
 
36
}
 
37
END XLC_CHARSET_DEFINE
 
38
 
 
39
XCOMM 
 
40
XCOMM   XLC_XLOCALE category
 
41
XCOMM 
 
42
XLC_XLOCALE
 
43
 
 
44
encoding_name           KOI8-U
 
45
mb_cur_max              1
 
46
state_depend_encoding   False
 
47
#if WCHAR32
 
48
wc_encoding_mask        \x30000000
 
49
wc_shift_bits           7
 
50
#else
 
51
wc_encoding_mask        \x00008080
 
52
wc_shift_bits           8
 
53
#endif
 
54
 
 
55
#ifndef X_LOCALE
 
56
use_stdc_env            True
 
57
#endif
 
58
 
 
59
XCOMM   cs0 class
 
60
cs0     {
 
61
        side            GL:Default
 
62
        length          1
 
63
        wc_encoding     \x00000000
 
64
        ct_encoding     KOI8-U:GL; ISO8859-1:GL
 
65
}
 
66
 
 
67
 
 
68
XCOMM   cs1 class
 
69
cs1     {
 
70
        side            GR:Default
 
71
        length          1
 
72
#if WCHAR32
 
73
        wc_encoding     \x30000000
 
74
#else
 
75
        wc_encoding     \x00008080
 
76
#endif
 
77
        ct_encoding     KOI8-U:GR
 
78
}
 
79
 
 
80
END XLC_XLOCALE