From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <05c401c0902c$457489c0$0ab9c6d4@cybercable.fr> From: "Boyd Roberts" To: <9fans@cse.psu.edu> References: <20010206020645.7213119A01@mail.cse.psu.edu> <05a601c08fe2$73335a20$0ab9c6d4@cybercable.fr> Subject: Re: [9fans] azerty [french] keyboard support MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Date: Tue, 6 Feb 2001 12:02:17 +0100 Topicbox-Message-UUID: 5a305c10-eac9-11e9-9e20-41e7f4b1d025 > I'll go out on a limb and say that I'd rather not see it in > the kernel at all, though. Maybe a very basic kernel based > driver for basic I/O, but then hook into a user level program > to do all the real processing. kbdfs, anyway? :-) that's a really bad idea. 2 context switches per character typed when all that's required is one translation table in the most extreme case (64k runes * 2 bytes = 128k). obvious that sort of a table is ridiculous, even though 128k now isn't much, but all you need is a table (or set of tables) that cover all the possible scan code and store the matching rune.