Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2005 09:30:10 -0500
From:      Greg Barniskis <nalists@scls.lib.wi.us>
To:        Gerard Seibert <gerard-seibert@suscom.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Printing MAN pages
Message-ID:  <43204AF2.7060800@scls.lib.wi.us>
In-Reply-To: <Pine.WNT.4.63.0509081012070.3172@Treneq.frvorepbz.arg>
References:  <Pine.WNT.4.63.0509081012070.3172@Treneq.frvorepbz.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
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?
> 

Not the best solution for every situation, but when I need hard copy 
I just go get well formatted versions from the web rather than 
trying to munge the output from the local system:

http://www.freebsd.org/cgi/man.cgi

You could save those views as HTML, I suppose. I prefer to always be 
getting the latest version. I also find that in a pinch (lame 
printer + no/slow Internet) it works OK to do

man foo | lp

-- 
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
<gregb at scls.lib.wi.us>, (608) 266-6348



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43204AF2.7060800>