From owner-freebsd-i18n Wed Sep 18 15: 0: 5 2002 Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7DE837B404 for ; Wed, 18 Sep 2002 15:00:03 -0700 (PDT) Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AC7643E42 for ; Wed, 18 Sep 2002 15:00:02 -0700 (PDT) (envelope-from jose@we.lc.ehu.es) Received: from v-ger.we.lc.ehu.es (lxpx531.lx.ehu.es [158.227.27.177]) by polaris.we.lc.ehu.es (8.11.6/8.11.6) with ESMTP id g8ILxqD17873; Wed, 18 Sep 2002 23:59:53 +0200 (MET DST) Received: from v-ger.we.lc.ehu.es (localhost [127.0.0.1]) by v-ger.we.lc.ehu.es (8.12.3/8.12.3) with ESMTP id g8IM0i1I000477; Thu, 19 Sep 2002 00:00:44 +0200 (CEST) (envelope-from jose@v-ger.we.lc.ehu.es) Received: (from jose@localhost) by v-ger.we.lc.ehu.es (8.12.3/8.12.3/Submit) id g8IM0hj7000476; Thu, 19 Sep 2002 00:00:43 +0200 (CEST) Date: Thu, 19 Sep 2002 00:00:43 +0200 From: "Jose M. Alcaide" To: Vesa Alho Cc: freebsd-i18n@FreeBSD.ORG Subject: Re: freebsd/bash 8bit support Message-ID: <20020918220043.GB260@v-ger.we.lc.ehu.es> References: <3D88BBFF.5010802@surfeu.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D88BBFF.5010802@surfeu.fi> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.6-RELEASE Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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