Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

French Keyboard on FreeBSD

135 views
Skip to first unread message

Sylvain.Nierveze

unread,
Mar 1, 1995, 5:23:26 AM3/1/95
to
Hello,

i am looking for how to change the keyboard mappings under free-BSD
so that i can have a french keyboard (azertyuiop) ..
(i have FreeBSD v2.0)

thx for your help

--
Sylvain Nierveze , etudiant a Supelec en 3eme Annee
Sylvain....@supelec-rennes.fr

Philippe CHARNIER

unread,
Mar 1, 1995, 1:33:33 PM3/1/95
to
>>>>> "Sylvain" == Sylvain Nierveze <snie...@excalibur.supelec-rennes.fr> writes:
In article <3j1huu$8...@sonia.ese-metz.fr> snie...@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 char...@lirmm.fr

LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France
------------------------------------------------------------------------

sergey stepanenko

unread,
Mar 1, 1995, 6:55:39 PM3/1/95
to
Sylvain.Nierveze (snie...@excalibur.supelec-rennes.fr) wrote:
: Hello,

: i am looking for how to change the keyboard mappings under free-BSD
: so that i can have a french keyboard (azertyuiop) ..
: (i have FreeBSD v2.0)

: thx for your help

may my script that sets video and kbd for russian - will help you here it is:

#!/bin/sh
# Load KOI8-R screen mapping.
vidcontrol -l koi8-r2cp866
# Load Alternate Codes screen font.
vidcontrol -f 8x16 cp866b-8x16
vidcontrol -f 8x14 cp866-8x14
vidcontrol -f 8x8 cp866-8x8
# Install JCUKEN keyboard mapping.
kbdcontrol -l ru.koi8-r # Not needed for kernel compiled with RUKEYMAP option
# Maximum key rate
kbdcontrol -r fast
# Blank after 5 min
vidcontrol -t 300
vidcontrol -s snake


sns

pw...@tyrell.s.bawue.de

unread,
Mar 3, 1995, 4:41:35 AM3/3/95
to
Iďm using :

cd /sbin
kbdcontrol -l /usr/share/syscons/keymaps/german.cp850.kbd

as an entry in /root/.login. (Are there more elegant solutions ?).

Just replace german.cp850.kbd as desired. Unfortunately there are no french
maps in my directory now.

0 new messages