Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!news.moneng.mei.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ws41.cnusc.fr!lirmm!lirmm.lirmm.fr!charnier
From: charnier@lirmm.fr (Philippe CHARNIER)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: French Keyboard on FreeBSD
Date: 01 Mar 1995 18:33:33 GMT
Organization: LIRM - Montpellier France
Lines: 58
Message-ID: <CHARNIER.95Mar1193333@baobab.lirmm.fr>
References: <3j1huu$86p@sonia.ese-metz.fr>
Reply-To: charnier@lirmm.fr
NNTP-Posting-Host: baobab.lirmm.fr
In-reply-to: sniervez@excalibur.supelec-rennes.fr's message of 1 Mar 1995 10:23:26 GMT
>>>>> "Sylvain" == Sylvain Nierveze <sniervez@excalibur.supelec-rennes.fr> writes:
In article <3j1huu$86p@sonia.ese-metz.fr> sniervez@excalibur.supelec-rennes.fr (Sylvain.Nierveze) writes:
Sylvain> Hello, i am looking for how to change the keyboard
Sylvain> mappings under free-BSD so that i can have a french
Sylvain> keyboard (azertyuiop) .. (i have FreeBSD v2.0)
the file fr.iso.kbd is missing in 2.0. You must get it from current sources
which are available in france at
ftp.ibp.fr:/pub/FreeBSD/FreeBSD-current/src/share/syscons/keymaps/fr.iso.kbd
1) get the file and put it in /usr/share/syscons/keymaps/
2) add kbdcontrol -l /usr/share/syscons/keymaps/fr.iso.kbd at the end of
your /etc/rc.local file. You need to reboot to enable french mapping. For
now just run the command.
3) if you intend to run X, you also need to create a .xmodmaprc in your
home directory, containing:
keycode 0x0A = ampersand 1
keycode 0x0B = eacute 2 asciitilde
keycode 0x0C = quotedbl 3 numbersign
keycode 0x0D = apostrophe 4 braceleft
keycode 0x0E = parenleft 5 bracketleft
keycode 0x0F = minus 6 bar
keycode 0x10 = egrave 7 grave
keycode 0x11 = underscore 8 backslash
keycode 0x12 = ccedilla 9 asciicircum
keycode 0x13 = agrave 0 at
keycode 0x14 = parenright degree bracketright
keycode 0x15 = equal plus braceright
keycode 0x71 = Mode_switch
clear Mod1
clear Mod5
add Mod1 = Alt_L
add Mod5 = Mode_switch
Note that `keycode 0x71 = Mode_switch' is for Alt_Gr key.
4) add the line xmodmap .xmodmaprc in your .xinitrc
--
----- -----
Philippe Charnier charnier@lirmm.fr
LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France
------------------------------------------------------------------------