Article View: comp.sys.sgi.admin
Article #72Re: writing man pages
From: Jim Patterson
Date: Wed, 30 Dec 1992 16:09
Date: Wed, 30 Dec 1992 16:09
36 lines
2274 bytes
2274 bytes
Stephen M. Wynne (stevemw@wvirginia.wv.tek.com) wrote:
: In article <1hqdjfINNrlh@tamsun.tamu.edu> vamsee@abgen.tamu.edu (Vamsee Lakamsani) writes:
:
: > We have some in-house applications and we would like to write
: > man pages for them so that these man pages look just like the
: > standard UNIX man pages (describing command line options, version
: > information etc.) What is the best way to do this on an SGI,
:
: > 1. If the system has nroff/troff ?
: > 2. If the system does not have nroff/troff ?
:
: I realize that the DWB is a valuable product to ATT, and hence its
: value-added (cough) price when UNIX distributors pass it on to us.
: However, there is a nice package called groff from the GNU folks
: that works really great. I'd like feedback from those of you who
: are using it to completely replace the DWB -- I haven't successfully
: gotten it to do things that the SGI versions of the DWB can do such
: as formatting manual pages with the man(1) command. I format with
: groff -man -Tascii > catn/foo.n.
I have completely replaced DWB with groff. What I had to do was to
link the groff executables to the names that the man command expects.
You can find out what man wants by using the -p option. You also need
to make the directories /usr/pub and /usr/lib/tmac. There needs to be
any empty file /usr/pub/eqnchar and you need to copy the contents of
the groff tmac directory to /usr/lib/tmac.
Hope this helps,
Jim
--
James Patterson photon!jhp@ucsd.edu jhp@photon.com
Photon Research Associates 619-455-9741 (voice) 619-546-3903 (fax)
"... three great virtues of a programmer: laziness,impatience and hubris "
Larry Wall in _Programming Perl_
Technical Details
Message-ID:
<1992Dec30.160918.15065@photon.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!ncr-sd!crash!photon.photon.com!jhpReferences:
<STEVEMW.92Dec30005611@wvirginia.wv.tek.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.admin Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!ncr-sd!crash!photon.photon.com!jhp From: jhp@photon.com (Jim Patterson) Subject: Re: writing man pages Message-ID: <1992Dec30.160918.15065@photon.com> Sender: usenet@photon.com (Usenet dummy users) Reply-To: jhp@photon.com Organization: Photon Research Associates, Inc. X-Newsreader: TIN [version 1.1 PL6] References: <STEVEMW.92Dec30005611@wvirginia.wv.tek.com> Date: Wed, 30 Dec 1992 16:09:18 GMT Lines: 36