From owner-freebsd-doc Thu May 2 19:38:51 2002 Delivered-To: freebsd-doc@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 3F9A937B419; Thu, 2 May 2002 19:38:49 -0700 (PDT) Received: from localhost ([12.252.32.143]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020503023848.BGIQ2627.rwcrmhc54.attbi.com@localhost>; Fri, 3 May 2002 02:38:48 +0000 Date: Thu, 02 May 2002 20:38:47 -0600 (MDT) Message-Id: <20020502.203847.07646845.horikawa@attbi.com> To: imp@village.org Cc: doc@FreeBSD.ORG, ru@FreeBSD.ORG Subject: Re: tbl support in man From: Kazuo Horikawa In-Reply-To: <20020502.163459.70459594.imp@village.org> References: <20020502.163459.70459594.imp@village.org> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Warner, "M. Warner Losh" wrote: > [[ please CC me, since I don't subscribe to doc@ ]] > > Here's a quick patch to the build system to help us use the tbl > functionality that is already present in man. If a man page ends in > tbl, then man will run it through tbl first. Existing /usr/bin/man invokes tbl before it calls groff. I think that wi.4 need not be renamed and that bsd.man.mk need not be modified. Putting your new wi.4 as /usr/local/man/man4/foo.4 and invoking "man foo", I could see formatted table as follows: Card Chip Bus ---------------------------------------------------------- 3Com AirConnect 3CRWE737A Spectrum24 PCMCIA 3Com AirConnect 3CRWE777A Prism-II PCI [snip] -- Kazuo Horikawa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message