4 XScreenSaver(1) XScreenSaver(1)
8 maze - an automated X11 demo repeatedly creating and solv-
11 S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
12 m
\bma
\baz
\bze
\be [-display _
\bh_
\bo_
\bs_
\bt_
\b:_
\bd_
\bi_
\bs_
\bp_
\bl_
\ba_
\by_
\b._
\bs_
\bc_
\br_
\be_
\be_
\bn] [-foreground _
\bc_
\bo_
\bl_
\bo_
\br]
13 [-background _
\bc_
\bo_
\bl_
\bo_
\br] [-window] [-root] [-install] [-visual
14 _
\bv_
\bi_
\bs_
\bu_
\ba_
\bl] [-grid-size _
\bp_
\bi_
\bx_
\be_
\bl_
\bs] [-live-color _
\bc_
\bo_
\bl_
\bo_
\br]
15 [-dead-color _
\bc_
\bo_
\bl_
\bo_
\br] [-solve-delay _
\bu_
\bs_
\be_
\bc_
\bs] [-pre-delay
16 _
\bu_
\bs_
\be_
\bc_
\bs] [-post-delay _
\bu_
\bs_
\be_
\bc_
\bs]
18 D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
19 The _
\bm_
\ba_
\bz_
\be program creates a "random" maze and then solves
20 it with graphical feedback.
22 O
\bOP
\bPT
\bTI
\bIO
\bON
\bNS
\bS
23 _
\bm_
\ba_
\bz_
\be accepts the following options:
25 -
\b-w
\bwi
\bin
\bnd
\bdo
\bow
\bw Draw on a newly-created window. This is the
28 -
\b-r
\bro
\boo
\bot
\bt Draw on the root window.
30 -
\b-i
\bin
\bns
\bst
\bta
\bal
\bll
\bl
31 Install a private colormap for the window.
33 -
\b-v
\bvi
\bis
\bsu
\bua
\bal
\bl _
\bv_
\bi_
\bs_
\bu_
\ba_
\bl
34 Specify which visual to use. Legal values are the
35 name of a visual class, or the id number (decimal
36 or hex) of a specific visual.
38 -
\b-g
\bgr
\bri
\bid
\bd-
\b-s
\bsi
\biz
\bze
\be _
\bp_
\bi_
\bx_
\be_
\bl_
\bs
39 The size of each block of the maze, in pixels;
40 default is 0, meaning pick a random grid size.
42 -
\b-l
\bli
\biv
\bve
\be-
\b-c
\bco
\bol
\blo
\bor
\br _
\bc_
\bo_
\bl_
\bo_
\br
43 The color of the path.
45 -
\b-d
\bde
\bea
\bad
\bd-
\b-c
\bco
\bol
\blo
\bor
\br _
\bc_
\bo_
\bl_
\bo_
\br
46 The color of the failed path (it is also stippled
49 -
\b-s
\bso
\bol
\blv
\bve
\be-
\b-d
\bde
\bel
\bla
\bay
\by _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
50 Delay (in microseconds) between each step of the
51 solution path. Default 5000, or about 1/200th
54 -
\b-p
\bpr
\bre
\be-
\b-d
\bde
\bel
\bla
\bay
\by _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
55 Delay (in microseconds) between generating a maze
56 and starting to solve it. Default 2000000 (2 sec-
59 -
\b-p
\bpo
\bos
\bst
\bt-
\b-d
\bde
\bel
\bla
\bay
\by _
\bi_
\bn_
\bt_
\be_
\bg_
\be_
\br
60 Delay (in microseconds) after solving a maze and
64 X Version 11 7-mar-93 1
70 XScreenSaver(1) XScreenSaver(1)
73 before generating a new one. Default 4000000 (4
76 Clicking the mouse in the maze window controls it.
78 L
\bLe
\bef
\bft
\btB
\bBu
\but
\btt
\bto
\bon
\bn Clears the window and restarts maze.
80 M
\bMi
\bid
\bdd
\bdl
\ble
\beB
\bBu
\but
\btt
\bto
\bon
\bn Pause or unpause the program.
82 R
\bRi
\big
\bgh
\bht
\btB
\bBu
\but
\btt
\bto
\bon
\bn Exit.
85 Expose events force a restart of maze.
87 Mouse actions are based on "raw" values (Button1, Button2
88 and Button3) instead of using the pointer map.
90 E
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bT
91 D
\bDI
\bIS
\bSP
\bPL
\bLA
\bAY
\bY to get the default host and display number.
93 X
\bXE
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bT
94 to get the name of a resource file that overrides
95 the global resources stored in the RESOURCE_MAN-
98 S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
99 X
\bX(1), x
\bxs
\bsc
\bcr
\bre
\bee
\ben
\bns
\bsa
\bav
\bve
\ber
\br(1)
101 C
\bCO
\bOP
\bPY
\bYR
\bRI
\bIG
\bGH
\bHT
\bT
102 Copyright (C) 1988 by Sun Microsystems, Inc. Mountain
107 Permission to use, copy, modify, and distribute this soft-
108 ware and its documentation for any purpose and without fee
109 is hereby granted, provided that the above copyright
110 notice appear in all copies and that both that copyright
111 notice and this permission notice appear in supporting
112 documentation, and that the names of Sun or MIT not be
113 used in advertising or publicity pertaining to distribu-
114 tion of the software without specific prior written per-
115 mission. Sun and M.I.T. make no representations about the
116 suitability of this software for any purpose. It is pro-
117 vided "as is" without any express or implied warranty.
119 SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
120 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
121 FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN BE
122 LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
123 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
124 OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
125 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
126 WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
130 X Version 11 7-mar-93 2
136 XScreenSaver(1) XScreenSaver(1)
139 A
\bAU
\bUT
\bTH
\bHO
\bOR
\bR(
\b(s
\bs)
\b)
140 Jim Randell [ XScreenSaver version ] jmr@mddjmr.fc.hp.com
142 Richard Hess [ X11 extensions ] {...}!uunet!cimshop!rhess
143 Consilium, Mountain View, CA
144 Dave Lemke [ X11 version ] lemke@sun.COM
145 Sun MicroSystems, Mountain View, CA
146 Martin Weiss [ SunView version ]
147 Sun MicroSystems, Mountain View, CA
196 X Version 11 7-mar-93 3