login.conf and accents weirdness

Jean-Baptiste Quenot jb.quenot at caraldi.com
Sat Nov 1 06:59:03 PST 2003


* Joan Picanyol i Puig:

> > I  suggest to  set  LC_CTYPE=es_ES.ISO8859-15 in  your shell's  init
> > file, and don't forget to  export that variable (export with [ba]sh,
> > setenv with [t]csh).
>
> I have these lines in /etc/login.conf
> 
> :setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \
> :lang=ca_ES.ISO-8859-15:\
> :charset=ISO8859-15:\

LC_CTYPE is wrong.

> > Also, please test with more or less,  not mutt, so it will be easier
> > to find the solution.  Make a  test file with special characters not
> > in the 7-bit range, and view it.
>
> I'm attaching my  test file (an actual message). Both  under xterm and
> console the results are the sime: cat  works fine but more and less do
> not.

Where is the attachment?

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


More information about the freebsd-questions mailing list