Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!bionet!ames!sgi!shinobu!odin!krill.corp.sgi.com!davidp From: davidp@krill.corp.sgi.com (David Pike) Newsgroups: comp.sys.sgi Subject: Re: How to format man pages?? Message-ID: <1991Feb11.212702.12838@odin.corp.sgi.com> Date: 11 Feb 91 21:27:02 GMT References: <907@ki.UUCP> <1991Feb11.195501.11064@odin.corp.sgi.com> Sender: news@odin.corp.sgi.com (Net News) Reply-To: davidp@krill.corp.sgi.com (David Pike) Organization: sgi Lines: 34 In article <1991Feb11.195501.11064@odin.corp.sgi.com>, msc@ramoth.esd.sgi.com (Mark Callow) writes: |> In article <907@ki.UUCP>, dwatts@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@sgi.com | 2011 N. Shoreline Blvd. (415) 962-3110 | Mt. View, CA 94043