-.Dd $Mdocdate: December 11 2011 $
+.Dd $Mdocdate: April 18 2014 $
.Dt MAN.CGI 7
.Os
.Sh NAME
.Nm
script queries and displays manual pages.
It interfaces with
-.Xr mandocdb 8
+.Xr makewhatis 8
databases cached with
.Xr catman 8 .
.Pp
The absolute path of the
.Xr catman 8
cache directory.
+This must not have a trailing slash.
.It Ev CSS_DIR
-Prepended to CSS file links.
+Prepended to CSS file links in outputted HTML files.
+This must not have a trailing slash.
.El
.Sh FILES
.Bl -tag -width Ds
.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
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