For a man page, is there a way to copy all/part of the text displayed or to print it to PDF?
if using kde, if you type the man page name in the location bar,then, select print,you can print that way.
e.g. type # iwconfig will bring up the man page for iwconfig,then just print it. A lot easier than copy/paste
Andy
Hi
Just select with a mouse the bits you wish to copy, then in a document
etc just press your center mouse button to paste.
If you want the whole document just redirect it to a file eg;
man df > man_df.txt
From that you can open with an editor and print to pdf or use text2wav
if you want to listen to it
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 2 days 0:54, 2 users, load average: 0.08, 0.07, 0.10
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12
If you want the whole document just redirect it to a file eg;
Code:
man df > man_df.txt
Thanks, that was very helpful!
You can generate a PDF version by:
man -T ps route > route.ps
ps2pdf route.ps
and voila you have route.pdf, a printable man page for the route utility.
On Fri, 2008-08-29 at 15:46 +0000, zmdmw52 wrote:
> For a man page, is there a way to copy all/part of the text displayed or
> to print it to PDF?
>
>
If using kde, bring up konqueror and use man:/whatever
Then you can print using KDE’s normal print dialog which includes
printing to PDF (etc).