http://se.aminet.net/pub/X11/ftp.x.org/contrib/vms/xscreensaver-124.zip
[xscreensaver] / hacks / maze.man
1 .TH XScreenSaver 1 "7-mar-93" "X Version 11"
2 .SH NAME
3 maze \- an automated X11 demo repeatedly creating and solving a random maze
4 .SH SYNOPSIS
5 .B maze 
6 [\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-grid\-size \fIpixels\fP] [\-live\-color \fIcolor\fP] [\-dead\-color \fIcolor\fP] [\-solve\-delay \fIusecs\fP] [\-pre\-delay \fIusecs\fP] [\-post\-delay \fIusecs\fP]
7 .SH DESCRIPTION
8 The \fImaze\fP program creates a "random" maze and then solves it with 
9 graphical feedback. 
10 .SH OPTIONS
11 .I maze
12 accepts the following options:
13 .TP 8
14 .B \-window
15 Draw on a newly-created window.  This is the default.
16 .TP 8
17 .B \-root
18 Draw on the root window.
19 .TP 8
20 .B \-grid\-size pixels
21 The size of each block of the maze, in pixels; default is 0, meaning
22 pick a random grid size.
23 .TP 8
24 .B \-live\-color color
25 The color of the path.
26 .TP 8
27 .B \-dead\-color color
28 The color of the failed path (it is also stippled with a 50% pattern.)
29 .TP 8
30 .B \-solve\-delay integer
31 Delay (in microseconds) between each step of the solution path.
32 Default 5000, or about 1/200th second.
33 .TP 8
34 .B \-pre\-delay integer
35 Delay (in microseconds) between generating a maze and starting to solve it.
36 Default 2000000 (2 seconds.)
37 .TP 8
38 .B \-post\-delay integer
39 Delay (in microseconds) after solving a maze and before generating a new one.
40 Default 4000000 (4 seconds.)
41 .PP
42 Clicking the mouse in the maze window controls it.
43 .IP "\fBLeftButton\fP"
44 Clears the window and restarts maze.
45 .IP "\fBMiddleButton\fP"
46 Pause or unpause the program.
47 .IP "\fBRightButton\fP"
48 Exit.
49 .SH BUGS
50 Expose events force a restart of maze.
51
52 Mouse actions are based on "raw" values (Button1, Button2 and Button3)
53 instead of using the pointer map.
54 .SH ENVIRONMENT
55 .PP
56 .TP 8
57 .B DISPLAY
58 to get the default host and display number.
59 .TP 8
60 .B XENVIRONMENT
61 to get the name of a resource file that overrides the global resources
62 stored in the RESOURCE_MANAGER property.
63 .SH SEE ALSO
64 .BR X (1),
65 .BR xscreensaver (1)
66 .SH COPYRIGHT
67 .PP
68 Copyright \(co 1988 by Sun Microsystems, Inc. Mountain View, CA.
69 .PP  
70 All Rights Reserved
71 .PP
72 Permission to use, copy, modify, and distribute this software and its
73 documentation for any purpose and without fee is hereby granted, provided that
74 the above copyright notice appear in all copies and that both that copyright
75 notice and this permission notice appear in supporting documentation, and that
76 the names of Sun or MIT not be used in advertising or publicity pertaining to
77 distribution of the software without specific prior written permission. Sun
78 and M.I.T.  make no representations about the suitability of this software for
79 any purpose. It is provided "as is" without any express or implied warranty.
80 .PP
81 SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
82 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN
83 NO EVENT SHALL SUN BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
84 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
85 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
86 OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
87 .SH AUTHOR(s)
88 .nf
89 Jim Randell     [ XScreenSaver version ] jmr@mddjmr.fc.hp.com
90   HPLabs, Bristol
91 Richard Hess    [ X11 extensions ]      {...}!uunet!cimshop!rhess
92   Consilium, Mountain View, CA
93 Dave Lemke      [ X11 version ]         lemke@sun.COM
94   Sun MicroSystems, Mountain View, CA
95 Martin Weiss    [ SunView version ]
96   Sun MicroSystems, Mountain View, CA
97 .fi