Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!shenkin From: shenkin@cunixf.cc.columbia.edu (Peter S. Shenkin) Newsgroups: comp.sys.sgi Subject: Re: How to format man pages?? Message-ID: <1991Feb11.230748.19293@cunixf.cc.columbia.edu> Date: 11 Feb 91 23:07:48 GMT References: <907@ki.UUCP> <1991Feb11.195501.11064@odin.corp.sgi.com> <1991Feb11.212702.12838@odin.corp.sgi.com> Reply-To: shenkin@cunixf.cc.columbia.edu (Peter S. Shenkin) Organization: Columbia University Lines: 20 In article <1991Feb11.212702.12838@odin.corp.sgi.com> davidp@krill.corp.sgi.com (David Pike) writes: > 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. No, no! Anything in /usr/catman/local/man[0-9] is SUPPOSED to be nroff source, and the man command is supposed to know enough to run nroff on it when sending it to the screen. At least this is true according to the 3.2.1 docs, and I have found it to work this way in practice. (4d25tg) -P. ************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb************************** Peter S. Shenkin, Department of Chemistry, Barnard College, New York, NY 10027 (212)854-1418 shenkin@cunixf.cc.columbia.edu(Internet) shenkin@cunixf(Bitnet) ***"In scenic New York... where the third world is only a subway ride away."***