Re: [PATCH] dead keys in unicode console mode

From: Guest section DW (
Date: Mon Oct 08 2001 - 21:16:18 EST

On Mon, Oct 08, 2001 at 09:53:13PM +0200, Radovan Garabik wrote:
> FWIW, this little patch makes it possible to
> use dead keys in unicode console mode.
> It is against 2.4.10, but should apply cleanly in
> broader range of kernel versions.

> struct kbdiacr {
> - unsigned char diacr, base, result;
> + unsigned char diacr, base;
> + unsigned short int result; /* holds UCS2 value */
> };

And now all existing binaries that use the KDGKBDIACR ioctl
dump core? And all existing binaries that use the KDSKBDIACR
ioctl do very strange things?

If you want to do something like this, a new ioctl and a new
structure are necessary. If you design something new, keep
examples like Vietnamese in mind (with several accents on
one symbol). We do support that now in the 8-bit world,
but complete support of the 16-bit world still requires
some work. (And in the meantime Unicode has already gone beyond.)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:22 EST