Thread: man
View Single Post
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#9
Ok why not for a script..
But I'm not sure how to mimic man for all manpages. Some are from different formats I guess. Most of them look nice with the following but some don't..

wget http://debfarm.free.fr/images/groff_...1-13_armel.deb
wget http://debfarm.free.fr/images/groff-...1-13_armel.deb
dpkg -i groff*

then let's say you got a compressed manpage from your linux box (usually in /usr/share/man)
scp linux_user@linux_machine:/usr/share/man/man2/kill.2.gz .
and then
zcat kill.2.gz | nroff -man | less -r

Works as expected with bold formatting and stuff


Let's call it rman (rudimentary man)
Humm well it's a start

edit:
My packages are not yet signed, I'll create a clean repository later. Meanwhile please check the md5 using md5sum:
81d940594f75c8444e16dce1579ad87c groff_1.18.1.1-13_armel.deb
147bc6c0cbf2aff98262db86be2711c0 groff-base_1.18.1.1-13_armel.deb
Attached Images
 

Last edited by free; 2007-11-17 at 22:47.