Table of Contents

NAME

rtfm - present HTML converted man pages

SYNOPSIS

rtfm
rtfm?topic=topic&section=section[whatis=on]
rtfm page ...

DESCRIPTION

This yet another man2html type cgi script, we call it rtfm, but it can be installed with any name.

It uses the excellent RosettaMan to convert pages to HTML.

Unlike most other man2html cgi scripts, this one caches the HTML pages it converts, and thus even a chrooted httpd with no access to man(1) or the manual pages, can still present their HTML versions.

With no QUERY_STRING we present a simple form like rman.pl by Alexander Gagin (gagin@cvxct0.jinr.dubna.su).

Otherwise we look for an already converted page, or try and run man(1) and rman(1). If section is whatis, then we run man -k topic.

If run with no QUERY_STRING but with pages, we convert each page and store it in the cache direcory.

SEE ALSO

man(1), rman(1).

FILES

/httpd/htdocs/man
The HTML man tree.

AUTHOR

Simon J. Gerraty <sjg@crufty.net>


Table of Contents