From owner-freebsd-questions@FreeBSD.ORG Thu Sep 8 14:23:02 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 C7F6316A41F for ; Thu, 8 Sep 2005 14:23:02 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 691D543D45 for ; Thu, 8 Sep 2005 14:23:02 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 9F9355D0B; Thu, 8 Sep 2005 10:23:01 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20799-03; Thu, 8 Sep 2005 10:23:00 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-79-217.ny325.east.verizon.net [68.161.79.217]) by pi.codefab.com (Postfix) with ESMTP id 64E1C5CA5; Thu, 8 Sep 2005 10:23:00 -0400 (EDT) Message-ID: <43204945.7090107@mac.com> Date: Thu, 08 Sep 2005 10:23:01 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gerard Seibert References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: 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 14:23:02 -0000 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? "man -t man > man.ps" will generate a PostScript version of the manpage and save it to the file man.ps. Read up on groff/gtroff if you need some other format. -- -Chuck