From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id pBGKHUTv009149 for ; Fri, 16 Dec 2011 15:17:30 -0500 (EST) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 8C6A0156FB8 for ; Fri, 16 Dec 2011 21:17:24 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([130.237.32.175]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id zZ+HuFhlzFmg for ; Fri, 16 Dec 2011 21:17:22 +0100 (CET) X-KTH-Auth: kristaps [83.250.6.251] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from macky.local (c83-250-6-251.bredband.comhem.se [83.250.6.251]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 8999715636A for ; Fri, 16 Dec 2011 21:17:21 +0100 (CET) Message-ID: <4EEBA751.1090903@bsd.lv> Date: Fri, 16 Dec 2011 21:17:21 +0100 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: tech@mdocml.bsd.lv Subject: Preview of man.cgi. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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