Register
It is currently Wed Apr 23, 2014 12:45 am

Sends man pages to a browser


All times are UTC - 6 hours


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPosted: Thu Jul 13, 2006 11:21 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 657
Location: Des Moines, Iowa
Code:

# Sends man pages to a browser
export BROWSER=konqueror
alias manb="man -H"



I put this in my bashrc file..... so now, when i want to see a man page in a browser.... i just type manb COMMAND and the command's man page is shown in a web browser.... making for a nicely formatted page to print ;)

I know konqueror has the man:/ thing going on.... but they don't have the same pages listed there..... the man pages themselves seem more current than the docs for konqs web paged versions of man pages. I couldn't get firefoxes man:COMMAND to work either.... it was complaining something about gnome..... ugggghhhh gave up on that and wrote this short alias so i could view them in a browser of my choosing ;)


Top
 Profile WWW  
 PostPosted: Mon Jul 17, 2006 9:09 pm   
Moderator
User avatar

Joined: Wed May 03, 2006 2:05 pm
Posts: 242
Nice one!

Back when they used to make me work on Linux machines from a Windows box, I found this handy cgi script called "manServer.pl". I forgot about it until I saw your post :)

It's still up and running at:
http://wendtwerks.com/cgi-bin/manServer.pl/

-Joe


Top
 Profile YIM  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP