* [9fans] devkbmap.c @ 2004-03-16 20:19 David Presotto 2004-03-16 20:51 ` boyd, rounin 2004-03-17 7:18 ` Fco.J.Ballesteros 0 siblings, 2 replies; 3+ messages in thread From: David Presotto @ 2004-03-16 20:19 UTC (permalink / raw) To: 9fans I included the boyd/forsyth keyboard map stuff in the kernel. man kbmap for details. In general you can bind -a'#κ' /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=<file> In this case <file> 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] devkbmap.c 2004-03-16 20:19 [9fans] devkbmap.c David Presotto @ 2004-03-16 20:51 ` boyd, rounin 2004-03-17 7:18 ` Fco.J.Ballesteros 1 sibling, 0 replies; 3+ messages in thread From: boyd, rounin @ 2004-03-16 20:51 UTC (permalink / raw) To: 9fans nice one! ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] devkbmap.c 2004-03-16 20:19 [9fans] devkbmap.c David Presotto 2004-03-16 20:51 ` boyd, rounin @ 2004-03-17 7:18 ` Fco.J.Ballesteros 1 sibling, 0 replies; 3+ messages in thread From: Fco.J.Ballesteros @ 2004-03-17 7:18 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 123 bytes --] Thanks a lot! Yet another local diff we can get rid of ☺ I'll change usbhid to work with this for usb keyboards. [-- Attachment #2: Type: message/rfc822, Size: 2409 bytes --] From: David Presotto <presotto@closedmind.org> To: 9fans@cse.psu.edu Subject: [9fans] devkbmap.c Date: Tue, 16 Mar 2004 15:19:04 -0500 Message-ID: <f993aa36145be471e49a0bd23ca0a3a7@plan9.bell-labs.com> I included the boyd/forsyth keyboard map stuff in the kernel. man kbmap for details. In general you can bind -a'#κ' /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=<file> In this case <file> 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-17 7:18 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-03-16 20:19 [9fans] devkbmap.c David Presotto 2004-03-16 20:51 ` boyd, rounin 2004-03-17 7:18 ` Fco.J.Ballesteros
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).