From owner-freebsd-questions@FreeBSD.ORG Thu Sep 8 17:36:48 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 EB8C316A41F for ; Thu, 8 Sep 2005 17:36:48 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6648143D45 for ; Thu, 8 Sep 2005 17:36:48 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by kweetal.tue.nl (Postfix) with ESMTP id 9BF7013B6F4; Thu, 8 Sep 2005 19:36:47 +0200 (CEST) Received: from kweetal.tue.nl ([127.0.0.1]) by localhost (kweetal.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 83292-06; Thu, 8 Sep 2005 19:36:46 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by kweetal.tue.nl (Postfix) with ESMTP id BC78513B6D6; Thu, 8 Sep 2005 19:36:46 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.4/8.13.4/Submit) id j88HakfU060323; Thu, 8 Sep 2005 19:36:46 +0200 (CEST) (envelope-from stijn) Date: Thu, 8 Sep 2005 19:36:46 +0200 From: Stijn Hoop To: Giorgos Keramidas Message-ID: <20050908173646.GO20229@pcwin002.win.tue.nl> Mail-Followup-To: Stijn Hoop , Giorgos Keramidas , Gerard Seibert , freebsd-questions References: <43206857.1010803@daleco.biz> <20050908165328.GB37407@orion.daedalusnetworks.priv> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p7qwJlK53pWzbayA" Content-Disposition: inline In-Reply-To: <20050908165328.GB37407@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: 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: Thu, 08 Sep 2005 17:36:49 -0000 --p7qwJlK53pWzbayA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 08, 2005 at 07:53:28PM +0300, Giorgos Keramidas wrote: > Gerard Seibert wrote: > > I am trying to figure out how to print 'man' pages. If I try a simple > > redirect, such as: "man foo > foo.txt" the new file is loaded with > > control symbols, etc. that are not really printable. I want to save > > the files if possible, and print them out at a later date. It that is > > not possible, how would I go about printing them out in real time? >=20 > man -t foo > foo.ps >=20 > will generate Postscript output, which is a lot better for printing. Highly useful to know, but shouldn't we update the man page for man(1)? -t Use /usr/bin/groff -S -man to format the manual page, pass= ing 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. This does not exactly spell 'output postscript' to me... --Stijn --=20 Coughlin's law: never tell tales about a woman no matter how far away she is, she'll always hear you. -- Cocktail --p7qwJlK53pWzbayA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDIHauY3r/tLQmfWcRAsm3AJ47JZt2aX5+sxOz40rExWrLhd4stACgsadO oAi9HsEnhctTBxbpCy+DNOY= =l4zP -----END PGP SIGNATURE----- --p7qwJlK53pWzbayA--