Improved "pager" for man pages

Joel Hammer Joel
Mon May 17 11:49:41 PDT 2004


Don't know why, but with lindows 4 I have lost my usual vi like button
functionality with the man pager. Oh well.

So, here is a "pager" which is greatly improved. This allows searching
as well, which wouldn't work with just the postscript output. Of course,
this only runs in a GUI, but, that's where I spend most of my time these
days, anyway.

#!/bin/sh
man -t $1 > /tmp/junk$$
ps2pdf /tmp/junk$$ /tmp/junkpdf$$
acroread /tmp/junkpdf$$
rm /tmp/junk$$
rm /tmp/junkpdf$$

Joel



More information about the Linux-users mailing list