[kbd] [PATCH] loadkeys: Auto-convert “traditional”/Unicode keysyms

Alexey Gladkov gladkov.alexey at gmail.com
Wed Apr 15 01:37:32 MSD 2009

14.04.2009 21:45, Michael Schutte wrote:
> The Linux kernel distinguishes between K(KTYP, KVAL) keysyms and Unicode
> characters.  This patch makes loadkeys query the console’s Unicode mode
> and convert between the two keysym types according to the result.  The
> theoretical advantage is that less keymaps need both an 8-bit and a
> Unicode variant (cf. trq[u], ua[-utf]).

I have a problem with your patch:

keymap: data/keymaps/i386/qwerty/ruwin_cplk-UTF-8.map

The difference between the old and the new behavior is attached. This
is 'dumpkeys -n' output.

For example keycode 52 = U+044e -> U+f44e:

$ /usr/bin/printf '\u044e\n\uf44e\n'

First character is cyrillic 'yu':


Second is:


And also, you have not updated the documentation for new behaviour.

Rgrds, legion

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: auto-detect-keymaps-ru.diff
URL: <http://lists.altlinux.org/pipermail/kbd/attachments/20090415/3ac244e0/attachment-0001.ksh>

More information about the kbd mailing list