Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2000 15:06:16 +0200
From:      Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
To:        questions@FreeBSD.ORG
Subject:   Re: 'dead' keys in keymaps?
Message-ID:  <20000402150616.A4210@dcse.fee.vutbr.cz>
In-Reply-To: <no.id>; from keramida@ceid.upatras.gr on Sun, Apr 02, 2000 at 02:54:42AM %2B0300

next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote (2000/04/02):
> However I'm stuck after an afternoon's reading.  I don't seem to be able
> to make the `;' key act as a dead-key and put an accent to the greek
> letters.  I have the entire keymap ready, but not for accented greek :/
> How can I make `;' become a dead key?

Say exactly what you need. For example, look into cs.latin2.qwertz.kbd
keymap, which is full of accented keys (4.0-RELEASE).

You have to assign any of dead key names (dacu, dcir, dbre,
ddot, duml...) to ';' key

  039   ';'    ':'    drin   drin   ';'    ':'    drin   drin    O

and at the end of keymap file say something like

  drin  176  ( 176 176 ) ( 'U' 217 ) ( 'u' 249 ) ( 's' 223 )
             ( 'o' 164 ) ( 253 167 ) ( 225 215 ) ( '-' 247 )

where chr(176) is ring itself and drin + chr(176) makes chr(176),
drin + 'U' makes chr(217) = U with ring and so on...

-- 
Rudolf Cejka   (cejkar@dcse.fee.vutbr.cz;  http://www.fee.vutbr.cz/~cejkar)
Brno University of Technology, Faculty of El. Engineering and Comp. Science
Bozetechova 2, 612 66  Brno, Czech Republic


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000402150616.A4210>