From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <733e4618bd40c06765b233dc3c0a42b4@plan9.escet.urjc.es> To: 9fans@cse.psu.edu Subject: Re: [9fans] devkbmap.c From: Fco.J.Ballesteros In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-lnrudklzecbjqpcyicsqvkryag" Date: Wed, 17 Mar 2004 08:18:39 +0100 Topicbox-Message-UUID: 31e68906-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-lnrudklzecbjqpcyicsqvkryag Content-Disposition: inline Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks a lot! Yet another local diff we can get rid of =E2=98=BA I'll change usbhid to work with this for usb keyboards. --upas-lnrudklzecbjqpcyicsqvkryag Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Tue Mar 16 21:36:33 MET 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 8EEA819D0F; Tue, 16 Mar 2004 15:36:31 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 5DF5E19B6E; Tue, 16 Mar 2004 15:36:25 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 6899C19A0B; Tue, 16 Mar 2004 15:35:22 -0500 (EST) Received: from plan9.cs.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 44B61199E3 for <9fans@cse.psu.edu>; Tue, 16 Mar 2004 15:35:19 -0500 (EST) 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 Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 16 Mar 2004 15:19:04 -0500 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: Content-Transfer-Encoding: quoted-printable 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. --upas-lnrudklzecbjqpcyicsqvkryag--