[kbd] [PATCH] loadkeys: Auto-convert “traditional”/Unicode keysyms
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:
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':
And also, you have not updated the documentation for new behaviour.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the kbd