X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fmaze.man;h=f93a70f49eb808a0f3af698d5e773c6c35f9f5d5;hb=6edc84f12f15860a71430c45e8392a5e4ef8203c;hp=10d0cea0dc0aa7a4ea2a77d73063fae478a05ba2;hpb=65740e2a8dea3d6309ae6e8914a0fb79e993ada8;p=xscreensaver diff --git a/hacks/maze.man b/hacks/maze.man old mode 100755 new mode 100644 index 10d0cea0..f93a70f4 --- a/hacks/maze.man +++ b/hacks/maze.man @@ -3,7 +3,7 @@ maze \- an automated X11 demo repeatedly creating and solving a random maze .SH SYNOPSIS .B maze -[\-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] +[\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-install] [\-visual \fIvisual\fP] [\-grid\-size \fIpixels\fP] [\-live\-color \fIcolor\fP] [\-dead\-color \fIcolor\fP] [\-solve\-delay \fIusecs\fP] [\-pre\-delay \fIusecs\fP] [\-post\-delay \fIusecs\fP] .SH DESCRIPTION The \fImaze\fP program creates a "random" maze and then solves it with graphical feedback. @@ -17,34 +17,44 @@ Draw on a newly-created window. This is the default. .B \-root Draw on the root window. .TP 8 -.B \-grid\-size pixels +.B \-install +Install a private colormap for the window. +.TP 8 +.B \-visual \fIvisual\fP +Specify which visual to use. Legal values are the name of a visual class, +or the id number (decimal or hex) of a specific visual. +.TP 8 +.B \-grid\-size \fIpixels\fP The size of each block of the maze, in pixels; default is 0, meaning pick a random grid size. .TP 8 -.B \-live\-color color +.B \-live\-color \fIcolor\fP The color of the path. .TP 8 -.B \-dead\-color color +.B \-dead\-color \fIcolor\fP The color of the failed path (it is also stippled with a 50% pattern.) .TP 8 -.B \-solve\-delay integer +.B \-solve\-delay \fIinteger\fP Delay (in microseconds) between each step of the solution path. Default 5000, or about 1/200th second. .TP 8 -.B \-pre\-delay integer +.B \-pre\-delay \fIinteger\fP Delay (in microseconds) between generating a maze and starting to solve it. Default 2000000 (2 seconds.) .TP 8 -.B \-post\-delay integer +.B \-post\-delay \fIinteger\fP Delay (in microseconds) after solving a maze and before generating a new one. Default 4000000 (4 seconds.) .PP Clicking the mouse in the maze window controls it. -.IP "\fBLeftButton\fP" +.TP 16 +.B "LeftButton Clears the window and restarts maze. -.IP "\fBMiddleButton\fP" +.TP 16 +.B MiddleButton Pause or unpause the program. -.IP "\fBRightButton\fP" +.TP 16 +.B RightButton Exit. .SH BUGS Expose events force a restart of maze.