Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 04-03-2006, 06:56 AM   #1
Senior Member
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
FreeBSD 5.4: Keyboard problems in console

I am using FreeBSD 5.4 and I am having problems with some characters in the console. I sshing my bsd box from my own computer and whenever I try to use any of the swedish characters () or some other keys (like delete, , , or ) I get strange result or no result at all. For example when I am using vi and try to type the swedish character I end up with \xe5 instead.

How can I fix this? It is working fine in Debian Etch but does FreeBSD support foreign characters? The keyboard layout is fine, it's just that some characters won't work properly. This is all console - bash, no X installed.

Old 04-20-2006, 01:32 AM   #2
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Save the following /etc files to try this solution:
echo 'keymap="swedish.iso.acc"' >>/etc/rc.conf
sed -i .bak '/cons25/s/cons25/cons25l1/' /etc/ttys
Does swedish use ISO-8859-1 ?
The "l1" above corresponds to this.

Then add the following line
":charset=ISO-8859-1:\" somewhere after "default:" in /etc/login.conf and run "cap_mkdb /etc/login.conf"

To see the manpages in your language set and export the LC_ALL environment variable.

Last edited by primo; 04-20-2006 at 01:33 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone get FreeBSD installed with a wireless keyboard? Seph64 *BSD 6 11-07-2005 07:25 AM
Keyboard dies at FreeBSD install christylea *BSD 2 06-29-2005 08:22 AM
FreeBSD Install with USB Keyboard x86br *BSD 2 04-08-2005 03:41 PM
FreeBSD 5.3 - Swedish keyboard layout Mega Man X *BSD 6 12-20-2004 08:51 AM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration