Re: small addition to keyboard driver propose with patch

Stanislav V. Voronyi (stas@cnti.uanet.kharkov.ua)
Tue, 29 Dec 1998 16:26:22 +0200


In message <Pine.LNX.4.03.9812291239250.10823-100000@qrnik.knm.org.pl>
Marcin 'Qrczak' K. writes:

>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

Yes, this all true. But is symbols which not display correctly
needed on keyboard ?

>will be incorrectly stored e.g. in the edited file. This is very bad and
>I'm sure it can be avoided.

The only way to avoid all of this - totaly rewrite function
inverse_translate() to make possible translation not from font position
but from Unicode. And add to console driver one another screen buffer
in which will be stored unicode symbols. In this case selection must
work from this buffer and not from screen buffer. But I'm afraid that
now it's not possible while kernel 2.3 not started.

SY, Stanislav Voronyi.

-
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/