From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 05:39:37 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A255616A41F; Fri, 9 Sep 2005 05:39:37 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pastinakel.tue.nl (pastinakel.tue.nl [131.155.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 083BB43D45; Fri, 9 Sep 2005 05:39:37 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by pastinakel.tue.nl (Postfix) with ESMTP id C42DE14BE54; Fri, 9 Sep 2005 07:39:35 +0200 (CEST) Received: from pastinakel.tue.nl ([127.0.0.1]) by localhost (pastinakel.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38744-10; Fri, 9 Sep 2005 07:39:34 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by pastinakel.tue.nl (Postfix) with ESMTP id D77B314BE4B; Fri, 9 Sep 2005 07:39:34 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.4/8.13.4/Submit) id j895dYas063833; Fri, 9 Sep 2005 07:39:34 +0200 (CEST) (envelope-from stijn) Date: Fri, 9 Sep 2005 07:39:34 +0200 From: Stijn Hoop To: Giorgos Keramidas Message-ID: <20050909053934.GR20229@pcwin002.win.tue.nl> Mail-Followup-To: Stijn Hoop , Giorgos Keramidas , Greg Barniskis , Gerard Seibert , freebsd-questions References: <43206857.1010803@daleco.biz> <20050908165328.GB37407@orion.daedalusnetworks.priv> <20050908173646.GO20229@pcwin002.win.tue.nl> <20050908175519.GA20222@falcon.midgard.homeip.net> <20050908203203.GP20229@pcwin002.win.tue.nl> <20050908204628.GC38895@orion.daedalusnetworks.priv> <20050908204803.GQ20229@pcwin002.win.tue.nl> <4320BC57.4080006@scls.lib.wi.us> <20050908232803.GA975@orion.daedalusnetworks.priv> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wHh0aNzodMFDTGdO" Content-Disposition: inline In-Reply-To: <20050908232803.GA975@orion.daedalusnetworks.priv> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Virus-Scanned: amavisd-new at tue.nl Cc: Greg Barniskis , Gerard Seibert , freebsd-questions Subject: Re: Printing MAN pages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 05:39:37 -0000 --wHh0aNzodMFDTGdO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 09, 2005 at 02:28:03AM +0300, Giorgos Keramidas wrote: > On 2005-09-08 17:33, Greg Barniskis wrote: > > Stijn Hoop wrote: > > [snip... sorry about the attributions] > > >>> > > >>>How about: > > >>> > > >>> -t Generate a Postscript version of the manpage, intended for > > >>> printing, by using /usr/bin/groff -S -man to format the > > >>> manual > > >>> page, passing the output to stdout. The output from > > >>> /usr/bin/groff -S -man may need to be passed through some > > >>> filter or another before being printed. > > >>> > > >>>That way I can do /print in less and still get some useful hint. > > >> > > >>You all know that groff is thirdparty software, right? We have to ta= ke > > >>this with the groff developers, if the change is ever going to be > > >>imported in FreeBSD. > > > > > >Hmm, no I didn't realize that. Guess that's too much work for such a m= inor > > >change :( > > > > Except that (if I read the thread right) the proposed change is > > actually to the man page for man, not the man page for groff. ;) > > > > Might suffer similar "ownership" and maintenance issues, but I doubt > > it. If man's not part of the native BSD core, what is? >=20 > Ah! I misunderstood the original post then. Thanks Greg! >=20 > Of course we can update man(1). It's part of the src/gnu/ thirdparty > source, but the manpage is already off the vendor branch, so we can make > changes if necessary. >=20 > Stijn and everyone else, any particular preference for the text that we > add? Would something like the following be ok? >=20 > -t Use ``/usr/bin/groff -S -man'' to format the manual page, > passing the output to stdout. The default output format of > groff(1) is Postscript, but see the manual page of groff(1) > for ways to pick an alternate format. >=20 > Depending on the selected format and the availability of > printing devices, the output may need to be passed through > some filter or another before being printed. >=20 > We may have to send the changes we make to Federico Lucifredi too (the > maintainer of man-1.6 and latter), since the 1.6a version that I > downloaded from [ http://primates.ximian.com/~flucifredi/man/ ] a few > minutes ago, still uses the text that Stijn feels is a bit cryptic. This is much better already; I inserted the word 'printing' in my version because I felt I would search for that when loooking for a way to print a manpage, but I'm not hung up on that. This would definitely be an improvement. Thanks for picking this up, Giorgos! --Stijn --=20 Apparently, 1 in 5 people in the world are Chinese. And there are 5 people in my family, so it must be one of them. It's either my mum or my dad...... or maybe my older brother John. Or my younger brother Ho-Cha-Chu. But I'm pretty sure it's John. --wHh0aNzodMFDTGdO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDISAVY3r/tLQmfWcRAigxAJ9/qCgqkYTHZ1IlZ5aQzu3/M3D02QCcCIIF OJ3Kf9RCnVQjgS/4ctcF4c8= =spl8 -----END PGP SIGNATURE----- --wHh0aNzodMFDTGdO--