Re: man(1)

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Wed, 4 Aug 2004 15:47:56 +0300
On Wed, Aug 04, 2004 at 07:15:25AM -0500, Bob Willcox wrote:
> On Wed, Aug 04, 2004 at 01:53:44PM +0200, Simon L. Nielsen wrote:
> > On 2004.08.04 10:35:32 +0300, Ruslan Ermilov wrote:
> > > On Wed, Aug 04, 2004 at 09:30:12AM +0200, Simon L. Nielsen wrote:
> > >
> > > > Well, it can be done without a patch... I use the following tcsh alias
> > > > so I can just write 'manf foo.1' :
> > > >
> > > > groff -Wall -Tascii -te -mandoc !^ | less
> > > >
> > > You need to use ``-mtty-char -man'' to get the correct output.  (-man
> > > or -mandoc doesn't matter.)
> > 
> > OK, I will update my alias :).
> > 
> > So the most correct command would be:
> > 
> > groff -Wall -Tascii -te -mtty-char -man
> 
> What's wrong with:
> 
> nroff -man
> 
In most cases it will do, but nroff(1) doesn't provide an option to tell
groff(1) to preprocess with eqn(1), and some manpages require preprocessing
with it.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Wed Aug 04 2004 - 10:48:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC