From owner-freebsd-questions Thu Oct 9 18:40:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA13868 for questions-outgoing; Thu, 9 Oct 1997 18:40:04 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from milehigh.denver.net (milehigh.denver.net [204.144.180.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA13822 for ; Thu, 9 Oct 1997 18:39:58 -0700 (PDT) (envelope-from jdc@milehigh.denver.net) Received: (from jdc@localhost) by milehigh.denver.net (8.8.5/8.8.5) id TAA01068; Thu, 9 Oct 1997 19:40:38 -0600 (MDT) Message-ID: <19971009194037.43482@denver.net> Date: Thu, 9 Oct 1997 19:40:38 -0600 From: John-David Childs To: freebsd-questions@freebsd.org Subject: Re: Saving a man page to a text file References: <19971009055407.23377@matrix.binary.net> <199710091253.NAA05030@guinness.acucobol.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.79 In-Reply-To: <199710091253.NAA05030@guinness.acucobol.ie>; from John McLaughlin on Thu, Oct 09, 1997 at 01:53:38PM +0100 Organization: Enterprise Internet Solutions Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thursday October 9, 1997, John McLaughlin had this to say about "Re: Saving a man page to a text file": > > > On Mon, Oct 06, 1997 at 10:24:13PM -0500, dkelly@hiwaay.net wrote: > >> > How can I save the contents os a man page to a text file without > >> any > escape codes included? > > How about: > > man -P cat foo > foo.txt > Nope...doesn't work. Control codes are still there. Neither does man -t xxxx > xxxx.ps (well, it works if you have a postscript printer ;) So far, the only thing I've found that works for converting man pages to ASCII text files is rman...available in a port or package near you! :) I've also used the "Attached-to-Ansi" (aka Desktop) Printer feature in Pine to print man pages directly to my desktop printer (even when I'm telnetted to a remote system). -- John-David Childs (JC612) Enterprise Internet Solutions System Administrator @denver.net/Internet-Coach/@ronan.net & Network Engineer 1031 S. Parker Rd. #I-8 Denver, CO 80231 As of this^H^H^H^H next week, passwords will be entered in Morse code.