From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: David Presotto To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Subject: [9fans] devkbmap.c Date: Tue, 16 Mar 2004 15:19:04 -0500 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 31712a76-eacd-11e9-9e20-41e7f4b1d025 I included the boyd/forsyth keyboard map stuff in the kernel. man kbmap for details. In general you can bind -a'#=CE=BA' /dev cat /dev/kbmap > /tmp/xxx edit /tmp/xxx cat /tmp/xxx > /dev/kbmap I also changed /sys/src/9/boot/boot.c to automaticly load a map if specified in plan9.ini as kbmap=3D In this case has to be something you can get at before there's a file system so you'll have to make sure its in /boot/. The reason it gets done so early is that factotum starts before you have an fs and it would be nice if your keyboard had the right mapping when you type in your login name ans password. No idea of the boot change works yet. Haven't tested it... As usual, my apologies to the japanese/chinese/etc. I'll put any mapping files I get into /sys/lib/kbmap on sources.