Re: toggle between english and french (how?)



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"



Relevant Pages

  • Re: X becomes unresponsive with nvidia and hardlocks with gdb (was Re: X becomes unresponsive with n
    ... I can get the Xorg server to go full tilt by just compiling ... something, like buildworld, via an xterm. ... happens on a FBSD 8.0-CUR/AMD64 UP box and it also happens on a FreeBSD ...
    (freebsd-current)
  • Re: fresh install, portupgrade fails on xterm
    ... I did a pkg_delete and I think a 'make deinstall clean', ... update process - which worked. ... All these months experimenting with FreeBSD ... Xterm no longer installs with '-static' prefix. ...
    (freebsd-questions)
  • mutt in XFree86 under FreeBSD
    ... xterm on FreeBSD 5.1-BETA. ... with mutt a few months back, but it's only just pissed me off enough to ... bind pager bottom ... xterm on a buddy's Linux box, just not in my XFree86 config. ...
    (freebsd-questions)
  • Problem with ldconfig
    ... I use Xfce4 on FreeBSD 4.10 on 3 computers and I have a little problem ... When I run from xterm some program like xmms or aumix(and probably other ... OK, no problem I said, I have to ldconfig the directory where this ... Powered by FreeBSD 4.10! ...
    (comp.unix.bsd.freebsd.misc)