[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kernel keymap and kbd_mode



Innocenti Maresin <av95@xxxxxxxx> さんは書きました:

> On a *good* Linux [...] should "unicode_stop" change keymap properly?

I also noticed recently, that "unicode_stop" doesn't change
the keymap back to the state it was before calling "unicode_start".

"unicode_start" contains:

    # Change the keyboard mapping in such a way that the non-ASCII keys
    # produce UTF-8 encoded multibyte sequences, instead of single bytes
    # >= 0x80 in a legacy 8-bit encoding.

    dumpkeys | loadkeys --unicode

but "unicode_stop" contains nothing to revert this, i.e.
after calling

    unicode_start
    unicode_stop

non ASCII characters (e.g. German umlauts) still appear as UTF-8
sequences on the console.

Is there a way to revert the effect of "dumpkeys | loadkeys --unicode"
or does one really have to reload the original keymap again with
"loadkeys"?

-- 
Mike Fabian   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/