[99169] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: man pages

daemon@ATHENA.MIT.EDU (Vidiot)
Thu Nov 12 16:36:32 1998

From: Vidiot <brown@ftms.COM>
To: redhat-list@redhat.com
Date: Thu, 12 Nov 1998 15:35:53 -0600 (CST)
In-Reply-To: <75A9508F64A2D111B89C00609710A6CF1364DB@adrian> from "Eric Cifreo" at Nov 12, 98 03:23:05 pm
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

>>>Can someone please tell me if there is a utility that will strip the
>>>formatting from man pages/files and create a standard text file?
>>
>>Ya, it is called nroff.  Groff will work as well.
>>
>>MB
>-----------------------------------
>OK, 
>Let me piggyback on this one:
>How do you make a man page from a text file?  troff, right.

Correct, with a butt.  Nroff is for plain text as Troff is for PostScript text.

>Is there a command line flag to do this?  Is there a utility
>out there?  From the man page, it looks like troff is it's
>own little formatting language...

Nroff is troff, but it is for creating output on fixed devices, like tty
screens and daisywheel printers.  Troff was for formatting on the old
Linotype PhotoTypesetter.  Of course, it has been extended with groff to
cover all of the bases, including PostScript output.

GNU man probably even has an option to take the output that goes to your
crt screen and dump it into a file, dropping all of the stuff that highlights,
etc.

I'm not at home to get on the system and look.  I normally use groff with
the -man macro package (actually, it is the an macro package, but when
combined with the -m option, it comes out -man [get it :-]) and print to
my PostScript printer.

Just do a man on man to see all of the GNU man options.

MB
-- 
System Administrator - Finnigan FT/MS - Madison WI. URL:http://www.ftms.com/
e-mail: brown@ftms.com   phone: (608) 273-8262 ext: 612  fax: (608) 273-8719
        [Where do you think Microsoft would be today if they waited]
        [until their software worked?     (Hyperion Bay - 10/12/98)]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post