From owner-freebsd-current Wed Jan 7 01:17:29 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA04745 for current-outgoing; Wed, 7 Jan 1998 01:17:29 -0800 (PST) (envelope-from owner-freebsd-current) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA04735 for ; Wed, 7 Jan 1998 01:17:20 -0800 (PST) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: by outmail.utsunomiya-u.ac.jp id AA03118; Wed, 7 Jan 1998 18:17:18 +0900 Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id SAA09495; Wed, 7 Jan 1998 18:24:40 +0900 (JST) Message-Id: <199801070924.SAA09495@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 Date: Wed, 07 Jan 1998 18:24:39 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ( )... Where is the name of the accent key as listed above, is the character of the accent key itself, is a regular character and is an accented character. When is pressed immediately after the accent key, will be produced. If the space key is pressed immediately after the accent key, the accent key itself, that is , will be produced. If an accent key is not defined for the keymap file, you may write 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.