From owner-freebsd-doc Mon Dec 3 11: 5: 4 2001 Delivered-To: freebsd-doc@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 3D5BA37B41A; Mon, 3 Dec 2001 11:04:56 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 559CDBD5B; Mon, 3 Dec 2001 11:04:55 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id LAA25551; Mon, 3 Dec 2001 11:04:47 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id fB3J4rZ15643; Mon, 3 Dec 2001 11:04:53 -0800 (PST) (envelope-from swear@blarg.net) To: Giorgos Keramidas , Ruslan Ermilov Cc: freebsd-doc@FreeBSD.ORG Subject: Re: How do I unformat a man page like /tmp/man.1? References: <20011203115234.GB1560@hades.hell.gr> From: swear@blarg.net (Gary W. Swearingen) Date: 03 Dec 2001 11:04:52 -0800 In-Reply-To: <20011203115234.GB1560@hades.hell.gr> Message-ID: <7o667om8ff.67o@localhost.localdomain> Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Giorgos Keramidas writes: > On 2001-12-02 22:19:34, Gary W. Swearingen wrote: > > How to I do "man" on a out-of-place man page like /tmp/man.1? > > > > groff -mandoc -Tlatin1 /tmp/man.1 | less > > I use a similar command: > > % nroff -mandoc man.1 | more > > > doesn't work as advertised in groff(1). It's not bad with some > > pages, but VERY bad for others. > > What problems do you have with the command you quoted? > On which manpages? This command zcat /usr/share/man/man5/named.conf.5.gz | nroff -mandoc | less gives dozens of these lines with increasing line numbers (along with occasional spurts of good output): mdoc warning: Empty input line #19 The handful of other man pages I've tried it on look OK, except that about 5% of the lines end with a reverse-video "". The "nroff -mandoc" command gives the same results. This is in an xterm with $TERM = xterm-xf86-v32. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message