RE: setting up french keyboard

2006-02-26 Thread Peter

--- Webster, Andrew [EMAIL PROTECTED] wrote:

  -Original Message-
  From: Peter [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 24, 2006 10:34
  To: Webster, Andrew; freebsd-questions
  Subject: RE: setting up french keyboard
  
  
  --- Webster, Andrew [EMAIL PROTECTED] wrote:
  
-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Peter
Sent: Thursday, February 23, 2006 22:19
To: freebsd-questions
Subject: setting up french keyboard
   
Hi.  Does anyone know how I can set up my 5.4 system to output
 French
characters?  If so, how?
  
   You can set the LANG environment variable.  For example setting it
 to
   fr_CA.ISO8859-1 will produce French Canadian error messages with
   ISO8859-1 characters.
   You can see all the available locales with 'locale -a' command.
   You might need to change the screen fonts for other languages, but
 the
   default ISO8859-1 set works fine.
   Only programs that are locale aware will actually output French,
 others
   will continue to output English.
  
  Well I changed the LANG variable and my keyboard still outputs
 English.
  Ideally I would like to toggle between an English keyboard and a
 French
  one.  I got one suggestion to use the kbdcontrol command but that too
 does
  has no effect.  Although when I tried the equivalent method of setting
 it
  up in /etc/rc.conf via the keymap variable and rebooted, the console
  (before startx) was affected (the key bindings were still wrong) but
 when
  I entered X-windows I was back to where I started.
  
 
 Try this when X is running:
 setxkbmap -model pc104 -layout ca -variant basic

Hey!  This works in my X windows (é, è, ç, à, ê, ï) but my terminal
emits beeps.  Is this normal?  Is the an easier way (X gadget) to toggle
back or do I need to always use the setxkbmap command?

$ setxkbmap -model pc104 -layout ca -variant basic
$ setxkbmap -model pc104 -layout us -variant basic

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: setting up french keyboard

2006-02-26 Thread Peter

--- Peter [EMAIL PROTECTED] wrote:

 
 --- Webster, Andrew [EMAIL PROTECTED] wrote:
 

   --- Webster, Andrew [EMAIL PROTECTED] wrote:
   

 Hi.  Does anyone know how I can set up my 5.4 system to output
  French
 characters?  If so, how?
   

  
  Try this when X is running:
  setxkbmap -model pc104 -layout ca -variant basic
 
 Hey!  This works in my X windows (é, è, ç, à, ê, ï) but my
 terminal
 emits beeps.  Is this normal?  Is the an easier way (X gadget) to toggle
 back or do I need to always use the setxkbmap command?
 
 $ setxkbmap -model pc104 -layout ca -variant basic
 $ setxkbmap -model pc104 -layout us -variant basic

Hmmm.  Looks like my perfectly good French accents in my compose window do
not end up as such when I read them in my browser.  When I reply (what I'm
doing now) they come back to good characters.  Is this normal?  Anyways, I
modified my xorg.conf keyboad section to try to toggle keyboard maps:

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel pc104
Option  XkbLayout us,ca
Option  XkbOptions grp:toggle
EndSection

Surprisingly, by simply hitting the Right-Alt key I go from us to ca
although hitting the key again has no effect.  Does anyone know how I can
toggle without having to issue commands all the time?






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: setting up french keyboard

2006-02-26 Thread Webster, Andrew
 -Original Message-
 From: Peter [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 26, 2006 15:44
 To: Peter; Webster, Andrew; freebsd-questions
 Subject: RE: setting up french keyboard
 
 
 --- Peter [EMAIL PROTECTED] wrote:
 
 
  --- Webster, Andrew [EMAIL PROTECTED] wrote:
 
 
--- Webster, Andrew [EMAIL PROTECTED] wrote:
   
 
  Hi.  Does anyone know how I can set up my 5.4 system to output
   French
  characters?  If so, how?

 
  
   Try this when X is running:
   setxkbmap -model pc104 -layout ca -variant basic
 
  Hey!  This works in my X windows (é, è, ç, à, ê, ï) but my
  terminal
  emits beeps.  Is this normal?  Is the an easier way (X gadget) to toggle
  back or do I need to always use the setxkbmap command?

Hmm, looks like you are outputting UTF-8 instead of ISO-8859-1, or at least 
your mailer is doing that.  UTF-8 is 16bit characters for the accented 
characters.
Which window manager are you using with X?  KDE or Gnome?  Both have keyboard 
manipulation tools as part of their packages.

Personally I prefer the US International keyboard.  This way the characters 
stay where they belong, but ', , ^, ~, and ` are dead keys, so if you type ' 
followed by a you get á.  

I don't know if there is a quick switch key combination as in windows, but I'm 
sure there is something that can be setup.

 
  $ setxkbmap -model pc104 -layout ca -variant basic
  $ setxkbmap -model pc104 -layout us -variant basic
 
 Hmmm.  Looks like my perfectly good French accents in my compose window do
 not end up as such when I read them in my browser.  When I reply (what I'm
 doing now) they come back to good characters.  Is this normal?  Anyways, I
 modified my xorg.conf keyboad section to try to toggle keyboard maps:
 
 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  XkbModel pc104
 Option  XkbLayout us,ca
 Option  XkbOptions grp:toggle
 EndSection
 
 Surprisingly, by simply hitting the Right-Alt key I go from us to ca
 although hitting the key again has no effect.  Does anyone know how I can
 toggle without having to issue commands all the time?
 
 
 
 
 
 
 __
 Find your next car at http://autos.yahoo.ca

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: setting up french keyboard

2006-02-26 Thread Peter

--- Webster, Andrew [EMAIL PROTECTED] wrote:

   Hi.  Does anyone know how I can set up my 5.4 system to
 output
French
   characters?  If so, how?
 
  
   
Try this when X is running:
setxkbmap -model pc104 -layout ca -variant basic
  
   Hey!  This works in my X windows (é, è, ç, à, ê, ï) but my
   terminal
   emits beeps.  Is this normal?  Is the an easier way (X gadget) to
 toggle
   back or do I need to always use the setxkbmap command?
 
 Hmm, looks like you are outputting UTF-8 instead of ISO-8859-1, or at
 least your mailer is doing that.  UTF-8 is 16bit characters for the
 accented characters.
 Which window manager are you using with X?  KDE or Gnome?  Both have
 keyboard manipulation tools as part of their packages.
 
 Personally I prefer the US International keyboard.  This way the
 characters stay where they belong, but ', , ^, ~, and ` are dead keys,
 so if you type ' followed by a you get �.  
 
 I don't know if there is a quick switch key combination as in windows,
 but I'm sure there is something that can be setup.

Allrighty.  I installed xxkb and it works well for toggling languages
(keyboard mappings).  I can also achieve the same effect using a
key-combination.  I am using the fluxbox window manager.

So the problem remains that what I see when I type is not what appears in
a browser.  For instance, the following character is an 'E' with a small
front slash on top of it: É.  Is that what YOU see right now?

I also cannot type out any of these characters at an xterm or on the
console.

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: setting up french keyboard

2006-02-25 Thread Webster, Andrew
 -Original Message-
 From: Peter [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 24, 2006 10:34
 To: Webster, Andrew; freebsd-questions
 Subject: RE: setting up french keyboard
 
 
 --- Webster, Andrew [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:owner-freebsd-
   [EMAIL PROTECTED] On Behalf Of Peter
   Sent: Thursday, February 23, 2006 22:19
   To: freebsd-questions
   Subject: setting up french keyboard
  
   Hi.  Does anyone know how I can set up my 5.4 system to output
French
   characters?  If so, how?
 
  You can set the LANG environment variable.  For example setting it
to
  fr_CA.ISO8859-1 will produce French Canadian error messages with
  ISO8859-1 characters.
  You can see all the available locales with 'locale -a' command.
  You might need to change the screen fonts for other languages, but
the
  default ISO8859-1 set works fine.
  Only programs that are locale aware will actually output French,
others
  will continue to output English.
 
 Well I changed the LANG variable and my keyboard still outputs
English.
 Ideally I would like to toggle between an English keyboard and a
French
 one.  I got one suggestion to use the kbdcontrol command but that too
does
 has no effect.  Although when I tried the equivalent method of setting
it
 up in /etc/rc.conf via the keymap variable and rebooted, the console
 (before startx) was affected (the key bindings were still wrong) but
when
 I entered X-windows I was back to where I started.
 

Try this when X is running:
setxkbmap -model pc104 -layout ca -variant basic

 --
 Peter
 
 
 
 
 
 
 __
 Find your next car at http://autos.yahoo.ca

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: setting up french keyboard

2006-02-24 Thread Webster, Andrew
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Peter
 Sent: Thursday, February 23, 2006 22:19
 To: freebsd-questions
 Subject: setting up french keyboard
 
 Hi.  Does anyone know how I can set up my 5.4 system to output French
 characters?  If so, how?

You can set the LANG environment variable.  For example setting it to
fr_CA.ISO8859-1 will produce French Canadian error messages with
ISO8859-1 characters.
You can see all the available locales with 'locale -a' command.
You might need to change the screen fonts for other languages, but the
default ISO8859-1 set works fine.  
Only programs that are locale aware will actually output French, others
will continue to output English.


--
Andrew


 
 --
 Peter
 
 
 
 
 
 
 __
 Find your next car at http://autos.yahoo.ca
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: setting up french keyboard

2006-02-24 Thread Peter

--- Webster, Andrew [EMAIL PROTECTED] wrote:

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Peter
  Sent: Thursday, February 23, 2006 22:19
  To: freebsd-questions
  Subject: setting up french keyboard
  
  Hi.  Does anyone know how I can set up my 5.4 system to output French
  characters?  If so, how?
 
 You can set the LANG environment variable.  For example setting it to
 fr_CA.ISO8859-1 will produce French Canadian error messages with
 ISO8859-1 characters.
 You can see all the available locales with 'locale -a' command.
 You might need to change the screen fonts for other languages, but the
 default ISO8859-1 set works fine.  
 Only programs that are locale aware will actually output French, others
 will continue to output English.

Well I changed the LANG variable and my keyboard still outputs English. 
Ideally I would like to toggle between an English keyboard and a French
one.  I got one suggestion to use the kbdcontrol command but that too does
has no effect.  Although when I tried the equivalent method of setting it
up in /etc/rc.conf via the keymap variable and rebooted, the console
(before startx) was affected (the key bindings were still wrong) but when
I entered X-windows I was back to where I started.

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: setting up french keyboard

2006-02-24 Thread Me
sorry, test

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: setting up french keyboard

2006-02-24 Thread Me
sorry, test

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]