🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.infosystems.intranet
2 messages
2 total messages Started by Alan Oehler Wed, 08 Jul 1998 00:00
Unix man pages to web
#1
Author: Alan Oehler
Date: Wed, 08 Jul 1998 00:00
24 lines
2366 bytes
Hi all...

There's something I want to do, and I cannot believe that it hasn't
already been done by many folks, so before I start digging myself a hole
when I could have just climbed down an already-dug one,  I thought I
should see what might be out there in relevant newsgroups.

I want to take the files that the Unix man command uses to format man
pages onscreen, and turn them into both Word or Frame documents and HTML
documents. I want to automate the process so that when someone updates
one of those documents it can get pulled in and update the web page
automatically, and be pulled into a Word- or Frame-based reference
document for hardcopy printing in a very easy way. I've been thinking of
using Word 97's VBA to process the files and ASP on an IIS/NT 4 server
to tie together the Web presentation.

Has anyone out there done something similar? Is there a good
off-the-shelf tool I might want to check out? And, can anyone point me
to a reference where I can determine the syntax of the man page source
files (I was told they're done in troff)?

Thanks!

-Alan Oehler, CellNet Data Systems, Inc.
Re: Unix man pages to web
#2
Author: David Sewell
Date: Wed, 08 Jul 1998 00:00
20 lines
2107 bytes
In article <35A38FDA.F21A393E@cellnet.com>,
Alan Oehler  <alan.oehler@cellnet.com> wrote:
>I want to take the files that the Unix man command uses to format man
>pages onscreen, and turn them into both Word or Frame documents and HTML
>documents. 

To avoid reinventing the wheel, first look at the program "rman"
(formerly known as PolyglotMan), which accepts [nt]roff source for
man pages from most varieties of Unix and can output versions in
formats including ASCII, HTML, SGML, LaTeX, RTF, and TkMan.

Source can be found at:

 ftp://ftp.cs.berkeley.edu/ucb/people/phelps/tcltk/rman.tar.Z

-- 
David Sewell  *  dsew@packrat.aml.arizona.edu   | "Night-walkers, wizards,
Dep't of Geosciences, University of Arizona     |  bacchanals, revellers,
 http://packrat.aml.arizona.edu/~dsew/          |  sharers in the mysteries."
                                                |      --Heraclitus
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads