From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 11:17:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F070116A409 for ; Thu, 8 Feb 2007 11:17:25 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id C9B0413C442 for ; Thu, 8 Feb 2007 11:17:24 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l18BGlP9015623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Feb 2007 13:16:56 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l18BGSOr002526; Thu, 8 Feb 2007 13:16:40 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l18BGSFg002525; Thu, 8 Feb 2007 13:16:28 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 8 Feb 2007 13:16:28 +0200 From: Giorgos Keramidas To: Peter Message-ID: <20070208111627.GA2213@kobe.laptop> References: <200702061729.09543.pmatulis@sympatico.ca> <200702071302.23401.pmatulis@sympatico.ca> <20070207210336.GB9143@kobe.laptop> <200702080038.35904.pmatulis@sympatico.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200702080038.35904.pmatulis@sympatico.ca> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.484, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.71, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: toggle between english and french (how?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 11:17:26 -0000 On 2007-02-08 00:38, Peter wrote: >Le Mercredi 7 F?vrier 2007 16:03, Giorgos Keramidas a ?crit : >>> Yes, I tried >>> >>> fr.iso.acc.kbd >>> fr.iso.kbd >>> fr_CA.iso.acc.kbd >>> >>> Maybe I need to inform FreeBSD about the layout of my keyboard. >>> All I get are beeps when I hit the special French accent keys. >> >> This usually means that you are typing 8-bit (i.e. French) characters >> at a shell prompt, but you have not set or configured any locale >> environment yet, or you have the wrong locale environment. >> >> If this is true, and you are hearing the beeps when typing at a shell >> prompt, then please tell us which shell you are using and what you >> see by typing: >> >> % locale > > This is what I get: > > LANG= > LC_CTYPE="C" > LC_COLLATE="C" > LC_TIME="C" > LC_NUMERIC="C" > LC_MONETARY="C" > LC_MESSAGES="C" > LC_ALL= Right. You haven't set any LANG or LC_xxx environment variables. Try using one of the French locales, and set the following in your shell startup scripts: LANG='C' LC_COLLATE='fr_CA.ISO8859-1' LC_CTYPE='fr_CA.ISO8859-1' If you are using GNU bash, you can set in your `.bashrc' file: export LANG='C' export LC_COLLATE='fr_CA.ISO8859-1' export LC_CTYPE='fr_CA.ISO8859-1' If you are using tcsh, the commands for `.cshrc' are slightly different: setenv LANG 'C' setenv LC_COLLATE 'fr_CA.ISO8859-1' setenv LC_CTYPE 'fr_CA.ISO8859-1'