Re: [PATCH] dead keys in unicode console mode

Guest section DW (dwguest@win.tue.nl)
Tue, 9 Oct 2001 04:16:18 +0200


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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/