Deleted Added
full compact
man.cgi.8 (274880) man.cgi.8 (275432)
1.\" $Id: man.cgi.8,v 1.9 2014/07/22 18:14:13 schwarze Exp $
1.\" $Id: man.cgi.8,v 1.11 2014/09/14 19:44:28 schwarze Exp $
2.\"
3.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
2.\"
3.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: July 22 2014 $
17.Dd $Mdocdate: September 14 2014 $
18.Dt MAN.CGI 8
19.Os
20.Sh NAME
21.Nm man.cgi
22.Nd CGI program to search and display manual pages
23.Sh DESCRIPTION
24The
25.Nm

--- 12 unchanged lines hidden (view full) ---

38.Bl -enum
39.It
40An input box for search queries, expecting
41either a name of a manual page or an
42.Ar expression
43using the syntax described in the
44.Xr apropos 1
45manual; filling this in is required for each search.
18.Dt MAN.CGI 8
19.Os
20.Sh NAME
21.Nm man.cgi
22.Nd CGI program to search and display manual pages
23.Sh DESCRIPTION
24The
25.Nm

--- 12 unchanged lines hidden (view full) ---

38.Bl -enum
39.It
40An input box for search queries, expecting
41either a name of a manual page or an
42.Ar expression
43using the syntax described in the
44.Xr apropos 1
45manual; filling this in is required for each search.
46.Pp
47The expression is broken into words at whitespace.
48Whitespace characters and backslashes can be escaped
49by prepending a backslash.
50The effect of prepending a backslash to another character is undefined;
51in the current implementation, it has no effect.
46.It
47A
48.Dq Submit
49button to send a search request from the client to the server.
50.It
51A
52.Dq Reset
53button to undo any changes to the input boxes and the dropdown menus

--- 248 unchanged lines hidden (view full) ---

302.It Ev PATH_INFO
303The final part of the URI path passed from the client to the server,
304starting after the
305.Ev SCRIPT_NAME
306and ending before the
307.Ev QUERY_STRING .
308It is used by the
309.Cm show
52.It
53A
54.Dq Submit
55button to send a search request from the client to the server.
56.It
57A
58.Dq Reset
59button to undo any changes to the input boxes and the dropdown menus

--- 248 unchanged lines hidden (view full) ---

308.It Ev PATH_INFO
309The final part of the URI path passed from the client to the server,
310starting after the
311.Ev SCRIPT_NAME
312and ending before the
313.Ev QUERY_STRING .
314It is used by the
315.Cm show
310page to aquire the manpath and filename it needs.
316page to acquire the manpath and filename it needs.
311.It Ev QUERY_STRING
312The HTTP query string passed from the client to the server.
313It is the final part of the URI, after the question mark.
314It is used by the
315.Cm search
316page to acquire the named parameters it needs.
317.It Ev SCRIPT_NAME
318The path to the

--- 91 unchanged lines hidden ---
317.It Ev QUERY_STRING
318The HTTP query string passed from the client to the server.
319It is the final part of the URI, after the question mark.
320It is used by the
321.Cm search
322page to acquire the named parameters it needs.
323.It Ev SCRIPT_NAME
324The path to the

--- 91 unchanged lines hidden ---