Re: small addition to keyboard driver propose with patch
H. Peter Anvin (hpa@transmeta.com)
29 Dec 1998 17:51:28 GMT
Followup to: <Pine.LNX.4.03.9812291239250.10823-100000@qrnik.knm.org.pl>
By author: "Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl>
In newsgroup: linux.dev.kernel
>
> On Mon, 28 Dec 1998, Stanislav V. Voronyi wrote:
>
> > That was a first version. In latest release to be
> > independed from loaded font/console translation I use
> > inverse_translate(conv_uni_to_pc(unicode_symbol)). There is
> > only way to be correct in any case.
>
> Doesn't this imply that characters not present in the screen font will not
> be translated correctly when entered from the keyboard? Also when the same
> font position is shared between many identically looking characters, they
> will be incorrectly stored e.g. in the edited file. This is very bad and
> I'm sure it can be avoided.
>
Yes, this is incorrect. A new data structure to map from
Unicode->8-bit is required. This presumably should be done using a
similar multilevel table as for the Unicode->font mapping.
-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/