Re: How to setup franch canadien keyboard on my virtual console



Yves Savoie <maxwell@xxxxxxxxxxxxxxxx> writes:
Hi!
Thanks for your help!

I try this:

keymap="fr_CA.iso.acc.kbd"
font8x16="iso-8x16.fnt"

But it don't works!

How did you try these rc.conf settings?

How did you try to type French text? In a shell prompt? Which shell
were you using at the time? In a vi editor window? In your favorite
mail reader?

You will have to give us a bit more detail, so we can help you more
effectively.

One way to load the console keymap and font is to use:

# kbdcontrol -l fr_CA.iso.acc.kbd
# vidcontrol -f 8x16 iso-8x16.fnt

Then you have to set up a proper "locale environment" to let the
applications running know that you are using a French "language
environment". This is usually a matter of setting the correct
environment variables in your login shell.

If you are using tcsh, you can do this with:

tcsh# setenv LANG fr_CA
tcsh# setenv LC_CTYPE fr_CA.ISO8859-1
tcsh# setenv LC_COLLATE fr_CA.ISO8859-1

If you are using /bin/sh or one of the Bourne-compatible shells
(like GNU bash, ksh or zsh), you can use:

$ LANG='fr_CA'
$ LC_CTYPE='fr_CA.ISO8859-1'
$ LC_COLLATE='fr_CA.ISO8859-1'
$ export LANG LC_CTYPE LC_COLLATE

Once you do this, you should be able to type characters in French.

To make these settings permanent, you should modify the proper startup
file for the shell you are using:

* For tcsh the proper startup file would be ~/.cshrc
* For bash, the proper startup file would be ~/.bashrc
* For zsh, the proper startup file would be ~/.zshrc

.... and so on.

I make some test and i have questions.
I don't installed xfree86 or xorg because i don't use GUI. It is
possible that i must to installe xorg to use french character in
virtual console?

No, an X11 desktop (like xfree86 or xorg) is not required for viewing
and/or writing text in one of the French "ISO" encodings. Loading an
appropriate console font and keyboard map should be enough.

Note: For UTF-8 text things *may* be slightly more tricky, but that's
another story :)

My video card is and ati 3d rage iic. I don't install any graphic driver i
use freebsd driver it is possible that it is a driver problem?

Not really.

Regards,
Giorgos

.



Relevant Pages