=================================================================== RCS file: /cvs/mandoc/Attic/man.cgi.7,v retrieving revision 1.7 retrieving revision 1.13 diff -u -p -r1.7 -r1.13 --- mandoc/Attic/man.cgi.7 2011/12/11 00:23:55 1.7 +++ mandoc/Attic/man.cgi.7 2014/04/18 10:30:37 1.13 @@ -1,4 +1,4 @@ -.Dd $Mdocdate: December 11 2011 $ +.Dd $Mdocdate: April 18 2014 $ .Dt MAN.CGI 7 .Os .Sh NAME @@ -11,7 +11,7 @@ The .Nm script queries and displays manual pages. It interfaces with -.Xr mandocdb 8 +.Xr makewhatis 8 databases cached with .Xr catman 8 . .Pp @@ -70,12 +70,14 @@ If no manroot is specified during search, the first ma default. .Sh ENVIRONMENT .Bl -tag -width Ds -.It Er CACHE_DIR +.It Ev CACHE_DIR The absolute path of the .Xr catman 8 cache directory. -.It Er CSS_DIR -Prepended to CSS file links. +This must not have a trailing slash. +.It Ev CSS_DIR +Prepended to CSS file links in outputted HTML files. +This must not have a trailing slash. .El .Sh FILES .Bl -tag -width Ds @@ -84,15 +86,19 @@ Built by .Xr catman 8 and must exist at least once under the configuration directory root. .It Pa man.css -Must be visible in the server document root, used for styling source -manual page output. -.It Pa catman.css -Must be visible in the server document root, used for styling -pre-formatted manual page output. +Should be visible in the server document root or within +.Ev CSS_DIR . +Included in each page after +.Pa man-cgi.css , +ostensibly for +.Xr mandoc 1 +HTML output styling. .It Pa man.cgi.css -Must be visible in the server document root, used for general styling of +Should be visible in the server document root or within +.Ev CSS_DIR . +Included in each page, ostensibly for general .Nm -search and error pages. +styling. .El .Sh COMPATIBILITY The @@ -103,13 +109,12 @@ script by Wolfram Schneider. However, the results may not be quite the same. .Sh SEE ALSO .Xr catman 8 , -.Xr mandocdb 8 +.Xr makewhatis 8 .Sh AUTHORS The .Nm utility was written by -.An Kristaps Dzonsons , -.Mt kristaps@bsd.lv . +.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . .Sh CAVEATS If you're running in a jailed web-server, make sure the .Pa /tmp