From owner-freebsd-current@FreeBSD.ORG Wed Aug 4 13:50:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6A8616A4CE; Wed, 4 Aug 2004 13:50:56 +0000 (GMT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8561643D48; Wed, 4 Aug 2004 13:50:56 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) i74DouL4006661; Wed, 4 Aug 2004 06:50:56 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)i74DouMf006660; Wed, 4 Aug 2004 06:50:56 -0700 (PDT) (envelope-from sgk) Date: Wed, 4 Aug 2004 06:50:56 -0700 From: Steve Kargl To: Ruslan Ermilov Message-ID: <20040804135055.GA6640@troutmask.apl.washington.edu> References: <20040804042951.GA1371@online.fr> <20040804073012.GA685@arthur.nitro.dk> <20040804073532.GA22846@ip.net.ua> <20040804115343.GC41839@eddie.nitro.dk> <20040804121525.GA2273@luke.immure.com> <20040804124756.GA25436@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040804124756.GA25436@ip.net.ua> User-Agent: Mutt/1.4.1i cc: Rahul Siddharthan cc: "Simon L. Nielsen" cc: freebsd-current@freebsd.org Subject: Re: man(1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2004 13:50:56 -0000 On Wed, Aug 04, 2004 at 03:47:56PM +0300, Ruslan Ermilov wrote: > On Wed, Aug 04, 2004 at 07:15:25AM -0500, Bob Willcox wrote: > > On Wed, Aug 04, 2004 at 01:53:44PM +0200, Simon L. Nielsen wrote: > > > On 2004.08.04 10:35:32 +0300, Ruslan Ermilov wrote: > > > > On Wed, Aug 04, 2004 at 09:30:12AM +0200, Simon L. Nielsen wrote: > > > > > > > > > Well, it can be done without a patch... I use the following tcsh alias > > > > > so I can just write 'manf foo.1' : > > > > > > > > > > groff -Wall -Tascii -te -mandoc !^ | less > > > > > > > > > You need to use ``-mtty-char -man'' to get the correct output. (-man > > > > or -mandoc doesn't matter.) > > > > > > OK, I will update my alias :). > > > > > > So the most correct command would be: > > > > > > groff -Wall -Tascii -te -mtty-char -man > > > > What's wrong with: > > > > nroff -man > > > In most cases it will do, but nroff(1) doesn't provide an option to tell > groff(1) to preprocess with eqn(1), and some manpages require preprocessing > with it. > What's wrong with a pipe? My alias looks like cat !* | eqn | tbl | nroff -mdoc | more -- Steve