help / color / mirror / Atom feed
From: Kristaps Dzonsons <>
Subject: Preview of man.cgi.
Date: Fri, 16 Dec 2011 21:17:21 +0100	[thread overview]
Message-ID: <> (raw)


I've put up a preview of man.cgi as found in our repository:

The syntax for the "whatis" and "apropos" functions are as given in the 
repository apropos(1) and whatis(1) (regular expressions, logical 
operators, and so on).  However, this syntax is backwards-compatible 
with the legacy apropos(1) and whatis(1).

To create this, I did the following in the mdocml source directory after 
enabling cgi-bin in Apache (this is on OpenBSD-5.0, as manuals are 
installed with sources):

  % make
  % sudo ./mandocdb # recreate the mandocdb(8)s
  % sudo ./catman -f # cache manuals in the chroot() jail
  % sudo make installcgi # install CGI and CSS

(Ok, I didn't do this exactly because uses virtual hosts.  In 
reality, I ran "catman -f -o /usr/vhosts/, then 
created an .htaccess file in the cgi-bin setting CACHE_DIR to the above. 
  But I use the above on my stock OpenBSD box (plus CGI) all the time -- 
no need for any more than the above.)

Take care,


P.S., you'll also pull up my /usr/local/man directory in those results.
 To unsubscribe send an email to

                 reply	other threads:[~2011-12-16 20:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).