Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!sarah!cs.albany.edu!crdgw1!uakari.primate.wisc.edu!samsung!olivea!apple!agate!ucbvax!bloom-beacon!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.questions Subject: Re: Problems displaying "man" pages Message-ID: <1991Apr25.231504.21257@athena.mit.edu> Date: 25 Apr 91 23:15:04 GMT References: <1991Apr25.114418.16803@eagle.lerc.nasa.gov> Sender: news@athena.mit.edu (News system) Distribution: usa Organization: Massachusetts Institute of Technology Lines: 35 The problem you are having is due to the fact that 4.3reno augments the standard man macros, and your system doesn't have the augmented macros. The easiest short-term solution to this is to get the file /bsd-sources/share/tmac/tmac.doc from the bsd-sources on uunet, and append it to the front of the lock.1 file installed in /usr/man/man1 on your system. Alternatively, you can do this (note: if /usr/lib/tmac isn't where troff macros live on your system, then substitute the appropriate directory for /usr/lib/tmac in the instructions below): 1. Get the files tmac.doc and tmac.andoc from /bsd-sources/share/tmac on uunet. 2. Modify tmac.andoc so that it looks for /usr/lib/tmac/tmac.doc and /usr/lib/tmac/tmac.an, rather than /usr/share/tmac/tmac.doc and /usr/share/tmac/tmac.an.old. 3. Install tmac.doc and tmac.andoc in /usr/lib/tmac on your system. Then, to view the man page, you type "nroff -mandoc /usr/man/man1/lock.1 | more". This latter solution won't make "man" display the man page correctly. You could install a new version of man to do that, a version that looks for the andoc macros instead of the an macros. I don't *think* there's any harm in using the andoc macros on a man page that was formatted to use only the older an macros, but I don't know that for certain. Alternatively, you could just append the contents of tmac.doc to /usr/lib/tmac/tmac.an on your system, in which case your current man, catman, etc. will probably do the right thing, but makewhatis won't work on man pages that are written in the new format. -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710