Date: Wed, 07 Jan 1998 18:24:39 +0900 From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: freebsd-current@freebsd.org Cc: yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: ANNOUNCE: accent (dead) key support in syscons and kbdcontrol Message-ID: <199801070924.SAA09495@zodiac.mech.utsunomiya-u.ac.jp>
next in thread | raw e-mail | index | archive | help
The accent (dead) key support has been added to syscons. kbdcontrol
has been modified to load/print keymaps with accent key definitions.
I also committed the Icelandic and Spanish keymaps with accent key
definitions to the source tree.
Don't be alarmed. You can still use existing keymaps which don't have
accent keys; both syscons and kbdcontrol will work with them as
before.
If you are using a non-US keyboard and want to add accent keys to its
keymap, please read the notes at end of this post (all right, I know I
should document this in man pages :-) and roll a new keymap file.
Load the new map using the -l option of kbdcontrol.
To produce an accented letter, press an accent key followed by a
regular letter key which is to be accented. Press an accent key
followed by the space bar to get the accent letter itself.
Kazu
-- Adding accent keys to the keymap file -------------------------
The following keywords are newly defined for accent (dead) keys.
keyword accent
------- --------------
dgra grave
dacu acute
dcir circumflex
dtil tilda
dmac macron
dbre breve
ddot dot
duml umlaut
ddia diaeresis
dsla slash
drin ring
dced cedira
dapo apostrophe
ddac double acute
dogo ogonek
dcar caron
Note: `ddia' is treated as a synonym to `duml'.
Use these keywords in keymap entries to specify accent (dead) keys.
For example, the Icelandic keymap have the following lines.
040 dacu dacu nop nop dtil '[' nop nop C
041 drin duml nop nop dcir '*' nop nop O
At the end of the keymap file, write the accent map table in which you
specify pairs of a regular character and an accented character for
each accent key.
<name> <D> (<C1> <C2>)...
Where <name> is the name of the accent key as listed above, <D> is the
character of the accent key itself, <C1> is a regular character and
<C2> is an accented character. When <C1> is pressed immediately after
the accent key, <C2> will be produced. If the space key is pressed
immediately after the accent key, the accent key itself, that is <D>,
will be produced.
If an accent key is not defined for the keymap file, you may write
<name> 000
in order to explicitly indicate the definition is empty for this accent
key. But, this is not mandatory.
The following is the complete accent map table for any ISO keymaps:
dgra '`' ( 'a' 224 ) ( 'A' 192 ) ( 'e' 232 ) ( 'E' 200 )
( 'i' 236 ) ( 'I' 204 ) ( 'o' 242 ) ( 'O' 210 )
( 'u' 249 ) ( 'U' 217 )
dacu 180 ( 'a' 225 ) ( 'A' 193 ) ( 'e' 233 ) ( 'E' 201 )
( 'i' 237 ) ( 'I' 205 ) ( 'o' 243 ) ( 'O' 211 )
( 'u' 250 ) ( 'U' 218 ) ( 'y' 253 ) ( 'Y' 221 )
dcir '^' ( 'a' 226 ) ( 'A' 194 ) ( 'e' 234 ) ( 'E' 202 )
( 'i' 238 ) ( 'I' 206 ) ( 'o' 244 ) ( 'O' 212 )
( 'u' 251 ) ( 'U' 219 )
dtil '~' ( 'a' 227 ) ( 'A' 195 ) ( 'n' 241 ) ( 'N' 209 )
( 'o' 245 ) ( 'O' 213 )
dmac 000
dbre 000
ddot 000
duml 168 ( 'a' 228 ) ( 'A' 196 ) ( 'e' 235 ) ( 'E' 203 )
( 'i' 239 ) ( 'I' 207 ) ( 'o' 246 ) ( 'O' 214 )
( 'u' 252 ) ( 'U' 220 ) ( 'y' 255 )
dsla 000
drin 176 ( 'a' 229 ) ( 'A' 197 )
dced 184 ( 'c' 231 ) ( 'C' 199 )
dapo 000
ddac 000
dogo 000
dcar 000
Note: If you need the accent map for the CP850 or CP865, contact me.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801070924.SAA09495>
