* Preview of man.cgi.
@ 2011-12-16 20:17 Kristaps Dzonsons
0 siblings, 0 replies; only message in thread
From: Kristaps Dzonsons @ 2011-12-16 20:17 UTC (permalink / raw)
To: tech
Hi,
I've put up a preview of man.cgi as found in our repository:
http://mdocml.bsd.lv/cgi-bin/man.cgi
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 BSD.lv uses virtual hosts. In
reality, I ran "catman -f -o /usr/vhosts/mdocml.bsd.lv/www/cache, 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,
Kristaps
P.S., you'll also pull up my /usr/local/man directory in those results.
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-16 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-16 20:17 Preview of man.cgi Kristaps Dzonsons
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).