man(1)

Ruslan Ermilov ru at FreeBSD.org
Wed Aug 4 05:48:06 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040804/da95b4d2/attachment.bin


More information about the freebsd-current mailing list