Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!email!vmars!hp From: hp@vmars.tuwien.ac.at (Peter Holzer) Newsgroups: comp.os.minix Subject: Re: (none) Message-ID: <1991Jun13.085432.6541@email.tuwien.ac.at> Date: 13 Jun 91 08:54:32 GMT References: <55996@nigel.ee.udel.edu> <1991Jun12.112904.13063@donau.et.tudelft.nl> Sender: news@email.tuwien.ac.at Organization: Technical University Vienna, Dept. for Realtime Systems, AUSTRIA Lines: 33 Nntp-Posting-Host: nowhere.vmars.tuwien.ac.at wolff@dutecaj.et.tudelft.nl (;Rogier Wolff) writes: >badger@sn411.sintef.no (Kristin Utheim) writes: >>What Have We Got? >>----------------- >>We've got a system where, once the new versions of keyboard.c, menu.c and >>boot.h are installed, the keyboard translations can be modified through one >>header file - keymap.h. A quick re-compile and you've got a Danish keyboard >>or a deliberately scrambled keymap for those who think its funny. >aargh! (sorry) Why not just allow "root" to modify the keymap. Make a little ^^^^^^I thought the same when I read that article. Editing some file and a `quick recompile' gives you a new keyboard with the vanilla 1.5 keyboard driver, too. >program that finds the keymap in kmem, and changes it according to a file. >Now simply add a "keymap /usr/lib/danish" command to your /etc/rc file! [...] >I currently don't have time to do it right. sorry. Fortunately you don't have to :-). I wrote a keyboard driver that lets you change the keymap by writing to a minor device some time ago (IMHO this is cleaner than writing programs that poke around in /dev/kmem, but then there are people who say they don't like minor devices and want to do this with an ioctl -- mostly a religious issue). The main problem is that it doesn't work with virtual consoles (yet, maybe I get around to changing this after I have upgraded to 1.6.16). I agree -- | _ | Peter J. Holzer | Think of it | | |_|_) | Technical University Vienna | as evolution | | | | | Dept. for Real-Time Systems | in action! | | __/ | hp@vmars.tuwien.ac.at | Tony Rand |