From owner-freebsd-hackers Sat May 17 18:51:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA25041 for hackers-outgoing; Sat, 17 May 1997 18:51:15 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA24980 for ; Sat, 17 May 1997 18:50:51 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id CAA01987; Sun, 18 May 1997 02:50:24 +0100 (BST) Message-Id: <199705180150.CAA01987@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Brian Somers cc: freebsd-hackers@FreeBSD.ORG Subject: Re: www.freebsd.org In-reply-to: Your message of "Sat, 17 May 1997 19:30:56 BST." <199705171830.TAA23763@awfulhak.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 May 1997 02:50:24 +0100 From: Brian Somers Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > I don't know who the current web-meister is, but would it be > possible for you to do the following ? > > The intention is to have browsable -current set of man pages. > > In srm.conf: > ---------- > AddType text/man 1 2 3 4 5 6 7 8 9 1.gz 2.gz 3.gz 4.gz 5.gz 6.gz 7.gz 8.gz 9.gz > Action text/man /cgi-bin/man2html > ---------- > > man2html: > ---------- > #! /bin/sh > > if test -n "$PATH_TRANSLATED"; then > test ."${PATH_TRANSLATED%.gz}" = ."$PATH_TRANSLATED" && > prog=/bin/cat || prog="/usr/bin/gunzip -c" > $prog $PATH_TRANSLATED | > /usr/bin/tbl | > /usr/bin/groff -Wall -mtty-char -Tascii -man | > /usr/bin/col | > sed 's/.^H//g' Or: sed -e 's/.^H//g' -e 's/$/^M/' (with real ^H & ^Ms may be better) > else > echo "Internal server error.... oops !" > fi > ---------- > > All we need to do then is point at a -current /usr/share/man > (cvs co'd regularly) somewhere under "Documentation", allowing > "options Indexes". > > Thanks for any responses. -- Brian , Don't _EVER_ lose your sense of humour....