Date: Fri, 9 Jun 2006 15:28:07 -0400 From: Charles Swiger <cswiger@mac.com> To: Wayne <wc_fbsd@xxiii.com> Cc: freebsd-questions@freebsd.org Subject: Re: man pages in plain text - how to? Message-ID: <742E08F8-C2AB-4877-BFE7-1EB7803C1B7A@mac.com> In-Reply-To: <4489C57A.40109@xxiii.com> References: <4489C57A.40109@xxiii.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 9, 2006, at 3:01 PM, Wayne wrote: > 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.) env TERM=dumb PAGER=ul man man ...seemed to work OK for me, compare this to not specifying a pager when you redirect the output to a file. Reading "man grotty" might give you additional things to tweak... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?742E08F8-C2AB-4877-BFE7-1EB7803C1B7A>