version 1.21, 2017/03/17 12:56:57 |
version 1.24, 2022/07/06 15:47:28 |
Line 104 Lists are returned when searches match more than one m |
|
Line 104 Lists are returned when searches match more than one m |
|
The first column shows the names and section numbers of manuals |
The first column shows the names and section numbers of manuals |
as clickable links. |
as clickable links. |
The second column shows the one-line descriptions of the manuals. |
The second column shows the one-line descriptions of the manuals. |
|
For |
|
.Xr man 1 |
|
style searches, the content of the first manual page follows the list. |
.It A manual page. |
.It A manual page. |
This output format is used when a search matches exactly one |
This output format is used when a search matches exactly one |
manual page, or when a link on a list page or an |
manual page, or when a link on a list page or an |
Line 111 manual page, or when a link on a list page or an |
|
Line 114 manual page, or when a link on a list page or an |
|
link on another manual page is followed. |
link on another manual page is followed. |
.It A no-result page. |
.It A no-result page. |
This is shown when a search request returns no results - |
This is shown when a search request returns no results - |
eiher because it violates the query syntax, or because |
either because it violates the query syntax, or because |
the search does not match any manual pages. |
the search does not match any manual pages. |
.It \&An error page. |
.It \&An error page. |
This cannot happen by merely clicking the |
This cannot happen by merely clicking the |
Line 186 Otherwise, a leading slash is needed. |
|
Line 189 Otherwise, a leading slash is needed. |
|
This is used in generated HTML code. |
This is used in generated HTML code. |
.It Dv CUSTOMIZE_TITLE |
.It Dv CUSTOMIZE_TITLE |
An ASCII string to be used for the HTML <TITLE> element. |
An ASCII string to be used for the HTML <TITLE> element. |
.It Dv HTTP_HOST |
|
The FQDN of the (possibly virtual) host the HTTP server is running on. |
|
This is used for |
|
.Ic Location: |
|
headers in HTTP 303 responses. |
|
.It Dv MAN_DIR |
.It Dv MAN_DIR |
A file system path to the |
A file system path to the |
.Nm |
.Nm |
Line 239 They consist of: |
|
Line 237 They consist of: |
|
.It |
.It |
The |
The |
.Cm http:// |
.Cm http:// |
|
or |
|
.Cm https:// |
protocol specifier. |
protocol specifier. |
.It |
.It |
The host name. |
The host name. |
Line 381 or any character not contained in the |
|
Line 381 or any character not contained in the |
|
.Nm |
.Nm |
reports an internal server error and exits without doing anything. |
reports an internal server error and exits without doing anything. |
.It Pa /man/header.html |
.It Pa /man/header.html |
An optional file containing static HTML code to be inserted right |
An optional file containing static HTML code to be wrapped in |
after opening the <BODY> element. |
a <HEADER> element and inserted right after opening the <BODY> element. |
|
For example, it can contain an <H1> element |
|
specifying the name of the website. |
.It Pa /man/footer.html |
.It Pa /man/footer.html |
An optional file containing static HTML code to be inserted right |
An optional file containing static HTML code to be wrapped in |
before closing the <BODY> element. |
a <FOOTER> element and inserted right before closing the <BODY> element. |
.It Pa /man/OpenBSD-current/man1/mandoc.1 |
.It Pa /man/OpenBSD-current/man1/mandoc.1 |
An example |
An example |
.Xr mdoc 7 |
.Xr mdoc 7 |
|
|
CGI program is call-compatible with queries from the traditional |
CGI program is call-compatible with queries from the traditional |
.Pa man.cgi |
.Pa man.cgi |
script by Wolfram Schneider. |
script by Wolfram Schneider. |
However, the output may not be quite the same. |
However, the output looks quite different. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr apropos 1 , |
.Xr apropos 1 , |
.Xr mandoc.db 5 , |
.Xr mandoc.db 5 , |