NetBSD-Users archive

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

Re: Is there a navbar for the html manpages?



Van Ly <van.ly%sdf.org@localhost> wrote:
> I found html manpages in /usr/share/man and there is only one
> proper index file, html3/index.html.  Is there a navbar for the manpages?

I don't think there's one for /usr/share/man/html* but there is xman(1) which
kind of does the same thing and has some additional features like search.

You can easily make a top index for /usr/share/man/html* :

$ echo '<h1>NetBSD Manpages:</h1><ul>' >/tmp/index.html
$ for S in /usr/share/man/html*
  do  echo "<li><a href=\"./${S##*/}\">section ${S#*html}</a>"
  done  >>/tmp/index.html
$ echo '</ul>' >>/tmp/index.html
$ sudo mv /tmp/index.html /usr/share/man/

Something similar could be done in the specific section directories.


Home | Main Index | Thread Index | Old Index