Online Manuals for Linux

To be able to view the "man" and "info" pages online, I made a simple script that did the job.

The MAN pages

This script is nothing more than a front-end to the man2html. Man2html is included in the distribution of "man". The script itself shows the input boxes for the user, it then locates the file, and feeds that file to man2html.

For a demo of the man-pages, click here. Just enter something like "courier" and you'll get the man-pages of courier.

The INFO pages

For the info-pages, I completely wrote the code myself. First the script locates the zipped-info-file using the 'info -w [page]' command. The file is then unzipped and read in. It looks for the menu-items and makes a correct html-link for them, so you can easily click and go. This was probably the hardest part, as it seems that there are some small variations in the way this is used.

For a demo of the info-pages, click here. Just enter something like "info" and you'll get the info-pages for 'info'.

Download

Source can be downloaded here.


[Page updated: Jan-9-2006] [close window]
Copyright © 2005 by P23 Software Solutions