🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #73361

man to texinfo

#73361
From: Maneesh Sahani
Date: Mon, 23 Sep 1991 19:12
59 lines
2294 bytes
Before we embark on too annoyingly large a project down here:

Has anyone written a man2texinfo? (I'm actually looking for a
man2info, but that doesn't seem any easier.)

The program I envision would take a man tree (say /usr/man) and make a
top node with a menu that looked like:

* Section 1::
	User commands

* Section 1m::
	Administrative commands (yes, I use HPs).

etc.

Each section node would be a menu of the available man pages, each man
page would be a menu of the .SH sections, each .SH would have the text
in the section and a menu for any .SS sections etc.

Also useful would be an index that functioned like /usr/man/whatis (so
that the i command from Dave Gillespie's info.el (which is what we use)
mimiced apropos).

It would also be nice to introduce a heuristic that attempted to
convert any word in the form ``string(x)'' where ``x'' is a legal
manual section to a cross reference. This could be pretty strong if it
actually checked that the reference existed before making it.



Pointers to programs with only part of this functionality would also
be appreciated. It's sometimes easier to modify someone else's source
than write one's own from scratch.


Finally: does anyone on gnu.misc.discuss have any idea whether it
would violate a copyright if we used this program on the (in our case)
HP supplied man pages in /usr/man?





m.
(sorry for the posting to gnu.utils.bug but I can't find a
gnu.utils.{help,discuss}. )

--

Maneesh Sahani

System Administrator for the Computer Science Undergraduate
Laboratory, Caltech.

maneesh@through.ugcs.caltech.edu

w. (818) 356-6811 (x5062)
h. (818) 356-3171
Technical Details
Message-ID: <gnulists-MANEESH.91Sep23111227@bullyrag.ugcs.caltech.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bullyrag.ugcs.caltech.edu!maneesh

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,9c35cfc8b94efa28,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-09-24 22:15:23 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bullyrag.ugcs.caltech.edu!maneesh
From: maneesh@bullyrag.ugcs.caltech.edu (Maneesh Sahani)
Newsgroups: gnu.misc.discuss
Subject: man to texinfo
Message-ID: <gnulists-MANEESH.91Sep23111227@bullyrag.ugcs.caltech.edu>
Date: 23 Sep 91 19:12:27 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: California Institute of Technology
Lines: 59