Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 00:00:43 +0200
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        Vesa Alho <vezku@surfeu.fi>
Cc:        freebsd-i18n@FreeBSD.ORG
Subject:   Re: freebsd/bash 8bit support
Message-ID:  <20020918220043.GB260@v-ger.we.lc.ehu.es>
In-Reply-To: <3D88BBFF.5010802@surfeu.fi>
References:  <3D88BBFF.5010802@surfeu.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 18, 2002 at 08:46:39PM +0300, Vesa Alho wrote:
> I just subscribed to this list. I've searched google and freebsd mailing 
> list archives and finally I need to turn to you guys.
> 
> I'm experiencing problems with the 8-bit character set(s) on freebsd 
> (4.6.2). I want to use ISO-8859-1 (or -15) set on my box and I've 
> managed to set the following:
> 
> -------------------------
> /etc/rc.conf
> 	keymap="finnish.cp850"	
> -------------------------
> what's the difference between cp850 and iso maps? iso does not work, but 
> cp850 does.	
> 
> this is for bash (which i use for shell):
> -------------------------
> /etc/profile
> 	LC_ALL=fi_FI.ISO8859-1; export LC_ALL
> 	LC_CTYPE=fi_FI.ISO8859-1; export LC_CTYPE
> 	LANG=fi_FI; export LANG

I don't know about finnish keymaps, but this is the configuration I use
for spanish console localization:

- /etc/rc.conf:

  keymap="spanish.iso15.acc"
  font8x8="iso15-8x8"
  font8x14="iso15-8x14"
  font8x16="iso15-8x16"

  (the "spanish.iso15" keymap is like the "spanish.iso" one, except that
  the former maps the Euro symbol to Alt-E).

- /etc/login.conf ("default" entry):

  :lang=es_ES.ISO8859-15:\
  :charset=ISO8859-15:\

  and type "cap_mkdb /etc/login.conf" after modifying it.
  Also, remove the LANG and LC_* definitions from /etc/profile.

- /etc/ttys:
  
  Substitute "cons25l1" for "cons25" in the ttyv? entries. If you connect
  to another machine which is not running FreeBSD, the "cons25" and
  "cons25l1" are unlikely to be known. Use "ansi" instead in those cases.

Hope this helps,
JMA
-- 
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **

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




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