*BSD News Article 20971


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!ieunet!ieunet!dec4ie.ieunet.ie!jkh
From: jkh@whisker.lotus.ie (Jordan K. Hubbard)
Subject: Foreign Keyboards and FreeBSD [was Re: Change keyboard-mapping]
In-Reply-To: eb@ktas.dk's message of Tue, 14 Sep 1993 08: 59:38 GMT
Message-ID: <JKH.93Sep14202508@whisker.lotus.ie>
Sender: usenet@ieunet.ie (USENET News System)
Nntp-Posting-Host: whisker.lotus.ie
Organization: Lotus Development Ireland
References: <1993Sep14.085938.26851@ktas.dk>
Date: Tue, 14 Sep 1993 20:25:08 GMT
Lines: 29

>I have successfully installed FreeBSD on my 486. But since I am in
>Denmark I want to have the denish keyboard settings. I tried with

Easy!  Just switch to syscons (look at /sys/i386/conf/SYSCONS for
a template) and then add the following to your /etc/rc.local
file:

	syscons -k /usr/share/syscons.keymaps/danish.iso.map

Or:
	syscons -k /usr/share/syscons.keymaps/danish.cp865.map

I really don't know the difference between the cp865 and iso keymaps,
not being danish!

If you have an old version of the syscons program, you may have
some trouble getting it to work (it has been fixed in the lastest
sources - sorry about that!).  The fix is easy, however:

Change:
        if (ioctl(fd, VT_GETMODE, mode) == 0)
to:
        if (ioctl(fd, VT_GETMODE, &mode) == 0)

Good luck!

				Jordan
--
Jordan Hubbard  jkh@violet.berkeley.edu, jkh@al.org, jkh@whisker.lotus.ie