Subject: Re: bin/4522: man page formatting should probably use -Tascii
To: None <khym@bga.com>
From: None <Havard.Eidnes@runit.sintef.no>
List: netbsd-bugs
Date: 11/17/1997 23:42:25
> On Mon, 17 Nov 1997 Havard.Eidnes@runit.sintef.no wrote:
> > Hm, the environment on my recently installed system contains HOME,
> > SHELL, TERM, LOGNAME, USER, PATH, PWD, BLOCKSIZE and TERMCAP.  I
> > still get "<AD>" for the hyphens.  If I set LESSCHARSET to latin1 in
> > pccons, I get something which is similar to a 'j'.
>
> That is pretty strange... I dunno then. NetBSD's nroff is a shell script
> that calls groff, and it looks like it should be using -Tascii unless
> those environment vars are set.
>
> Maybe try doing a sh -x /usr/bin/nroff -mandoc whatever and see what that
> says...

Oh!  I have LESSCHARSET set on my build system, and the nroff
script sets -Tlatin1 if I've set LESSCHARSET to latin1.  Hm, then
I think the build system should ignore that, and instead specify
-Tascii explicitly (unless it's told otherwise by a Makefile),
since the built man-pages should be "system and environment-
independent" in some fashion.

- H=E5vard