[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Man page problem: all hypens(-) are being replaced by <AD>



On Mon, Oct 11, 1999 at 07:48:37AM -0500, Brian Servis wrote:
> 
> Ok.  Less is my pager.  Setting LESSCHARSET to latin1 fixed the
> problem. But how do I fix this system wide without setting LESSCHARSET
> in all systemwide shell startup scripts.  The less man page says that if
> LESSCHARSET is not set then it uses the setlocale system call to
> determine the correct character set from the LANG and LC_TYPE
> variables.  Execution of locale returns 
> 
> LANG=POSIX
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME="POSIX"
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LC_ALL=
> 
> Since less doesn't seem to know what POSIX is then it breaks with <AD>.
> 
> So what is the culprit in this situation, less or locale? And what
> changed recently to start producing this?  The only thing that has been
> upgraded on my system that I can see affecting this mix is man-db, less,
> locales and groff are slink versions.
> 

Can't help you there, man.  I'm not worried about posix; I just put it
in my .bashrc.

Rob

-- 
Deflector shields just came on, Captain.


Reply to: