How to format man pages??
David Pike
davidp at krill.corp.sgi.com
Tue Feb 12 08:27:02 AEST 1991
In article <1991Feb11.195501.11064 at odin.corp.sgi.com>,
msc at ramoth.esd.sgi.com (Mark Callow) writes:
|> In article <907 at ki.UUCP>, dwatts at ki.UUCP (Dan Watts) writes:
|> |> I've got a problem. I purchased the Documentors Workbench
software from
|> |> SGI so I could format man pages. I put an unformatted man page
into
|> |> /usr/catman/local/man1/ and entered "man name" and it just did a
plain
|> |> cat of the unformatted file. If I manually do an "nroff -man
name" the
|>
|> It works for me. I have several unformatted man pages in
|> /usr/catman/local/man1. I have no idea why it isn't working for
you.
|> (I'm running IRIX 3.3.2)
|>
Let's say you have an unformatted man page foo.1. When you type
man
foo, it lists the man page unformatted. When you type nroff -man
foo.1, it
properly formats the page. What you need to do, is something to the
likes of nroff -man foo.1 > foo.2. The foo.2 file will properly
display
in man. Now you can compress or pack it, if you would like.
David Pike
--
=================================================================
David A. Pike | Silicon Graphics, Inc.
davidp at sgi.com | 2011 N. Shoreline Blvd.
(415) 962-3110 | Mt. View, CA 94043
More information about the Comp.sys.sgi
mailing list