On Thu, Nov 19, 2009 at 12:14:24AM +0200, Anton Zinoviev wrote:
> On Wed, Nov 18, 2009 at 09:48:53PM +0100, Tibor Zenis wrote:
> > Hello,
> > the original bug is still present. To complete the upgrade I had to
> > change the XkbLayout to "us" (file /etc/default/console-setup).
> 
> Do you mean that version 1.47 spans >1000 grep, sed, sort processes?  
> This was the bug I believe was fixed.  Or something different happens 
> this time?  Can you send your /etc/default/{keyboard,console-setup} 
> files so I can make tests.
> 
Upgrade to version 1.47 spans many processes. I can't reproduce this
behaviour by reinstallation of the console-setup. The behaviour might be
changed after installation of the keyboard-configuration package.
I attach the /etc/default/console-setup (screwed by
keyboard-configuration) and the keyboard definition file
/usr/share/X11/xkb/symbols/sk_tz.

        Tibor Zenis

-- 
,..,.,..,.,..,.,..,.,..,.,..,
; Tibor Zenis               ;
: zenis @ fmph . uniba . sk :
'``'`'``'`'``'`'``'`'``'`'``'
# Change to "yes" and setupcon will explain what is being doing
VERBOSE_OUTPUT="no"

# Setup these consoles.  Most people do not need to change this.
ACTIVE_CONSOLES="/dev/tty1"

# Put here your encoding.  Valid charmaps are: UTF-8 ARMSCII-8 CP1251
# CP1255 CP1256 GEORGIAN-ACADEMY GEORGIAN-PS IBM1133 ISIRI-3342
# ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6
# ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13
# ISO-8859-14 ISO-8859-15 ISO-8859-16 KOI8-R KOI8-U TIS-620 VISCII
CHARMAP="ISO-8859-2"

# The codeset determines which symbols are supported by the font.
# Valid codesets are: Arabic Armenian CyrAsia CyrKoi CyrSlav Ethiopian
# Georgian Greek Hebrew Lao Lat15 Lat2 Lat38 Lat7 Thai Uni1 Uni2 Uni3
# Vietnamese.  Read README.fonts for explanation.
CODESET="Uni2"

# Valid font faces are: VGA (sizes 8, 14 and 16), Terminus (sizes
# 12x6, 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBold (sizes
# 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBoldVGA (sizes 14
# and 16), Fixed (sizes 13, 14, 15, 16 and 18), Goha (sizes 12, 14 and
# 16), GohaClassic (sizes 12, 14 and 16).
# Set FONTFACE and FONTSIZE to empty strings if you want setupcon to
# set up the keyboard but to leave the console font unchanged.
FONTFACE="VGA"
FONTSIZE="16"

# You can also directly specify nonstandard font or console map to load.
# Use space as separator if you want to load more than one font.
# You can use FONT_MAP in order to specify the Unicode map of the font
# in case the font doesn't have it embedded.

# FONT='lat9w-08.psf.gz /usr/local/share/braillefonts/brl-08.psf'
# FONT_MAP=/usr/share/consoletrans/lat9u.uni
# CONSOLE_MAP=/usr/local/share/consoletrans/my_special_encoding.acm


if [ -f /etc/default/keyboard ]; then
    . /etc/default/keyboard
fi
######################################################################
# You can remove the lines that follow.  They contain the contents of
# this file before version 1.47 of console-setup.
######################################################################
# # A configuration file for setupcon
# 
# # Change to "yes" and setupcon will explain what is being doing
# VERBOSE_OUTPUT=no
# 
# # Setup these consoles.  Most people do not need to change this.
# ACTIVE_CONSOLES="/dev/tty1"
# 
# # Put here your encoding.  Valid charmaps are: UTF-8 ARMSCII-8 CP1251
# # CP1255 CP1256 GEORGIAN-ACADEMY GEORGIAN-PS IBM1133 ISIRI-3342
# # ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6
# # ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13
# # ISO-8859-14 ISO-8859-15 ISO-8859-16 KOI8-R KOI8-U TIS-620 VISCII
# CHARMAP="ISO-8859-2"
# 
# # The codeset determines which symbols are supported by the font.
# # Valid codesets are: Arabic Armenian CyrAsia CyrKoi CyrSlav Ethiopian
# # Georgian Greek Hebrew Lao Lat15 Lat2 Lat38 Lat7 Thai Uni1 Uni2 Uni3
# # Vietnamese.  Read README.fonts for explanation.
# CODESET="Uni2"
# 
# # Valid font faces are: VGA (sizes 8, 14 and 16), Terminus (sizes
# # 12x6, 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBold (sizes
# # 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBoldVGA (sizes 14
# # and 16), Fixed (sizes 13, 14, 15, 16 and 18), Goha (sizes 12, 14 and
# # 16), GohaClassic (sizes 12, 14 and 16).
# FONTFACE="VGA"
# FONTSIZE="16"
# 
# # You can also directly specify nonstandard font and ACM to load.
# # Use space as separator if you want to load more than one font.
# # FONT='lat9w-08.psf.gz /usr/local/share/brailefonts/brl-08.psf'
# # ACM=/usr/local/share/consoletrans/my_special_encoding.acm
# 
# 
# # The following variables describe your keyboard and can have the same
# # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# # in /etc/X11/xorg.conf.
# XKBMODEL="pc105"
# XKBLAYOUT="sk_tz"
# XKBVARIANT=""
# XKBOPTIONS="ctrl:nocaps"
# 
// $XFree86$

partial alphanumeric_keys 
xkb_symbols "basic" {
     
     // Describes the differences between a very simple en_US
     // keyboard and a Slovak keyboard
     // This layout conforms to a new sk compromise standard designed 
     // to satisfy myself :-)
     // based on layout by Kamil Toman <kto...@email.cz>
     // 2001 by Radovan Garabik <gara...@melkor.dnp.fmph.uniba.sk>


    include "group(shifts_toggle)"

    name[Group1] = "US";
    name[Group2] = "Slovak";

    key.type = "FOUR_LEVEL";

    key <TLDE> {
                 [     quoteleft,      asciitilde,
                        semicolon,      dead_abovering   ],
                 [     quoteleft,      asciitilde,
                        semicolon,      dead_abovering   ]  };
    key <AE01>  {
                    [   1,              exclam,
                        plus,           dead_tilde ],
                     [  plus,           exclam,
                        1,              dead_tilde ] };
    key <AE02>  { 
                    [   2,         at, 
                        lacute,         dead_caron ],
                    [   lacute,         at, 
                        2,              dead_caron ] };
    key <AE03>  { 
                    [   3,              numbersign,
                        scaron,         dead_circumflex ],
                    [   scaron,         numbersign,
                        3,              dead_circumflex ] };
    key <AE04>  { 
                    [   4,              dollar,
                        ccaron,         dead_breve ],
                    [   ccaron,         dollar,
                        4,              dead_breve ] };
    key <AE05>  { 
                    [   5,              percent,
                        tcaron,         dead_abovering ],
                    [   tcaron,         percent,
                        5,              dead_abovering ] };
    key <AE06>  { 
                    [   6,              asciicircum,
                        zcaron,         dead_ogonek ],
                    [   zcaron,         asciicircum,
                        6,              dead_ogonek ] };
    key <AE07>  { 
                    [   7,              ampersand,
                        yacute,         dead_grave ],
                    [   yacute,         ampersand,
                        7,              dead_grave ] };
    key <AE08>  { 
                    [   8,              asterisk,
                        aacute,         dead_abovedot ],
                    [   aacute,         asterisk,
                        8,              dead_abovedot ] };
    key <AE09>  { 
                    [   9,              parenleft,
                        iacute,         dead_acute ],
                    [   iacute,         parenleft,
                        9,              dead_acute ] };
    key <AE10>  { 
                    [   0,              parenright,
                        eacute,         dead_doubleacute ],
                    [   eacute,         parenright,
                        0,              dead_doubleacute ] };
    key <AE11>  { 
                    [   minus,          underscore,
                        dead_diaeresis, equal ],
                    [   minus,          underscore,
                        dead_diaeresis, equal ] };
    key <AE12>  { 
                    [   equal,          plus,
                        dead_macron,    dead_cedilla ],
                    [   dead_acute,     dead_caron,
                        dead_macron,    dead_cedilla ] };

    key <AD01>  { 
                    [   q,              Q,
                        ecaron, Ecaron ],
                    [   q,              Q,
                        ecaron, Ecaron ] };
    key <AD02>  { 
                    [   w,              W,
                        EuroSign,       yen ],
                [       w,              W,
                        EuroSign,       yen ] };
    key <AD03>  { 
                    [   e,              E,
                        eacute,         Eacute ],
                [       e,              E,
                        eacute,         Eacute ] };
    key <AD04>  { 
                    [   r,              R,              
                        racute,         Racute ],
                [       r,              R,              
                        racute,         Racute ] };
    key <AD05>  { 
                    [   t,              T,
                        tcaron,         Tcaron ],
                [       t,              T,
                        tcaron,         Tcaron ] };
    key <AD06>  { 
                    [   y,              Y,
                        yacute,         Yacute ],
                [       y,              Y,
                        yacute,         Yacute ] };
    key <AD07>  { 
                    [   u,              U,
                        uacute,         Uacute ],
                [       u,              U,
                        uacute,         Uacute ] };
    key <AD08>  { 
                    [   i,              I,
                        iacute,         Iacute ],
                [       i,              I,
                        iacute,         Iacute ] };
    key <AD09>  { 
                    [   o,              O,
                        oacute,         Oacute ],
                [       o,              O,
                        oacute,         Oacute ] };
    key <AD10>  { 
                    [   p,              P,
                        ocircumflex,    Ocircumflex ],
                [       p,              P,
                        ocircumflex,    Ocircumflex ] };

    key <AD11>  {
                     [  bracketleft,  braceleft,
                        uacute,         slash  ],
                 [      bracketleft,  braceleft,
                        uacute,         slash  ] };
    key <AD12>  { 
                    [   bracketright, braceright,
                        adiaeresis,     parenleft ],
                [       bracketright, braceright,
                        adiaeresis,     parenleft ] };

    key <AC01>  { 
                    [   a,              A,
                        aacute,         Aacute ],
                [       a,              A,
                        aacute,         Aacute ] };
    key <AC02>  { 
                    [   s,              S,
                        scaron,         Scaron ],
                [       s,              S,
                        scaron,         Scaron ] };
    key <AC03>  { 
                    [   d,              D,
                        dcaron,         Dcaron ],
                [       d,              D,
                        dcaron,         Dcaron ] };
    key <AC04>  { 
                    [   f,              F,
                        rcaron,         Rcaron  ],
                [       f,              F,
                        rcaron,         Rcaron  ] };
    key <AC05>  { 
                    [   g,              G,
                        bracketright,   NoSymbol ],
                [       g,              G,
                        bracketright,   NoSymbol ] };
    key <AC06>  { 
                    [   h,              H,
                        grave,          NoSymbol ],
                [       h,              H,
                        grave,          NoSymbol ] };
    key <AC07>  { 
                    [   j,              J,
                        udiaeresis,     Udiaeresis ],
                [       j,              J,
                        udiaeresis,     Udiaeresis ] };
    key <AC08>  { 
                    [   k,              K,
                        lacute,         Lacute ],
                [       k,              K,
                        lacute,         Lacute ] };
    key <AC09>  { 
                    [   l,              L,
                        lcaron,         Lcaron ],
                [       l,              L,
                        lcaron,         Lcaron ] };
                  
    key <AC10>  { 
                    [   semicolon,      colon,
                        ocircumflex,    quotedbl ],
                [       semicolon,      colon,
                        ocircumflex,    quotedbl ] };
    key <AC11>  { 
                    [   quoteright,     quotedbl,
                        section,        exclam ],
                [       quoteright,     quotedbl,
                        section,        exclam ] };
    key <AC12>  { 
                    [     EuroSign,       dead_diaeresis,
                        NoSymbol,       NoSymbol ],
                [     EuroSign,       dead_diaeresis,
                        NoSymbol,       NoSymbol ] };
    key <BKSL>  { 
                    [   backslash,    bar,
                        ncaron,         parenright ],
                [       backslash,    bar,
                        ncaron,         parenright ] };

    key <LSGT>  { 
                    [   less,    greater,
                        backslash,      bar ],
                [       less,    greater,
                        backslash,      bar ] };
    key <AB01>  { 
                    [   z,              Z,
                        zcaron,         Zcaron ],
                [       z,              Z,
                        zcaron,         Zcaron ] };
    key <AB02>  { 
                    [   x,              X,
                        adiaeresis,     Adiaeresis ],
                [       x,              X,
                        adiaeresis,     Adiaeresis ] };
    key <AB03>  { 
                    [   c,              C,
                        ccaron,         Ccaron ],
                [       c,              C,
                        ccaron,         Ccaron ] };
    key <AB04>  { 
                    [   v,              V,
                        uring,          Uring ],
                [       v,              V,
                        uring,          Uring ] };
    key <AB05>  { 
                    [   b,              B,
                        ssharp,         NoSymbol ],
                [       b,              B,
                        ssharp,         NoSymbol ] };
    key <AB06>  { 
                    [   n,              N,
                        ncaron,         Ncaron ],
                [       n,              N,
                        ncaron,         Ncaron ] };
    key <AB07>  { 
                    [   m,              M,
                        odiaeresis,     Odiaeresis ],
                [       m,              M,
                        odiaeresis,     Odiaeresis ] };
    key <AB08>  { 
                    [   comma,    less,
                        comma,          question ],
                [       comma,    less,
                        comma,          question ] };
    key <AB09>  { 
                    [   period,    greater,
                        period,         colon ],
                [       period,    greater,
                        period,         colon ] };
    key <AB10>  { 
                    [   slash,    question,
                        minus,          underscore ],
                [       slash,    question,
                        minus,          underscore ] };

    key <SPCE>  { 
                    [   space,          space,
                        nobreakspace,   nobreakspace ],
                [       space,          space,
                        nobreakspace,   nobreakspace ] };

    // This certainly shouldn't be 'comma'. Something like KP_DecimalComma
    // would be better but there's no such definition in keysyms.
    key <KPDL>  { type="FOUR_LEVEL_KEYPAD", [   KP_Delete,      KP_Decimal,
                                                KP_Delete,      comma] };

    key <RALT> {  type="TWO_LEVEL", [ ISO_Level3_Shift, ISO_Level3_Shift ] };
    // key <MENU> {  type="TWO_LEVEL", [ ISO_Level3_Shift, ISO_Level3_Shift ] };
    key <MENU> {  type="TWO_LEVEL", [ Multi_key, Multi_key ] };
    modifier_map Mod5   { <RALT> };                     
    // modifier_map Mod5   { <MENU> };                  

};
                        

Reply via email to