Subject: Re: A new keyboard.h for dt
To: Elias Halldor Agustsson <eha@itn.is>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 06/24/1996 10:08:55
>
> I am currently working on an Icelandic keyboard for dt. The
> trouble is that on the Icelandic keyboard, <B4> (on 0x27) is
> defined as a meta-character. Accented (acute) vowels are=20
> produced as a combination of that character and a corresponding
> vowel.
Check out the us keyboard. In 1.1.3 (and 1.1.4 I'd expect) it will
treat option-`, option-e, option-i, option-u, and option-n as meta-
characters for accents. Basically it stores the key press, and then
when the next key comes in, if it's on a list of meta pairs, it generates
a single, accented character (like 'option-i' 'e' produces e^ ).
Otherwise, it produces the bare accent character + the next letter
('option-i' 'q' produces '^' 'q').
As I recall, the code's set up so that you can generate the characters
that act as meta characters anywhere on the keyboard; you don't have
to have the option key down.
Take care,
Bill