Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!sgihub!dragon!bananapc.wpd.sgi.com!ciemo From: ciemo@bananapc.wpd.sgi.com (Dave Ciemiewicz) Newsgroups: comp.sys.sgi Subject: Re: man(1) bug Message-ID: <1991Apr15.164218.17788@dragon.wpd.sgi.com> Date: 15 Apr 91 16:42:18 GMT References: <1991Apr12.130601.1780@ifi.unizh.ch> Sender: news@dragon.wpd.sgi.com (CNews Account) Reply-To: ciemo@bananapc.wpd.sgi.com (Dave Ciemiewicz) Organization: Silicon Graphics, CASE Group Lines: 26 In article <1991Apr12.130601.1780@ifi.unizh.ch>, meyer@claude.ifi.unizh.ch (Urs Meyer) writes: |> There is a bug in /usr/bin/man in the mechanism that determines how a |> man page should be processed. It seems to reformat a man page, if there |> is a .TH line somewhere at the beginning of the file. Unfortunately, |> in rn.1 (Larry Wall's news reader), the .TH is as far as line 86 from |> the beginning of the file. The man program doesn't look that deep into |> a man page and prints it using cat which is rather uncomfortable to read. |> |> Temporary fix: move the .TH line to the beginning of the man page. |> Seems to work this way. |> |> Urs Meyer Thanks for the note. The problem is that the 3.3.x version of the man command doesn't recognize the NROFF/TROFF comment style used on the rn.1. This has been fixed in the upcoming major release. Sorry for the inconvenience. -- __ * __ _ __ ___ / \ / / / / \/ \/ \ "Me brain hurts!" / / \/ / /\ / / --- P.T. Gumby \___/\__/\_/ /_/ / \__/ *