Re: toggle between english and french (how?)
- From: Giorgos Keramidas <keramida@xxxxxxxxxxxxxxx>
- Date: Fri, 9 Feb 2007 04:06:05 +0200
On 2007-02-08 15:09, Peter <pmatulis@xxxxxxxxxxxx> 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.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- toggle between english and french (how?)
- From: Peter
- Re: toggle between english and french (how?)
- From: Giorgos Keramidas
- Re: toggle between english and french (how?)
- From: Peter
- Re: toggle between english and french (how?)
- From: Peter
- toggle between english and french (how?)
- Prev by Date: Re: Can't get make buildworld to work with recent cvsup. - Addl
- Next by Date: Re: toggle between english and french (how?)
- Previous by thread: Re: toggle between english and french (how?)
- Next by thread: Solved: Negation in tables for packet filter
- Index(es):
Relevant Pages
|