Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* groff and nroff problem
@ 1998-06-29  4:00 Nikola Milutinovic
  1998-06-30  4:00 ` Steve VanDevender
  0 siblings, 1 reply; 3+ messages in thread
From: Nikola Milutinovic @ 1998-06-29  4:00 UTC (permalink / raw)



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.

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

Nix.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: groff and nroff problem
  1998-06-29  4:00 groff and nroff problem Nikola Milutinovic
@ 1998-06-30  4:00 ` Steve VanDevender
  1998-07-01  4:00   ` Nikola Milutinovic
  0 siblings, 1 reply; 3+ messages in thread
From: Steve VanDevender @ 1998-06-30  4:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: groff and nroff problem
  1998-06-30  4:00 ` Steve VanDevender
@ 1998-07-01  4:00   ` Nikola Milutinovic
  0 siblings, 0 replies; 3+ messages in thread
From: Nikola Milutinovic @ 1998-07-01  4:00 UTC (permalink / raw)



Steve VanDevender wrote:
> 
> 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?

OK, here's the deal.

I have sendmail.8 file. It is a SOURCE for sendmail-8.8.8 man page. But
it is formated for groff.
On Digital UNIX "man sendmail" equals "tbl sendmail.8 | neqn | nroff
-Tlpr -man | more -svc".

When I feed original sendmail.8 (v8.8.8) it gives me useless output.
Since I can view sendmail.0 with "more", I thought that there is a way
to, somehow, create sendmail.8, but for nroff!

Nix.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-07-01  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-29  4:00 groff and nroff problem Nikola Milutinovic
1998-06-30  4:00 ` Steve VanDevender
1998-07-01  4:00   ` Nikola Milutinovic

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