a écrit:
> Christian Mangin wrote:
>
>
> > Hmm...
> >
> > Check if your environment variables are actually set:
> > env | grep LC
>
> #env | grep LC
> LC_CTYPE=fr_CA.ISO8859-1
> LC_COLLATE=fr_CA.ISO8859-1
> LC_ALL=fr_CA.ISO8859-1
> >
> > Also you might want to set LC_ALL:
> > setenv LC_ALL fr_CA.ISO8859-1
> >
> > If it still doesn't work, check if you have nls support in tcsh (should be
> > in by default) tcsh --version
>
> #tcsh --version
> tcsh 6.14.00(Astron) 2005-03-25 (i386-intel-FreeBSD) option
> widw,nls,dl,al,kan,rh,color,filec
>
> >
> > Also you might want to switch to another shell and see what happens. (Just
> > type 'sh' and see if you can get french characters)
> >
> I try with sh and samething
>
> yves
>
>
>
If you have the same problem with sh, the problem does not come from the c-shell...
So back to square 1...
On my system, I can get accent with /bin/sh on the console only by putting these 2 lines in rc.conf
keymap="fr_CA.iso.acc.kbd"
font8x16="iso-8x16.fnt"
or just by executing these command as the other poster suggested:
kbdcontrol -l fr_CA.iso.acc.kbd
vidcontrol -f 8x16 iso-8x16.fnt
(Do you get any messages when you run these commands ?)
As an extra check, see if these 2 files are on your system (unless you did something funny they should be):
ls -l /usr/share/syscons/fonts/iso-8x16.fnt
ls -l /usr/share/syscons/keymaps/fr_CA.iso.acc.kbd
When you use /bin/sh you don't even need to set the locale variables to have the accent.
(But they are needed for tcsh or want to have your system localized)
So if you keep failing, I suggest you switch keyboard just to be sure...
Thx
Christian
--
Return address is base 64 encoded