From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] [Fwd: Alt Gr Key for French keyboard] From: Fco.J.Ballesteros In-Reply-To: <004b01c3bdd9$d005cda0$64844051@SOMA> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Tue, 9 Dec 2003 09:14:37 +0100 Topicbox-Message-UUID: 9e2de5f6-eacc-11e9-9e20-41e7f4b1d025 >> Now, while looking at the file /sys/src/cmd/usb/hid/kbd.c I was >> trying to enter the pound sign # while holding Alt Gr key and >> pressing the "3" key but it just gave me the character "3". > > this is well known. iirc both alt and alt-gr generate 'compose' > and then you can type an arbitrary Rune. this is just wrong. With the change in /sys/src/9/pc/kbd.c that comes along with usbhid kbd you get AltGr generated for the right alt instead of Compose. Perhaps you didnt integrate that change into your kernel.