From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,b8e26a9e2e636a9b,start X-Google-Attributes: gid10d4db,public From: Michael Hamilton Subject: VH-Man2html 1.3 - man/mandoc source to HTML Date: 1996/05/05 Message-ID: X-Deja-AN: 153334421 x-original-date: Sat, 4 May 1996 18:36:28 +1200 organization: Actrix Networks Limited followup-to: comp.os.linux.misc newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- VH-Man2html 1.3 - --------------- * View man pages using your web browser and httpd. * HTML GENERATED DIRECTLY FROM NROFF AND TBL SOURCE without the need for tbl/groff/nroff (sorry eqn isn't supported). * Follow links to other man pages and C include files. * Browse HTML-ised whatis man-page subject indexes. * Browse HTML-ised name-only man-page indexes. * Optionally add glimpse (a text indexing package) to do full test searches. * Faster than gunzip|tbl|nroff|less (if your browser is already running). * Translates both man and mandoc (BSD) man pages. * True HTML tables generated from tbl. * Serve man pages to other UNIX hosts. * Works with netscape and with lynx (except for tables). * Packaged for Redhat/Caldera linux, but could be tailored for any UNIX that stores man pages in source form. * Translator written in C (fast), scripts written in awk. * RPM available at ftp.redhat.com. * BSD-style unrestricted use copyright (except for full text searches because of the dependency on glimpse - suggestions for alternatives to glimpse welcome). * See sample output and more info at http://www.actrix.gen.nz/users/michael/giveaways.html REQUIREMENTS * You need to be running an httpd daemon - although I guess you could use it to pre-translate the pages and store them as files. * Man pages in source form - with a whatis file - in a normal looking UNIX man hierarchy. * Knowledge of Makefile editing if you don't have Redhat/Caldera. VH-Man2html was was written by Richard Verhoeven (NL:5482ZX35) at the Eindhoven University of Technology (Email: rcb5@win.tue.nl). The original source is available from his web page at: http://wsinwp01.win.tue.nl:1234/maninfo.html There are other man2html programs around - Richard's page has links to several of them. I've called my version of Richard's program VH-Man2html to avoid any confusion both with Richards original and with these other utilities. VH = Richard Verhoeven's Man2html as modified and packaged up by Michael Hamilton (michael@actrix.gen.nz). - -------- lsm: Begin3 Title: vh-man2html Version: 1.3 Entered-date: 960504 Description: CGI-Scripts for turning a web-browser+httpd into a man pager. Requires man source pages. Designed for Caldera/Redhat distributions using man-1.4d/g. Requires web browser with CGI capability (and HTML tables for man pages that have tbl tables). Functions: - C CGI program for man/BSD-mandoc to HTML conversion. - Works from the unformatted nroff/troff source. - Does tbl tables (but not eqn equations). - Generates links to foobar(1), abc@host, and xyzzy.h files - CGI script for whatis-based alpha-indexes by section. - CGI script for name-only alpha-indexes by section. - CGI script for full text search (requires glimpse - obtainable separately). - Front-end script to talk to a pre-launched netscape. Only tested on Caldera 1.0. Sample pages (with non-functional links) can be viewed at http://actrix.gen.nz/home/michael/giveaways.html Keywords: man mandoc man2html HTML manual pager browser Author: Man2html.c - Richard Verhoeven (rcb5@win.tue.nl). Mandoc enhancements, index scripts, packaging etc - Michael Hamilton (michael@actrix.gen.nz). Maintained-by: michael@actrix.gen.nz (Michael Hamilton) Primary-site: sunsite.unc.edu /pub/Linux/system/Manual-pagers 92k vh-man2html-1.3.tar.gz 1k vh-man2html-1.3.lsm Secondary-site: ftp.redhat.com /pub/contrib 39k vh-man2html-1.3-1.i386.rpm 64k vh-man2html-1.3-1.src.rpm Copying-policy: BSD-style use-for-any-purpose. End - --- Michael Hamilton (http://www.actrix.gen.nz/users/michael) Happily running Linux since January 1992. -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMYyDQoQRll5MupLRAQE+NwP9HBhZMCRpIkDEmz5HFuBEORUbjeOOxy78 KIPzdAH421ZFMx+h6CXHEvZlxVSJImnuDlTFzS4nusHCK0aJAZck/bH8IsOmDn4b ChW6cC+LDdGnESafldP3AsDOQJCOoEwb0T/9cWWllnuo/M1uThebWPB5jQOiNRgr UYQNyDeLwt8= =YvNv -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.