Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Steve VanDevender <stevev@hexadecimal.uoregon.edu>
Subject: Re: groff and nroff problem
Date: 1998/06/30	[thread overview]
Message-ID: <x7zpeu1nr4.fsf@hexadecimal.uoregon.edu> (raw)
In-Reply-To: 3597B488.3B06F245@EUnet.yu


Nikola Milutinovic <milutinn@EUnet.yu> writes:

> Hi.
> 
> After compiling new sendmail-8.8.8 I have realised that man pages are
> for groff utility, which I compiled succesfully, as well. I can view
> sendmail.0 - generated as output of sendmail.8 through groff. I view it
> with more and that's what I wanna see.
> 
> QUESTIONS:
> 
> 1. Is there a way to convert groff formated document to nroff?
>    Obviously there is, IASS's sendmail-8.8.7 has DEC-like man pages.

What's to convert?  "groff -Tascii" is identical to "nroff" for
pretty much any purpose.  Perhaps the only minor hitch is that
you need to use the mandoc macros ("groff -Tascii -mandoc",
"nroff -mandoc") to format those pages correctly.

> 2. How can I convert sendmail.0 from ready-to-read state back to nroff?
>    Sort of: sendmail.8-groff --> sendmail.0 --> sendmail.8-nroff

Can't be done, at least not automatically.  But why would you
want to when you already have nroff source for the document?

-- 
Steve VanDevender  "I ride the big iron"  http://jcomm.uoregon.edu/~stevev
stevev@hexadecimal.uoregon.edu  PGP keyprint 4AD7AF61F0B9DE87 522902969C0A7EE8
"bash awk grep perl sed df du, du-du du-du,
vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH



  reply	other threads:[~1998-06-30  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-29  4:00 groff and nroff problem Nikola Milutinovic
1998-06-30  4:00 ` Steve VanDevender [this message]
1998-07-01  4:00   ` Nikola Milutinovic
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox