From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075317506437.tru64-unix-managers.marc@archive.invalid> From: Herve DEMARTHE (CEA France) Date: Wed, 08 Feb 1995 16:27:45 +0000 To: tru64-unix-managers Subject: Using man2html converter when man pages are formatted X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075317506437 Dear Managers, I try to use the man.cgi CGI script from within my http server in order to display the man pages with Mosaic or Netscape. Unfortunately, the man pages are formatted (that is : the cat directories exist under /usr/share/man) and the man.cgi displays garbage because it is awaiting non formatted stuff. Did some of you encounter this problem ? This may be more general than this html interface problem, for example, I need to use commands like : "nroff -man /usr/man/man1/who.1 | lpr" in order to print correctly a man page. Doing so, you NEED to know that "who" is in man1 section, (yes I know ;-) which is a real drawback. Some discarded solutions : 1) Remove the /usr/share/man/cat directories !!! the display of the man page is far more readable when catman has been run 2) Modify the man2html script : I am a Perl newbee (but I try hard :-) The most preferred one (hello DEC gurus !) : 1) A flag in the man command allowing to choose from "catman'ed" pages or bare ones : it will solve both problems at once. 2) YOUR'S PERHAPS ! Regards, +--------------------------------------------------------------+ | Herve DEMARTHE %^) E-Mail: demarthe@alpha.cad.cea.fr | | CEA/DSM/DRFC/STEP Tel: +33 42257527 Fax: +33 42252661 | | CEN Cadarache Bt 506 13108 St Paul Lez Durance FRANCE | | <<< Apprentiz de todo, Maestro de nada ... >>> | | All opinions expressed herein are mine and not those of CEA. | +--------------------------------------------------------------+