http://ftp.x.org/contrib/applications/xscreensaver-2.24.tar.gz
[xscreensaver] / driver / xscreensaver.man
1 .de EX          \"Begin example
2 .ne 5
3 .if n .sp 1
4 .if t .sp .5
5 .nf
6 .in +.5i
7 ..
8 .de EE
9 .fi
10 .in -.5i
11 .if n .sp 1
12 .if t .sp .5
13 ..
14 .TH XScreenSaver 1 "30-Jun-98 (2.24)" "X Version 11"
15 .SH NAME
16 xscreensaver - graphics hack and screen locker, launched when the user is idle
17 .SH SYNOPSIS
18 .B xscreensaver
19 [\-display \fIhost:display.screen\fP] \
20 [\-timeout \fIint\fP] \
21 [\-cycle \fIint\fP] \
22 [\-lock\-mode] \
23 [\-no\-lock\-mode] \
24 [\-lock\-timeout \fIint\fP] \
25 [\-visual \fIvisual\fP] \
26 [\-install] \
27 [\-no\-install] \
28 [\-verbose] \
29 [\-silent] \
30 [\-nice \fIint\fP] \
31 [\-mit\-extension] \
32 [\-no\-mit\-extension] \
33 [\-sgi\-extension] \
34 [\-no\-sgi\-extension] \
35 [\-xidle\-extension] \
36 [\-no\-xidle\-extension] \
37 [\-xrm \fIresources\fP]
38 .SH DESCRIPTION
39 The \fIxscreensaver\fP program waits until the keyboard and mouse have been 
40 idle for a period, and then runs a graphics demo chosen at random.  It 
41 turns off as soon as there is any mouse or keyboard activity.
42
43 This program can lock your terminal in order to prevent others from using it,
44 though its default mode of operation is merely to display pretty pictures on
45 your screen when it is not in use.  
46
47 The benefit that this program has over the combination of the
48 .BR xlock (1)
49 and
50 .BR xautolock (1)
51 programs is the ease with which new graphics hacks can be installed.  You
52 don't need to recompile (or even re-run) this program to add a new display
53 mode.
54 .SH GETTING STARTED
55 For the impatient, try this:
56 .EX
57 xscreensaver &
58 xscreensaver-command -demo
59 .EE
60 After a few seconds, the screen should go black, and a dialog box should
61 appear in the upper right corner.  This is \fIDemo Mode\fP.
62
63 .B Note:
64 unlike
65 .BR xlock (1),
66 xscreensaver has a client-server model: the xscreensaver process is a
67 daemon that runs in the background; it is controlled by the foreground
68 .BR xscreensaver-command (1)
69 program.
70 .SH DEMO MODE
71 If \fIxscreensaver\fP receives the \fBDEMO\fP ClientMessage, which is done
72 by running the
73 .BR xscreensaver\-command (1)
74 program with the \fB\-demo\fP option, the screensaver will black the screen
75 and pop up a dialog box from which you can examine and experiment with the
76 client programs.
77
78 The dialog box contains a scrolling list, a text field, and a number of 
79 buttons.  
80
81 Double-clicking on one of the programs in the list will run it.  The dialog
82 box will disappear, allowing the program access to the full screen.  Clicking
83 the mouse again will bring the dialog box back.
84
85 Single-clicking in the list will place the indicated program and its args
86 in the text field to be edited.  Edit the arguments and hit return to run
87 the program with the parameters you have specified.  (Note that these are
88 one-time changes and won't be remembered; to make the changes permanent,
89 you need to edit your X resource file.)
90
91 The buttons are:
92 .TP 8
93 .B Run Next
94 Clicking this button will run the next program in the list after the 
95 currently-selected one, and will scroll around to the top when it reaches
96 the bottom.
97 .TP 8
98 .B Run Previous
99 Opposite of Run Next; at the top, it scrolls around to the bottom.
100 .TP 8
101 .B Preferences
102 This pops up a second dialog box, in which you have the option to 
103 interactively change most of the screensaver's operational parameters,
104 such as its timeouts, and whether it should lock the screen.  Changing 
105 these parameters here will affect only the running \fIxscreensaver\fP
106 process; to make the changes permanent, you need to edit your X resource
107 file.  (See the \fIConfiguration\fP section, below.)
108 .TP 8
109 .B Exit Demo Mode
110 Returns to normal screensaver operation.
111 .TP 8
112 .B Reinitialize
113 This causes the X resource database to be re-read, to pick up any changes
114 you might have made.  This works by causing the screensaver process to exit
115 and then restart itself with the same command-line arguments.  This is just
116 like the \fI\-restart\fP argument to 
117 .BR xscreensaver\-command (1)
118 except that when executed from this button, the screensaver will 
119 automatically return to Demo Mode after restarting.
120 .SH CONFIGURATION
121 \fIxscreensaver\fP understands the following X resources.  The best way
122 to specify these parameters is to set them in your X resource file, 
123 which is usually called \fI~/.Xdefaults\fP.  For example, to set the
124 default value of the \fItimeout\fP resource, you would add the following
125 line to your .Xdefaults file:
126 .EX
127 xscreensaver.timeout: 5
128 .EE
129 To make the system notice this change, you might also need to run
130 .BR xrdb (1):
131 .EX
132 xrdb < ~/.Xdefaults
133 .EE
134 And if xscreensaver was already running, and you would like it to notice
135 your changes, you'll also have to tell the running xscreensaver process
136 to re-initialize itself, like so:
137 .EX
138 xscreensaver-command -restart
139 .EE
140 If you want to set the system-wide defaults, then make your edits to
141 the xscreensaver app-defaults file, which should have been installed
142 when xscreensaver itself was installed.  The app-defaults file will
143 usually be named /usr/lib/X11/app-defaults/XScreenSaver, but different
144 systems might keep it in a different place (for example,
145 /usr/openwin/lib/app-defaults/XScreenSaver on Solaris.)
146 .PP
147 .TP 8
148 .B timeout\fP (class \fBTime\fP)
149 The screensaver will activate (blank the screen) after the keyboard and
150 mouse have been idle for this many minutes.  Default 10 minutes.
151 .TP 8
152 .B cycle\fP (class \fBTime\fP)
153 After the screensaver has been running for this many minutes, the currently
154 running graphics-hack sub-process will be killed (with \fBSIGTERM\fP), and a
155 new one started.  If this is 0, then the graphics hack will never be changed:
156 only one demo will run until the screensaver is deactivated by user activity.
157 Default 10 minutes.
158 .TP 8
159 .B lock\fP (class \fBBoolean\fP)
160 Enable locking: before the screensaver will turn off, it will require you 
161 to type the password of the logged-in user (really, the person who ran
162 xscreensaver), or the root password.  (\fBNote:\fP this doesn't work if the
163 screensaver is launched by
164 .BR xdm (1)
165 because it can't know the user-id of the logged-in user.  See 
166 the ``\fIUsing XDM(1)\fP'' section, below.
167 .TP 8
168 .B lockTimeout\fP (class \fBTime\fP)
169 If locking is enabled, this controls the length of the ``grace period''
170 between when the screensaver activates, and when the screen becomes locked.
171 For example, if this is 5, and \fI\-timeout\fP is 10, then after 10 minutes,
172 the screen would blank.  If there was user activity at 12 minutes, no password
173 would be required to un-blank the screen.  But, if there was user activity
174 at 15 minutes or later (that is, \fI\-lock\-timeout\fP minutes after 
175 activation) then a password would be required.  The default is 0, meaning
176 that if locking is enabled, then a password will be required as soon as the 
177 screen blanks.
178 .TP 8
179 .B passwdTimeout\fP (class \fBTime\fP)
180 If the screen is locked, then this is how many seconds the password dialog box
181 should be left on the screen before giving up (default 30 seconds.)  This
182 should not be too large: the X server is grabbed for the duration that the
183 password dialog box is up (for security purposes) and leaving the server 
184 grabbed for too long can cause problems.
185 .TP 8
186 .B visualID\fP (class \fBVisualID\fP)
187 Specify which X visual to use by default.  (Note carefully that this resource
188 is called \fBvisualID\fP, not merely \fBvisual\fP; if you set the \fBvisual\fP
189 resource instead, things will malfunction in obscure ways for obscure reasons.)
190
191 Legal values for the \fBVisualID\fP resource are:
192 .RS 8
193 .TP 8
194 .B default
195 Use the screen's default visual (the visual of the root window.)  
196 This is the default.
197 .TP 8
198 .B best
199 Use the visual which supports the most colors.  Note, however, that the
200 visual with the most colors might be a TrueColor visual, which does not
201 support colormap animation.  Some programs have more interesting behavior
202 when run on PseudoColor visuals than on TrueColor.
203 .TP 8
204 .B mono
205 Use a monochrome visual, if there is one.
206 .TP 8
207 .B gray
208 Use a grayscale or staticgray visual, if there is one and it has more than
209 one plane (that is, it's not monochrome.)
210 .TP 8
211 .B color
212 Use the best of the color visuals, if there are any.
213 .TP 8
214 .I class
215 where \fIclass\fP is one of \fBStaticGray\fP, \fBStaticColor\fP, 
216 \fBTrueColor\fP, \fBGrayScale\fP, \fBPseudoColor\fP, or \fBDirectColor\fP.
217 Selects the deepest visual of the given class.
218 .TP 8
219 .I number
220 where \fInumber\fP (decimal or hex) is interpreted as a visual id number, 
221 as reported by the
222 .BR xdpyinfo (1)
223 program; in this way you can have finer control over exactly which visual
224 gets used, for example, to select a shallower one than would otherwise
225 have been chosen.
226
227 .RE
228 .RS 8
229 Note that this option specifies only the \fIdefault\fP visual that will
230 be used: the visual used may be overridden on a program-by-program basis.
231 See the description of the \fBprograms\fP resource, below.
232 .RE
233 .TP 8
234 .B installColormap\fP (class \fBBoolean\fP)
235 Install a private colormap while the screensaver is active, so that the
236 graphics hacks can get as many colors as possible.  This is the 
237 default.  (This only applies when the screen's default visual is being
238 used, since non-default visuals get their own colormaps automatically.)
239 This can also be overridden on a per-hack basis: see the discussion of
240 the \fBdefault\-n\fP name in the section about the \fBprograms\fP resource.
241 .TP 8
242 .B verbose\fP (class \fBBoolean\fP)
243 Whether to print diagnostics.  Default false.
244 .TP 8
245 .B nice\fP (class \fBNice\fP)
246 The sub-processes created by \fIxscreensaver\fP will be ``niced'' to this
247 level, so that they are given lower priority than other processes on the
248 system, and don't increase the load unnecessarily.  The default is 20.  
249
250 (Higher numbers mean lower priority; see 
251 .BR nice (1)
252 for details.)
253 .TP 8
254 .B sgiSaverExtension\fP (class \fBBoolean\fP)
255 There are a number of different X server extensions which can make
256 xscreensaver's job easier.  The next few resources specify whether these
257 extensions should be utilized if they are available.
258
259 This resource controls whether the SGI \fBSCREEN_SAVER\fP server extension
260 will be used to decide whether the user is idle.  This is the default 
261 if \fIxscreensaver\fP has been compiled with support for this 
262 extension (which is the default on SGI systems.).  If it is available, 
263 the \fBSCREEN_SAVER\fP method is faster and more reliable than what will
264 be done otherwise, so use it if you can.  (This extension is only available
265 on Silicon Graphics systems, unfortunately.)
266 .TP 8
267 .B mitSaverExtension\fP (class \fBBoolean\fP)
268 This resource controls whether the \fBMIT\-SCREEN\-SAVER\fP server extension
269 will be used to decide whether the user is idle.  However, the default for
270 this resource is \fIfalse\fP, because even if this extension is available,
271 it is flaky (and it also makes the \fBfade\fP option not work properly.)
272 Use of this extension is not recommended.
273 .TP 8
274 .B xidleExtension\fP (class \fBBoolean\fP)
275 This resource controls whether the \fBXIDLE\fP server extension will be
276 used to decide whether the user is idle.  This is the default 
277 if \fIxscreensaver\fP has been compiled with support for this extension.
278 (This extension is only available for X11R4 and X11R5 systems, unfortunately.)
279 .TP 8
280 .B fade\fP (class \fBBoolean\fP)
281 If this is true, then when the screensaver activates, the current contents
282 of the screen will fade to black instead of simply winking out.  This only
283 works on displays with writable colormaps, that is, if the screen's default
284 visual is a PseudoColor visual.  A fade will also be done when
285 switching graphics hacks (when the \fIcycle\fP timer expires.)
286 Default: true.  
287 .TP 8
288 .B unfade\fP (class \fBBoolean\fP)
289 If this is true, then when the screensaver deactivates, the original contents
290 of the screen will fade in from black instead of appearing immediately.  This
291 only works on displays with writable colormaps, and if \fIfade\fP is true
292 as well.  Default false.
293 .TP 8
294 .B fadeSeconds\fP (class \fBTime\fP)
295 If \fIfade\fP is true, this is how long the fade will be in 
296 seconds (default 3 seconds.)
297 .TP 8
298 .B fadeTicks\fP (class \fBInteger\fP)
299 If \fIfade\fP is true, this is how many times a second the colormap will
300 be changed to effect a fade.  Higher numbers yield smoother fades, but
301 may make the fades take longer than the specified \fIfadeSeconds\fP if
302 your server isn't fast enough to keep up.  Default 20.
303 .TP 8
304 .B captureStderr\fP (class \fBBoolean\fP)
305 Whether \fIxscreensaver\fP should redirect its standard-error stream to the
306 window itself.  Since its nature is to take over the screen, you would not
307 normally see error messages generated by xscreensaver or the sub-programs it
308 runs; this resource will cause the output of all relevant programs to be
309 drawn on the screensaver window itself, as well as being written to the
310 controlling terminal of the screensaver driver process.  Default true.
311 .TP 8
312 .B captureStdout\fP (class \fBBoolean\fP)
313 Like \fBcaptureStderr\fP but for the standard-output stream.  Default true.
314 .TP 8
315 .B font\fP (class \fBFont\fP)
316 The font used for the stdout/stderr text, if \fBcaptureStdout\fP or
317 \fBcaptureStderr\fP are true.  Default \fB*\-medium\-r\-*\-140\-*\-m\-*\fP
318 (a 14 point fixed-width font.)
319 .TP 8
320 .B overlayTextForeground\fP (class \fBForeground\fP)
321 The foreground color used for the stdout/stderr text, if \fBcaptureStdout\fP 
322 or \fBcaptureStderr\fP are true.  Default: Yellow.
323 .TP 8
324 .B overlayTextBackground\fP (class \fBBackground\fP)
325 The background color used for the stdout/stderr text, if \fBcaptureStdout\fP 
326 or \fBcaptureStderr\fP are true.  Default: Black.
327 .TP 8
328 .B programs\fP (class \fBPrograms\fP)
329 The graphics hacks which \fIxscreensaver\fP runs when the user is idle.
330 The value of this resource is a string, one \fIsh\fP-syntax command per line.  
331 Each line must contain exactly one command: no semicolons, no ampersands.
332
333 When the screensaver starts up, one of these is selected at random, and
334 run.  After the \fIcycle\fP period expires, it is killed, and another
335 is selected and run.
336
337 If the value of this resource is empty, then no programs will be run; the
338 screen will simply be made black.
339
340 If the display has multiple screens, then a different program will be run
341 for each screen.  (All screens are blanked and unblanked simultaniously.)
342
343 Note that you must escape the newlines; here is an example of how you
344 might set this in your \fI~/.Xdefaults\fP file:
345
346 .RS 8
347 .EX
348 xscreensaver.programs:  \\
349         qix -root                          \\n\\
350         ico -r -faces -sleep 1 -obj ico    \\n\\
351         xdaliclock -builtin2 -root         \\n\\
352         xv -root -rmode 5 image.gif -quit  \\n
353 .EE
354 .RE
355 .RS 8
356 Make sure your \fB$PATH\fP environment variable is set up correctly
357 \fIbefore\fP xscreensaver is launched, or it won't be able to find the
358 programs listed in the \fIprograms\fP resource.
359
360 To use a program as a screensaver, two things are required: that that
361 program draw on the root window (or be able to be configured to draw on
362 the root window); and that that program understand ``virtual root''
363 windows, as used by virtual window managers such as \fItvtwm\fP.  (Generally,
364 this is accomplished by just including the \fI"vroot.h"\fP header file in
365 the program's source.)
366
367 If there are some programs that you want to run only when using a color
368 display, and others that you want to run only when using a monochrome
369 display, you can specify that like this:
370
371 .EX
372     mono:   mono-program  -root        \\n\\
373     color:  color-program -root        \\n\\
374 .EE
375 .RE
376 .RS 8
377 More generally, you can specify the kind of visual that should be used for
378 the window on which the program will be drawing.  For example, if one 
379 program works best if it has a colormap, but another works best if it has
380 a 24-bit visual, both can be accommodated:
381
382 .EX
383     PseudoColor: cmap-program  -root   \\n\\
384     TrueColor:   24bit-program -root   \\n\\
385 .EE
386 .RE
387 .RS 8
388 (This sort of thing used to be accomplished with the \fIcolorPrograms\fP
389 and \fImonoPrograms\fP resources, but those resources have now been removed;
390 a warning will be issued if they are used.)
391
392 In addition to the symbolic visual names described above (in the discussion
393 of the \fIvisualID\fP resource) one other visual name is supported in
394 the \fIprograms\fP list:
395 .RS 1
396 .TP 4
397 .B default-n
398 This is like \fBdefault\fP, but also requests the use of the default colormap,
399 instead of a private colormap.  (That is, it behaves as if 
400 the \fI\-no\-install\fP command-line option was specified, but only for
401 this particular hack.)  This is provided because some third-party programs
402 that draw on the root window (notably: 
403 .BR xv (1),
404 and
405 .BR xearth (1))
406 make assumptions about the visual and colormap of the root window: 
407 assumptions which xscreensaver can violate.
408
409 .RE
410 If you specify a particular visual for a program, and that visual does not
411 exist on the screen, then that program will not be chosen to run.  This
412 means that on displays with multiple screens of different depths, you can
413 arrange for appropriate hacks to be run on each.  For example, if one screen
414 is color and the other is monochrome, hacks that look good in mono can be 
415 run on one, and hacks that only look good in color will show up on the other.
416 .RE
417 .PP
418 .PP
419 Normally you won't need to change the following resources:
420 .PP
421 .TP 8
422 .B bourneShell\fP (class \fBBourneShell\fP)
423 The pathname of the shell that \fIxscreensaver\fP uses to start subprocesses.
424 This must be whatever your local variant of \fB/bin/sh\fP is: in particular,
425 it must not be \fBcsh\fP.
426 .TP 8
427 .B windowCreationTimeout\fP (class \fBTime\fP)
428 When server extensions are not in use, this controls the delay between when 
429 windows are created and when \fIxscreensaver\fP selects events on them.
430 Default 30 seconds.
431 .TP 8
432 .B pointerPollTime\fP (class \fBTime\fP)
433 When server extensions are not in use, this controls how 
434 frequently \fIxscreensaver\fP checks to see if the mouse position or buttons
435 have changed.  Default 5 seconds.
436 .TP 8
437 .B initialDelay\fP (class \fBTime\fP)
438 When server extensions are not in use, \fIxscreensaver\fP will wait this many
439 seconds before selecting events on existing windows, under the assumption that 
440 \fIxscreensaver\fP is started during your login procedure, and the window 
441 state may be in flux.  Default 0.  (This used to default to 30, but that was
442 back in the days when slow machines and X terminals were more common...)
443 .TP 8
444 .B overlayStderr\fP (class \fBBoolean\fP)
445 If \fBcaptureStderr\fP or \fBcaptureStdout\fP are True, and your server 
446 supports ``overlay'' visuals, then the text will be written into one of
447 the higher layers instead of into the same layer as the running screenhack.
448 Set this to False to disable that (though you shouldn't need to.)
449 .SH COMMAND-LINE OPTIONS
450 .I xscreensaver
451 also accepts the following command line options.  Except for 
452 the \fI\-display\fP option, these command-line options are all 
453 simply shorthand for the X resources described in 
454 the \fIConfiguration\fP section, above.
455 .TP 8
456 .B \-display \fIhost:display.screen\fP
457 The X display to use.  For displays with multiple screens, XScreenSaver 
458 will manage all screens on the display simultaniously; the \fIscreen\fP 
459 argument (the ``default'' screen) says which screen should be used for
460 dialog boxes (the password window, \fIDemo Mode\fP, etc.)
461 .TP 8
462 .B \-timeout \fIminutes\fP
463 Same as the \fItimeout\fP resource.
464 .TP 8
465 .B \-cycle \fIminutes\fP
466 Same as the \fIcycle\fP resource.
467 .TP 8
468 .B \-lock\-mode
469 Same as setting the \fIlock\fP resource to \fItrue\fP.
470 .TP 8
471 .B \-no\-lock\-mode
472 Same as setting the \fIlock\fP resource to \fIfalse\fP.
473 .TP 8
474 .B \-lock\-timeout \fIminutes\fP
475 Same as the \fIlockTimeout\fP resource.
476 .TP 8
477 .B \-visual \fIvisual\fP
478 Same as the \fIvisualID\fP resource.
479 .TP 8
480 .B \-install
481 Same as setting the \fIinstallColormap\fP resource to \fItrue\fP.
482 .TP 8
483 .B \-no\-install
484 Same as setting the \fIinstallColormap\fP resource to \fIfalse\fP.
485 .TP 8
486 .B \-verbose
487 Same as setting the \fIverbose\fP resource to \fItrue\fP.
488 .TP 8
489 .B \-silent
490 Same as setting the \fIverbose\fP resource to \fIfalse\fP.
491 .TP 8
492 .B \-nice \fIinteger\fP
493 Same as the \fInice\fP resource.
494 .TP 8
495 .B \-sgi\-extension
496 Same as setting the \fIsgiSaverExtension\fP resource to \fItrue\fP.
497 .TP 8
498 .B \-no\-sgi\-extension
499 Same as setting the \fIsgiSaverExtension\fP resource to \fIfalse\fP.
500 .TP 8
501 .B \-mit\-extension
502 Same as setting the \fImitSaverExtension\fP resource to \fItrue\fP.
503 .TP 8
504 .B \-no\-mit\-extension
505 Same as setting the \fImitSaverExtension\fP resource to \fIfalse\fP.
506 .TP 8
507 .B \-xidle\-extension
508 Same as setting the \fIxidleExtension\fP resource to \fItrue\fP.
509 .TP 8
510 .B \-no\-xidle\-extension
511 Same as setting the \fIxidleExtension\fP resource to \fIfalse\fP.
512 .TP 8
513 .B \-xrm \fIresource-specification\fP
514 As with all other Xt programs, you can specify X resources on the command-line
515 using the \fI\-xrm\fP argument.  Most of the interesting resources have 
516 command-line equivalents, however.
517 .SH HOW IT WORKS
518 When it is time to activate the screensaver, a full-screen black window is
519 created on each screen of the display.  The window or windows is given the
520 appropriate properties so that, to any subsequently-created programs, it 
521 will appear to be a ``virtual root'' window.  Because of this, any program 
522 which draws on the root window (and which understands virtual roots) can be
523 used as a screensaver.
524
525 When the user becomes active again, the screensaver windows are unmapped and
526 the running subprocesses are killed by sending them \fBSIGTERM\fP.  This is 
527 also how the subprocesses are killed when the screensaver decides that it's
528 time to run a different demo: the old one is killed and a new one is launched.
529
530 Before launching a subprocess, \fIxscreensaver\fP stores an appropriate value
531 for \fB$DISPLAY\fP in the environment that the child will recieve.  (This is
532 so that if you start \fIxscreensaver\fP with a \fI-display\fP argument, the
533 programs which \fIxscreensaver\fP launches will draw on the same display;
534 and so that the child will end up drawing on the appropriate screen of a
535 multi-headed display.)
536
537 When the screensaver turns off, or is killed, care is taken to restore 
538 the ``real'' virtual root window if there is one.  Because of this, it is
539 important that you not kill the screensaver process with \fIkill -9\fP if
540 you are running a virtual-root window manager.  If you kill it with \-9,
541 you may need to restart your window manager to repair the damage.  This
542 isn't an issue if you aren't running a virtual-root window manager.
543
544 For all the gory details, see the commentary at the top of xscreensaver.c.
545
546 You can control a running screensaver process by using the
547 .BR xscreensaver\-command (1)
548 program (which see.)
549 .SH POWER MANAGEMENT
550 Modern X servers contain support to power down the monitor after an idle
551 period.  If the monitor has powered down, then \fIxscreensaver\fP will
552 notice this, and will not waste CPU by drawing graphics demos on a black
553 screen.  An attempt will also be made to explicitly power the monitor
554 back up as soon as user activity is detected.
555
556 If your X server supports power management, then
557 .BR xset (1)
558 will accept a \fBdpms\fP option.  So, if you wanted \fIxscreensaver\fP
559 to activate after 5 minutes, but you wanted your monitor to power down
560 after one hour (3600 seconds) you would do this:
561 .EX
562 xset dpms 3600
563 .EE
564 See the man page for the
565 .BR xset (1)
566 program for details.  (Note that power management requires both software
567 support in the X server, and hardware support in the monitor itself.)
568 .SH USING XDM(1)
569 You can run \fIxscreensaver\fP from your xdm session, so that the 
570 screensaver will run even when nobody is logged in on the console.  
571 Simply add \fB"xscreensaver &"\fP to your \fI/usr/lib/X11/xdm/Xsetup\fP 
572 file.  Because \fIxdm\fP grabs the keyboard, keypresses will not make 
573 the screensaver deactivate, but any mouse activity will.
574
575 Make sure you have \fB$PATH\fP set up correctly in the Xsetup script, or
576 \fIxdm\fP won't be able to find \fIxscreensaver\fP, and/or \fIxscreensaver\fP
577 won't be able to find its graphics hacks.
578
579 (If your system does not seem to be executing the \fIXsetup\fP file, you
580 may need to configure it to do so: the traditional way to do this is
581 to make that file the value of the \fIDisplayManager*setup\fP resource
582 in the \fI/usr/lib/X11/xdm/xdm-config\fP file.  See the man page for
583 .BR xdm (1)
584 for more details.)
585
586 Users may want to add \fB"xscreensaver-command -restart"\fP to their 
587 startup scripts, so that the screensaver will be reinitialized with
588 their private resource settings when they log in.  Users who don't do
589 this will get the system-wide defaults instead.
590
591 It is safe to run this program as root (as \fIxdm\fP is likely to do.)  If 
592 run as root, \fIxscreensaver\fP changes its effective user and group ids to
593 something safe (like \fI"nobody"\fP) before connecting to the X server
594 or launching user-specified programs.
595
596 Locking doesn't work if the screensaver is launched by \fIxdm\fP.  To get
597 around this, you can run the screensaver from \fIxdm\fP without locking, 
598 and kill and restart it from your personal X startup script to enable
599 locking; for example, by using this pair of commands:
600
601 .EX
602 xscreensaver-command -exit
603 xscreensaver
604 .EE
605 If you get "connection refused" errors when running \fIxscreensaver\fP
606 from \fIxdm\fP, then this probably means that you have
607 .BR xauth (1)
608 or some other security mechanism turned on.  One way around this is to
609 add \fB"xhost\ +localhost"\fP to \fIXsetup\fP, just before \fIxscreensaver\fP
610 is launched.  
611
612 Note that this will give access to the X server to anyone capable of logging
613 in to the local machine, so in some environments, this might not be 
614 appropriate.  If turning off file-system-based access control is not
615 acceptable, then running \fIxscreensaver\fP from \fIxdm\fP might not be
616 possible, and users will have to launch it themselves instead of having it
617 be launched by \fIxdm\fP before anyone logs in.
618
619 For more information on the X server's access control mechanisms, see the
620 man pages for
621 .BR X (1),
622 .BR Xsecurity (1),
623 .BR xauth (1),
624 and
625 .BR xhost (1).
626 .SH USING CDE (COMMON DESKTOP ENVIRONMENT)
627 The easiest way to use \fIxscreensaver\fP on a system with CDE is to simply
628 switch off the built-in CDE screensaver, and use \fIxscreensaver\fP instead;
629 and second, to tell the front panel to run 
630 .BR xscreensaver\-command (1)
631 with the \fI\-lock\fP option when the \fILock\fP icon is clicked.
632
633 To accomplish this involves five steps:
634 .RS 4
635 .TP 3
636 \fB1: Switch off CDE's locker\fP
637 Do this by turning off ``\fIScreen Saver and Screen Lock\fP'' in the
638 Screen section of the Style Manager.
639 .TP 3
640 \fB2: Edit sessionetc\fP
641 Edit the file \fI~/.dt/sessions/sessionetc\fP and add to it the line
642
643 .EX
644 xscreensaver &
645 .EE
646 This will cause \fIxscreensaver\fP to be launched when you log in.
647 (As always, make sure that xscreensaver and the graphics demos are on
648 your \fB$PATH\fP; the path needs to be set in \fI.cshrc\fP 
649 and/or \fI.dtprofile\fP, not \fI.login\fP.)
650 .TP 3
651 \fB3: Create XScreenSaver.dt\fP
652 Create a file called \fI~/.dt/types/XScreenSaver.dt\fP with the following
653 contents:
654
655 .EX
656 ACTION XScreenSaver
657 {
658   LABEL         XScreenSaver
659   TYPE          COMMAND
660   EXEC_STRING   xscreensaver-command -lock
661   ICON          Dtkey
662   WINDOW_TYPE   NO_STDIO
663 }
664 .EE
665 This defines a ``lock'' command for the CDE front panel, that knows how
666 to talk to \fIxscreensaver\fP.
667 .TP 3
668 \fB4: Create Lock.fp\fP
669 Create a file called \fI~/.dt/types/Lock.fp\fP with the following
670 contents:
671
672 .EX
673 CONTROL Lock
674 {
675   TYPE             icon
676   CONTAINER_NAME   Switch
677   CONTAINER_TYPE   SWITCH
678   POSITION_HINTS   1
679   ICON             Fplock
680   LABEL            Lock
681   PUSH_ACTION      XScreenSaver
682   HELP_TOPIC       FPOnItemLock
683   HELP_VOLUME      FPanel
684 }
685 .EE
686 This associates the CDE front panel ``Lock'' icon with the lock command
687 we just defined in step 3.
688 .TP 3
689 \fB5: Restart\fP
690 Select ``\fIRestart Workspace Manager\fP'' from the popup menu to make
691 your changes take effect.  If things seem not to be working, check the
692 file \fI~/.dt/errorlog\fP for error messages.
693 .RE
694 .SH USING HP VUE (VISUAL USER ENVIRONMENT)
695 Since CDE is a descendant of VUE, the instructions for using xscreensaver
696 under VUE are similar to the above:
697
698 .RS 4
699 .TP 3
700 \fB1: Switch off VUE's locker\fP
701 Open the ``\fIStyle Manager\fP'' and select ``\fIScreen\fP.''
702 Turn off ``\fIScreen Saver and Screen Lock\fP'' option.
703 .TP 3
704 \fB2: Make sure you have a Session\fP
705 Next, go to the Style Manager's, ``\fIStartup\fP'' page.
706 Click on ``\fISet Home Session\fP'' to create a session, then 
707 on ``\fIReturn to Home Session\fP'' to select this session each
708 time you log in.
709 .TP 3
710 \fB3: Edit vue.session\fP
711 Edit the file \fI~/.vue/sessions/home/vue.session\fP and add to it
712 the line
713 .EX
714 vuesmcmd -screen 0 -cmd "xscreensaver"
715 .EE
716 This will cause \fIxscreensaver\fP to be launched when you log in.
717 (As always, make sure that xscreensaver and the graphics demos are on
718 your \fB$PATH\fP; the path needs to be set in \fI.cshrc\fP
719 and/or \fI.profile\fP, not \fI.login\fP.)
720 .TP 3
721 \fB3: Edit vuewmrc\fP
722 Edit the file \fI~/.vue/vuewmrc\fP and add (or change) the Lock control:
723 .EX
724 CONTROL Lock
725 {
726   TYPE         button
727   IMAGE        lock
728   PUSH_ACTION  f.exec "xscreensaver-command -lock"
729   HELP_TOPIC   FPLock
730 }
731 .EE
732 This associates the VUE front panel ``Lock'' icon with the xscreensaver 
733 lock command.
734 .RE
735 .PP
736 .SH ADDING TO MENUS
737 The
738 .BR xscreensaver-command (1)
739 program is a perfect candidate for something to add to your window manager's
740 popup menus.  If you use 
741 .BR mwm (1),
742 .BR 4Dwm (1),
743 .BR twm (1),
744 or (probably) any of \fItwm\fP's many descendants, you can do it like this:
745 .RS 0
746 .TP 3
747 \fB1. Create ~/.mwmrc (or ~/.twmrc or ...)\fP
748 If you don't have a \fI~/.mwmrc\fP file (or, on SGIs, a \fI~/.4Dwmrc\fP file;
749 or, with twm, a \fI~/.twmrc\fP file) then create one by making a copy of
750 the \fI/usr/lib/X11/system.mwmrc\fP 
751 file (or \fI/usr/lib/X11/twm/system.twmrc\fP, and so on.)
752 .TP 3
753 \fB2. Add a menu definition.\fP
754 Something like this:
755 .EX
756 menu XScreenSaver
757 {
758  "Blank Screen Now" !"sleep 3; xscreensaver-command -activate"
759  "Lock Screen Now"  !"sleep 3; xscreensaver-command -lock"
760  "Screen Saver Demo"         !"xscreensaver-command -demo"
761  "Reinitialize Screen Saver" !"xscreensaver-command -restart"
762  "Kill Screen Saver"         !"xscreensaver-command -exit"
763  "Launch Screen Saver"       !"xscreensaver &"
764 }
765 .EE
766 .TP 3
767 \fB3. Add the menu\fP
768 For
769 .BR mwm (1)
770 and
771 .BR 4Dwm (1),
772 find the section of the file that says \fIMenu DefaultRootMenu\fP.
773 For
774 .BR twm (1),
775 it will probably be \fImenu "defops"\fP.  If you add a line somewhere 
776 in that menu definition that reads
777 .EX
778   "XScreenSaver"        f.menu XScreenSaver
779 .EE
780 then this will add an XScreenSaver sub-menu to your default root-window
781 popup menu.  Alternately, you could just put the \fIxscreensaver-command\fP
782 menu items directly into the root menu.
783 .RE
784
785 Other window managers might (and probably do) do things differently.
786 .SH BUGS
787 (This is not a bug, but) note that as of release 1.32, the \fBcolorPrograms\fP 
788 and \fBmonoPrograms\fP resources are no longer used: they have been 
789 supplanted by the extended syntax of the \fBprograms\fP resource (which is
790 described in the \fIConfiguration\fP section, above.)
791 .TP 8
792 .B Extensions
793 If you are not making use of one of the server extensions (\fBXIDLE\fP,
794 \fBSGI SCREEN_SAVER\fP, or \fBMIT-SCREEN-SAVER\fP), then it is possible, in 
795 rare situations, for \fIxscreensaver\fP to interfere with event propagation 
796 and make another X program malfunction.  For this to occur, that other
797 application would need to \fInot\fP select \fBKeyPress\fP events on its 
798 non-leaf windows within the first 30 seconds of their existence, but then 
799 select for them later.  In this case, that client \fImight\fP fail to receive 
800 those events.  This isn't very likely, since programs generally select a
801 constant set of events immediately after creating their windows and then 
802 don't change them, but this is the reason that it's a good idea to install 
803 and use one of the server extensions instead, to work around this shortcoming
804 in the X protocol.
805 .TP 8
806 .B Machine Load
807 Although this program ``nices'' the subprocesses that it starts, 
808 graphics-intensive subprograms can still overload the machine by causing
809 the X server process itself (which is not ``niced'') to suck a lot of 
810 cycles.  Care should be taken to slow down programs intended for use as 
811 screensavers by inserting strategic calls to
812 .BR sleep (3)
813 or
814 .BR usleep (3)
815 (or making liberal use of any \fI\-delay\fP options which the programs 
816 may provide.)
817
818 Also, an active screensaver will cause your X server to be pretty much 
819 permanently swapped in; but the same is true of any program that draws
820 periodically, like 
821 .BR xclock (1)
822 or
823 .BR xload (1).
824 .TP 8
825 .B Latency and Responsiveness
826 If the subprocess is drawing too quickly and the connection to the X
827 server is a slow one (such as an X terminal running over a phone line) then 
828 the screensaver might not turn off right away when the user becomes active
829 again (the
830 .BR ico (1)
831 demo has this problem if being run in full-speed mode).  This can be
832 alleviated by inserting strategic calls to
833 .BR XSync (3)
834 in code intended for use as a screensaver.  This prevents too much graphics
835 activity from being buffered up.
836 .TP 8
837 .B Locking and XDM
838 If xscreensaver has been launched from 
839 .BR xdm (1),
840 you will need to cause the xscreensaver daemon to exit and restart in 
841 order to lock the screen.
842
843 The reason for this is, if xscreensaver has been launched by 
844 .BR xdm (1),
845 that means it was launched \fIbefore\fP you logged in: so it has no way of
846 knowing who the logged-in user is, and therefore, whose password it should
847 prompt for.
848
849 So if you want to use it as a locker, you must start it with your user id.
850 If it has already been started by \fIxdm\fP, you can kill it by sending
851 it the \fBexit\fP command, and then re-launching it as you, by putting
852 something like the following in your personal X startup script:
853 .EX
854 xscreensaver-command -exit
855 xscreensaver &
856 .EE
857 See the ``\fIUsing XDM(1)\fP'' section, above, for more details.
858 .TP 8
859 .B Locking and root logins
860 An implication of the above is that if you log in as \fIroot\fP on the
861 console, xscreensaver will refuse to lock the screen (because it can't tell
862 the difference between \fIroot\fP being logged in on the console, and a
863 normal user being logged in on the console but xscreensaver having been run
864 by
865 .BR xdm (1)).
866
867 The solution to this is simple: you shouldn't be logging in on the console
868 as \fIroot\fP in the first place!  (What, are you crazy or something?)  You 
869 should log in as you, and
870 .BR su (1)
871 to \fIroot\fP as necessary.  People who spend their day logged in 
872 as \fIroot\fP are just begging for disaster.
873 .TP 8
874 .B XAUTH and XDM
875 For xscreensaver to work when launched by
876 .BR xdm (1),
877 programs running on the local machine as user \fI"nobody"\fP must be
878 able to connect to the X server.  This means that \fB"xhost +localhost"\fP
879 is required if xscreensaver is to be launched by
880 .BR xdm (1).
881 This is \fInot\fP required if \fIxscreensaver\fP is launched by the
882 individual users: it is only necessary when it is launched by
883 .BR xdm (1),
884 before any user has logged in.  See the ``\fIUsing XDM(1)\fP'' section, 
885 above, for more details.
886
887 If anyone has suggestions on how xscreensaver could be made to work with
888 .BR xdm (1)
889 without first turning off \fI.Xauthority\fP-based access control, please
890 let me know.
891 .TP 8
892 .B Passwords
893 If you get an error message like ``couldn't get password of \fIuser\fP'' 
894 then this probably means that you're on a system in which the
895 .BR getpwent (3)
896 library routine can only be effectively used by root.  If this is the case, 
897 then \fIxscreensaver\fP must be installed as setuid to root.  Care has 
898 been taken to make this a safe thing to do.  
899
900 It also may mean that your system uses shadow passwords instead of the
901 standard \fIgetpwent\fP interface; in that case, you may need to change
902 some options with \fIconfigure\fP and recompile.
903
904 If you change your password after xscreensaver has been launched, it will
905 continue using your old password to unlock the screen until xscreensaver
906 is restarted.  So, after you change your password, you'll have to do
907 .EX
908 xscreensaver-command -restart
909 .EE
910 to make \fIxscreensaver\fP notice.
911 .TP 8
912 .B Colormap lossage: TWM
913 The \fBinstallColormap\fP option doesn't work very well with the
914 .BR twm (1)
915 window manager and its descendants.  
916
917 There is a race condition between the screensaver and this window manager,
918 which can result in the screensaver's colormap not getting installed
919 properly, meaning the graphics hacks will appear in essentially random
920 colors.  (If the screen goes white instead of black, this is probably why.)
921
922 The
923 .BR mwm (1)
924 and
925 .BR olwm (1)
926 window managers don't seem to have this problem.  The race condition exists
927 because X does not provide a way for an OverrideRedirect window to have its
928 own colormap, short of grabbing the server (which is neither a good idea, nor
929 really possible with the current design.)  What happens is that, as soon as
930 the screensaver installs its colormap, \fBtwm\fP responds to 
931 the \fBColormapNotify\fP event that is generated by re-instaling the default
932 colormap.  Apparently, \fBtwm\fP doesn't \fIalways\fP do this; it seems to do
933 it regularly if the screensaver is activated from a menu item, but seems to
934 not do it if the screensaver comes on of its own volition, or is activated
935 from another console.  Any thoughts on this problem are welcome...
936 .TP 8
937 .B Colormap lossage: XV, XAnim, XEarth
938 Some programs don't operate properly on visuals other than the default one,
939 or with colormaps other than the default one.  See the discussion of the
940 magic "default-n" visual name in the description of the \fBprograms\fP 
941 resource in the \fIConfiguration\fP section.  When programs only work with
942 the default colormap, you need to use a syntax like this:
943 .EX
944     default-n: xv -root image-1.gif -quit  \\n\\
945     default-n: xearth -nostars -wait 0     \\n\\
946 .EE
947 It would also work to turn off the \fBinstallColormap\fP option altogether,
948 but that would deny extra colors to those programs that \fIcan\fP take
949 advantage of them.
950 .TP 8
951 .B XView Clients
952 Apparently there are some problems with XView programs getting confused
953 and thinking that the screensaver window is the real root window even when
954 the screensaver is not active: ClientMessages intended for the window manager
955 are sent to the screensaver window instead.  This could be solved by making
956 xscreensaver forward all unrecognised ClientMessages to the real root window,
957 but there may be other problems as well.  If anyone has any insight on the
958 cause of this problem, please let me know.  (XView is an X11 toolkit that 
959 implements the (quite abominable) Sun OpenLook look-and-feel.)
960 .TP 8
961 .B MIT Extension and Fading
962 When using the \fBMIT-SCREEN-SAVER\fP extension in conjunction with 
963 the \fBfade\fP option, you may notice an unattractive flicker just before 
964 the fade begins.  This is because the server maps a black window just before 
965 it tells the \fIxscreensaver\fP process to activate.  The \fIxscreensaver\fP 
966 process immediately unmaps that window, but this results in a flicker.  I 
967 haven't figured a way  to get around this; it seems to be a fundamental
968 property of the (mis-) design of this server extension.
969
970 It sure would be nice if someone would implement the \fBSGI SCREEN_SAVER\fP
971 extension in XFree86; it's dead simple, and works far better than the 
972 overengineered and broken \fBMIT-SCREEN-SAVER\fP extension.
973 .TP 8
974 .B Lesstif (Motif clone)
975 \fIDemo Mode\fP is buggy if XScreenSaver was compiled against really old 
976 versions Lesstif; if you use Lesstif, make sure you use version 0.82 or newer.
977 .TP 8
978 .B Athena Widgets
979 If you compiled against the Athena widget toolkit, the dialog boxes are
980 pretty ugly, especially the password dialog.  Use Motif!  If you don't
981 have OSF Motif, use GNU Lesstif, it's free: http://www.lesstif.org/
982 .TP 8
983 .B SGI Power Saver
984 If you're running Irix 6.3, you might find that your monitor is powering down
985 after an hour or two even if you've told it not to.  This is fixed by SGI
986 patches 2447 and 2537.
987 .TP 8
988 .B OpenGL Programs and Visuals
989 Some of the graphics demos included with xscreensaver make use of the 
990 OpenGL (or MesaGL) 3D library, if it is available.  It is possible (even 
991 likely) that \fIxscreensaver\fP's notion of the ``\fIbest\fP'' visual is 
992 not quite right for these GL programs.  
993
994 The odd thing about GL programs is that, unlike normal X11 programs, they
995 tend to work best on a visual \fIhalf\fP as deep as the depth of the screen,
996 since that way, they can do double-buffering.  Try it and see, but you will
997 probably find that, for these particular programs, you should specify the
998 deepest visual that is half as deep as the screen.  (See the discussion
999 of the \fBprograms\fP resource in the \fIConfiguration\fP section, above.)
1000
1001 For example, on a screen that supports both 24-bit TrueColor and 12-bit
1002 PseudoColor visuals, the 12-bit visual will probably work best (this is true
1003 of base-model SGI Indys: the 0x29 visual is the one you want.)  Oddly, on 
1004 SGI O2s (machines that have serious hardware support for GL), the 12-bit
1005 PseudoColor visual looks awful (you get a black and white, flickery image.)
1006 On these machines, the visual you want turns out to be 0x31.  However, 0x31
1007 is but \fIone\fP of the \fIeight\fP 15-bit TrueColor visuals (yes, 8, and 
1008 yes, 15) that the O2 X server provides.  This is the only visual that works
1009 properly: as far as 
1010 .BR xdpyinfo (1)
1011 is concerned, all of the 15-bit TrueColor visuals are identical, but some
1012 flicker like mad, and some have deeply weird artifacts (such as hidden 
1013 surfaces that show through, as if depth worked backwards!)  
1014
1015 I suppose these other visuals must be tied to some arcane hardware feature...
1016 If anyone would care to explain it to me, that would be great.
1017
1018 Your mileage, therefore, may vary dramatically.
1019 .TP 8
1020 .B Red Hot Lava
1021 There need to be a lot more graphics hacks.  In particular, there should be
1022 a simulation of a Lavalite (tm).
1023 .SH ENVIRONMENT
1024 .PP
1025 .TP 8
1026 .B DISPLAY
1027 to get the default host and display number, and to inform the sub-programs
1028 of the screen on which to draw.
1029 .TP 8
1030 .B PATH
1031 to find the sub-programs to run.
1032 .TP 8
1033 .B XENVIRONMENT
1034 to get the name of a resource file that overrides the global resources
1035 stored in the RESOURCE_MANAGER property.
1036 .SH UPGRADES
1037 The latest version can always be found at 
1038 http://people.netscape.com/jwz/xscreensaver/
1039 .SH SEE ALSO
1040 .BR X (1),
1041 .BR xscreensaver\-command (1),
1042 .BR xdm (1),
1043 .BR xset (1),
1044 .BR Xsecurity (1),
1045 .BR xauth (1),
1046 .BR xhost (1).
1047 .BR ant (1),
1048 .BR atlantis (1),
1049 .BR attraction (1),
1050 .BR blitspin (1),
1051 .BR bouboule (1),
1052 .BR braid (1),
1053 .BR bsod (1),
1054 .BR bubbles (1),
1055 .BR cage (1),
1056 .BR coral (1),
1057 .BR cynosure (1),
1058 .BR decayscreen (1),
1059 .BR deco (1),
1060 .BR drift (1),
1061 .BR epicycle (1),
1062 .BR fadeplot (1),
1063 .BR flag (1),
1064 .BR flame (1),
1065 .BR forest (1),
1066 .BR galaxy (1),
1067 .BR gears (1),
1068 .BR goop (1),
1069 .BR grav (1),
1070 .BR greynetic (1),
1071 .BR halo (1),
1072 .BR helix (1),
1073 .BR hopalong (1),
1074 .BR hypercube (1),
1075 .BR ifs (1),
1076 .BR imsmap (1),
1077 .BR interference (1),
1078 .BR jigsaw (1),
1079 .BR julia (1),
1080 .BR kaleidescope (1),
1081 .BR laser (1),
1082 .BR lightning (1),
1083 .BR lisa (1),
1084 .BR lissie (1),
1085 .BR lmorph (1),
1086 .BR maze (1),
1087 .BR moebius (1),
1088 .BR moire (1),
1089 .BR moire2 (1),
1090 .BR morph3d (1),
1091 .BR mountain (1),
1092 .BR munch (1),
1093 .BR noseguy (1),
1094 .BR pedal (1),
1095 .BR penrose (1),
1096 .BR pipes (1),
1097 .BR pyro (1),
1098 .BR qix (1),
1099 .BR rd-bomb (1),
1100 .BR rocks (1),
1101 .BR rorschach (1),
1102 .BR rotor (1),
1103 .BR rubik (1),
1104 .BR sierpinski (1),
1105 .BR slidescreen (1),
1106 .BR slip (1),
1107 .BR sphere (1),
1108 .BR spiral (1),
1109 .BR sproingies (1),
1110 .BR stairs (1),
1111 .BR starfish (1),
1112 .BR strange (1),
1113 .BR superquadrics (1),
1114 .BR swirl (1),
1115 .BR triangle (1),
1116 .BR truchet (1),
1117 .BR vines (1),
1118 .BR worm (1),
1119 .BR xjack (1),
1120 .BR xlyap (1),
1121 .BR xroger (1),
1122 .BR bongo (1),
1123 .BR ico (1),
1124 .BR xaos (1),
1125 .BR xbouncebits (1),
1126 .BR xcthugha (1),
1127 .BR xdaliclock (1),
1128 .BR xfishtank (1),
1129 .BR xmountains (1),
1130 .BR xsplinefun (1),
1131 .BR xswarm (1),
1132 .BR xtacy (1),
1133 .BR xv (1),
1134 .BR xwave (1).
1135 .SH COPYRIGHT
1136 Copyright \(co 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998
1137 by Jamie Zawinski.  Permission to use, copy, modify, distribute, and sell
1138 this software and its documentation for any purpose is hereby granted without
1139 fee, provided that the above copyright notice appear in all copies and that
1140 both that copyright notice and this permission notice appear in supporting
1141 documentation.  No representations are made about the suitability of this
1142 software for any purpose.  It is provided "as is" without express or implied
1143 warranty.
1144 .SH AUTHOR
1145 Jamie Zawinski <jwz@netscape.com>.  Written in late 1991; first posted
1146 to comp.sources.x on 13-Aug-1992.
1147
1148 Please let me know if you find any bugs or make any improvements.
1149 .SH ACKNOWLEDGEMENTS
1150 Thanks to David Wojtowicz for implementing \fIlockTimeout\fP.
1151
1152 Thanks to Martin Kraemer for adding support for shadow passwords and
1153 locking-disabled diagnostics.
1154
1155 Thanks to the many people who have contributed graphics demos to the package.
1156
1157 Thanks to Patrick Moreau for the VMS port.
1158
1159 Thanks to Mark Bowyer for figuring out how to hook it up to CDE.
1160
1161 And huge thanks to Jon A. Christopher for implementing the Athena dialog
1162 support, back in the days before Lesstif was a viable alternative to Motif.