From owner-freebsd-questions@FreeBSD.ORG Mon Feb 12 19:52:57 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 8314F16A406 for ; Mon, 12 Feb 2007 19:52:57 +0000 (UTC) (envelope-from pmatulis@sympatico.ca) Received: from bay0-omc1-s31.bay0.hotmail.com (bay0-omc1-s31.bay0.hotmail.com [65.54.246.103]) by mx1.freebsd.org (Postfix) with ESMTP id 6E2FA13C467 for ; Mon, 12 Feb 2007 19:52:57 +0000 (UTC) (envelope-from pmatulis@sympatico.ca) Received: from bayc1-pasmtp05.bayc1.hotmail.com ([65.54.191.165]) by bay0-omc1-s31.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 12 Feb 2007 11:52:57 -0800 X-Originating-IP: [70.53.155.213] X-Originating-Email: [pmatulis@sympatico.ca] Received: from tantra ([70.53.155.213]) by bayc1-pasmtp05.bayc1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Mon, 12 Feb 2007 11:52:56 -0800 From: Peter To: freebsd-questions@freebsd.org Date: Mon, 12 Feb 2007 14:53:38 -0500 User-Agent: KMail/1.9.1 References: <200702061729.09543.pmatulis@sympatico.ca> <200702091142.18723.pmatulis@sympatico.ca> <20070209211500.GA6016@kobe.laptop> In-Reply-To: <20070209211500.GA6016@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200702121453.39566.pmatulis@sympatico.ca> X-OriginalArrivalTime: 12 Feb 2007 19:52:56.0997 (UTC) FILETIME=[64407D50:01C74EDF] Cc: Giorgos Keramidas , apatewna@yahoo.gr 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: Mon, 12 Feb 2007 19:52:57 -0000 Le Vendredi 9 F=E9vrier 2007 16:15, Giorgos Keramidas a =E9crit=A0: > On 2007-02-09 11:42, Peter wrote: > >Le Vendredi 9 F??vrier 2007 10:26, Giorgos Keramidas a ??crit=A0: > >> Not really. I'm just trying to understand why you have to change > >> the *remote* keyboard map. The local keyboard map is what really > >> matters, and this should work fine with the remote shell > >> enrivonment for any locale/language. > > > > Ok. What I want to be able to do is *occasionally* edit files in > > French *remotely*. That's all. > > Then you don't have to change the 'remote' keymap. Especially not > the remote *console* keymap. I was always able to emit French characters locally while in X. Remotely my shell is bash. I put: ~/.profile # Locale setup. export LANG=3D"C" export LC_CTYPE=3D"fr_CA.ISO8859-1" export LC_COLLATE=3D"fr_CA.ISO8859-1" ~/.inputrc # Locale setup. set convert-meta Off set editing-mode emacs set input-meta On set output-meta On I noticed that a test of creating a directory containing a French=20 character failed (it showed a question mark where the character lay)=20 until I set up .inputrc. So everything seems to work now although I haven't tried the console=20 method yet. Thanks a lot for your help. PM