Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 04:06:05 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter <pmatulis@sympatico.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: toggle between english and french (how?)
Message-ID:  <20070209020604.GB11035@kobe.laptop>
In-Reply-To: <200702081509.21485.pmatulis@sympatico.ca>
References:  <200702061729.09543.pmatulis@sympatico.ca> <20070208111627.GA2213@kobe.laptop> <200702081444.01758.pmatulis@sympatico.ca> <200702081509.21485.pmatulis@sympatico.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-02-08 15:09, Peter <pmatulis@sympatico.ca> wrote:
> Le Jeudi 8 F?vrier 2007 14:44, Peter a ?crit :
> > Le Jeudi 8 F?vrier 2007 06:16, Giorgos Keramidas a ?crit :
> > > 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'
> >
> > Thanks a lot Giorgos.  It works now.  I used the bash method and then
> > set up a couple of aliases:
> >
> > alias french='/usr/sbin/kbdcontrol -l fr_CA.iso.acc.kbd'
> > alias english='/usr/sbin/kbdcontrol -l us.iso.acc.kbd'
>
> Darn.  Now I see that these commands cannot be used via an xterm
> (remotely via SSH).  Any ideas?

When you are sitting on an xterm in machine A and you ssh into FreeBSD
system B, it's the local client's responsibility to set a proper locale
and internationalization environment for *displaying* stuff and its
FreeBSD's responsibility for letting you type French if your FreeBSD
locale is French too.

Setting the console keyboard map with kbdcontrol on a remote FreeBSD
system cannot affect your local xterm window.




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