[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#264589: www.debian.org: Online manpages, preferably linked by package?



On Sun, Sep 19, 2004 at 05:55:58PM +0200, Frank Lichtenheld wrote:
> 
> I have played around a bit with the idea. Some preliminary results I put
> up at http://manpages.debian.net/ . Just very basic stuff so far. You
> can search for the exact name of a man page or package and read them
> in HTML, plain text and roff source. And there is a index available,
> sorted by man page names.

Have you tried the Man CGI interfaces that are available at 
http://www.freebsd.org/cgi/man.cgi,  
http://www.openbsd.org/cgi-bin/man.cgi or
http://netbsd.gw.com/cgi-bin/man-cgi?++NetBSD-current
?

There seems to be quite a number of MAN cgi implementations [1] so maybe
it's best to base a new interface and adapting it taking into account our
needs (show indexes of manpages based on package) and our issues (some
packages have manpage conflicts). I have not made a deep revision but this
one seems to be the one most people fork from:
http://www.softlab.ntua.gr/~christia/man-cgi.html (quite simple, just a
little bit of sed/awk)

The only problem with the above script it that it assumes you are running 
it in a system which has all the manpages, it might need to be adapted 
(like NetBSD did) so that it can handle multiple different manpages 
collections (NetBSD's provides a mechanism to search by architecture and 
collection).

Just my 2c

Regrds

Javier

[1] http://www.w3.org/Tools/Man_faq_filters.html

Attachment: signature.asc
Description: Digital signature


Reply to: