9fans archive / 2001 / 09 / 420 /    prev next

From: "Boyd Roberts" <boyd@fr.inter.net>
Subject: Re: [9fans] Foreign keyboard layout
Date: Sat, 29 Sep 2001 22:49:52 +0200

i think i have found the vileness.  it's 'cos the Latin
key is to the right of the space key and it's scan code
is _known_ by the interrupt handler.  kernel print's sorted
that out -- ugh.  then i remembered it was like that back
in '92 or so, iirc.

on azerty you have:

    alt - space - alt-gr

alt/Latin is handled in a weird way and the scan code for
alt-gr is 0xE0, which is 'known' -- not for very much longer.

i'm pretty sure in japan i've seen similar keyboards
that have kana and there's a shift on the right of the
keyboard for that, but that's 7 years ago.

alt-gr is a shift used on the 1234567890 keys and
a few others, which gives you  ~#{[|`\^@]}¤ (actually
there are two ^'s).

my plan is to fix the driver, without breaking it for
qwerty and then loading up /lib/azerty into /dev/kbmap.

then i attack (or is it charm? :) python.