From owner-freebsd-doc Wed Apr 26 10:20: 5 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B553137BE95 for ; Wed, 26 Apr 2000 10:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA55939; Wed, 26 Apr 2000 10:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 26 Apr 2000 10:20:02 -0700 (PDT) Message-Id: <200004261720.KAA55939@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Mike Pritchard Subject: Re: docs/18233: man and nroff -mdoc produce extra blank lines. Reply-To: Mike Pritchard Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/18233; it has been noted by GNATS. From: Mike Pritchard To: "Thomas D. Dean" Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: docs/18233: man and nroff -mdoc produce extra blank lines. Date: Wed, 26 Apr 2000 12:17:48 -0500 On Wed, Apr 26, 2000 at 08:18:33AM -0700, Thomas D. Dean wrote: > >Synopsis: man and nroff -mdoc produce extra blank lines. > >Description: > 'man make' has extra (doubled) blank lines in it. Several other > man pages have extra blank lines in them. The template man page > with only .Sh and .Pp plus pain text [A-Za-z]* in it will contain > extra blank lines. 'nroff -man' and 'nroff -mdoc' both exhibit > the problem. > > >How-To-Repeat: > > The following script will produce a nroff source file that will > duplicate the problem. 'xx.sh > xx.1' followed by 'nroff -mdoc xx.1' > The output will have an extra blank line at line number 66. Pipe > the output of nroff into 'grep -n ".*"' to see line numbers. > If the number of sections is increased from 10 to 30, lines > 66, 132, 198, etc will be extra blank lines. If xx.1 is placed in > the MANPATH, 'man xx' will produce the problem. The extra blank lines are at page breaks within the man page. 66 lines of text is one printed page of output. 132 lines of text is two pages of text, etc. -Mike -- Mike Pritchard mpp@FreeBSD.org or mpp@mppsystems.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message