From owner-freebsd-questions@FreeBSD.ORG Fri Jun 9 20:34:13 2006 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 6D1C116A5F8 for ; Fri, 9 Jun 2006 20:34:13 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EC6343F37 for ; Fri, 9 Jun 2006 20:11:32 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 17652 invoked by uid 0); 9 Jun 2006 20:10:48 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp2.knology.net with SMTP; 9 Jun 2006 20:10:48 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 6311F28421; Fri, 9 Jun 2006 15:11:30 -0500 (CDT) Date: Fri, 9 Jun 2006 15:11:30 -0500 From: David Kelly To: Wayne Message-ID: <20060609201130.GB77110@Grumpy.DynDNS.org> References: <4489C57A.40109@xxiii.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4489C57A.40109@xxiii.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: man pages in plain text - how to? 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 Jun 2006 20:34:13 -0000 On Fri, Jun 09, 2006 at 03:01:14PM -0400, Wayne wrote: > Hi, > > Was wondering how to get "man" to output pages in plain text? I want > the basic formating (indentation & whatnot) but NOT the bold and other > special effects. Just ascii text I can grep through. I tried setting > the terminal type to "dumb" and the stupid thing still tries to do > back-space overstrike bolding (jeesh - even LA-120s had fancier print > capabilities than that, IIRC.) % man man | more the / command in more/less is a grep-like search. But if you really really want plainest of plain text then "man -t" will generate postscript, pipe it into ps2ascii (in the Ghostscript port) and the result will be long lines but very plain text. With proper print filters installed "man -t man | lpr" produces beautiful printed man pages. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.