4 a screen saver and locker for the X window system
7 http://www.jwz.org/xscreensaver/
15 The `configure' shell script will attempt to figure out which options are
16 appropriate for your system, and will create config.h and the various
17 Makefiles for you. Run `configure --help' to see how to override these
18 choices, or to specify things like the default installation directory.
19 The file `INSTALL' gives a general overview of use of these sorts of
20 configure scripts (those generated by the GNU autoconf system.)
21 The most important hint is probably this:
23 ./configure --with-motif=/opt/Motif --with-xpm=/usr/local
25 To build on VMS, see README.VMS.
27 If you are upgrading, you might want to delete your ~/.xscreensaver file.
28 If you don't, you might not see the new graphics modes. If you are upgrading
29 from version 2.* to version 3.*, definitely do delete your .xscreensaver file.
31 If you think you've found a bug, please let me know! No bug report is too
32 small. But first, please read the enclosed `README.debugging' file to find
33 out what kind of information would be most helpful to include in your bug
38 You can try out xscreensaver like so:
41 xscreensaver-command -demo
43 After a few seconds, the screen should go black, and a dialog box should
44 appear in the upper right corner. This is "Demo Mode".
46 Note: unlike `xlock', xscreensaver has a client-server model: the
47 `xscreensaver' process is a daemon that runs in the background; it is
48 controlled by the foreground `xscreensaver-command' program.
50 xscreensaver has an extensive manual -- please read it!
54 The xscreensaver daemon waits until the keyboard and mouse have been idle
55 for a period, and then runs a graphics demo chosen at random. The demo is
56 terminated as soon as there is any mouse or keyboard activity (or, in
57 locking mode, when the proper password is typed.)
59 It is trivially easy to add new display modes to xscreensaver: any program
60 which can be invoked in such a way that it draws on the root window of the
61 screen can be used as a screensaver. You just change a resource setting --
62 there's no need to recompile or reinstall anything.
66 Along with the xscreensaver daemon itself, this package also includes
67 numerous graphics hacks for use as screensavers. There is nothing magic
68 about these: they are just programs that draw on the root window.
70 More than 80 such programs are included. For details, see the xscreensaver
71 web page, or the enclosed manual pages. There are also some helpful hints
72 on customization in the xscreensaver app-defaults file (normally installed
73 in /usr/lib/X11/app-defaults/XScreenSaver.)
75 The latest version of xscreensaver is always available on the web at
76 http://www.jwz.org/xscreensaver/.
80 Changes since 3.03: * Added an `xscreensaver.spec' file, to make it easier
81 for other folks to generate RPMs.
82 * Made the password code work on HPUX in the situation
83 where: ``enhanced security'' is available; but not
84 used; but the user typed a password more than 8
85 characters long anyway. FTSOHPUX.
86 Changes since 3.02: * Made locking work when passwd aging is enabled.
87 * Added support for PAM (Pluggable Authentication
88 Modules.) It is still turned off by default, though,
89 since it doesn't seem to work on Solaris 2.6, and has
90 been behaving erratically on Red Hat 5.1.
91 * Made each possible authentication method be tried in
92 turn until one succeeds; this means that Kerberos is
93 being used, we will first check Kerberos, and if that
94 fails, will then consult the local password file.
96 * Save and restore the bits under the passwd dialog,
97 to avoid leaving a black rectangle behind when
98 unlocking is cancelled.
99 Changes since 3.01: * Not everyone has sys/select.h, sigh...
100 Changes since 3.00: * Some fixes to `reflect'.
102 * Made it log unsuccessful attempts to unlock the screen
104 * Fixed a bug where `xscreensaver-demo' could be seeing
105 a different programs list than `xscreensaver' did.
106 Changes since 2.34: * The xscreensaver daemon no longer links against Motif
107 or Athena: demo-mode and the preferences panel are no
108 longer built in to the daemon, but are now handled by
109 an external program, `xscreensaver-demo'.
110 (I decided that this, along with the recent addition
111 of the `.xscreensaver' config file, justified bumping
112 the version number to 3.00, since this is a fairly
113 major architectural change.)
114 * Lines in the `*programs' resource may now begin with
115 the character "-", meaning "don't run this hack."
116 In this way, it's possible to disable a hack without
117 throwing away the information about it (making it
118 easier to change your mind later.) Eventually the
119 preferences/demo mode GUI should represent this as a
120 checkbox or something.
121 * Fixed a short race condition where it was possible for
122 xscreensaver to die with a BadWindow error if it was
123 blanking the screen just as another window was being
125 * Made it possible to disable specific modes in `bsod'.
126 Changes since 2.33: * Fixed a bug that was making `pipes' generate way too
127 many valves. Made the viewpoint in `pipes' be selected
128 randomly instead of always being -10 degrees.
129 * Fixed a bug in the XSHM code, in the case where the
130 server supports the XSHM extension but is not the same
131 machine as the client.
132 * Made `rd-bomb' default to taking up the whole screen.
133 * Made it not try to do fading/unfading if no PseudoColor
135 * Initial attempt at supporting VT-locking (doesn't work
137 * Eliminated the `captureStdout' resource; now
138 `captureStderr' controls both streams.
139 * Added `-capture-stderr' and `-no-capture-stderr'
140 command-line arguments.
141 * Added `glplanet' hack.
142 * When a hack is selected with `xscreensaver-command
143 -select', that hack will be used until further notice
144 (until the saver turns off, or another activation
146 Changes since 2.32: * Made `xscreensaver-command' print error messages:
147 the xscreensaver daemon now responds to ClientMessage
148 events by writing a response message on a window
149 property, instead of just writing to its stderr.
150 * Made the ~/.xscreensaver file be automatically reloaded
151 when the file date changes.
152 * The password dialog and splash screen no longer depend
153 on Motif or Athena. This should clear up a number of
154 focus problems, and is the first step on the path
155 toward moving all of the Motif/Athena/whatever code
156 out of the xscreensaver daemon, and into external
158 * Don't complain about LessTif 0.86 any more, since the
159 new password dialog makes that problem go away.
160 * Configure tweaks for Irix 6.5, SunOS 5.something.
161 * New `-reflect' option to `distort'.
162 Changes since 2.31: * Added reading and writing of a ~/.xscreensaver file,
163 so that the Preferences panel can save its settings.
164 * New version of `rubik'.
165 * Added `-select N' argument to `xscreensaver-command'.
166 * Oops, left out some of the `bubbles3d' files...
167 Changes since 2.30: * The cursor was invisible in the password dialog. Fixed.
168 * Made configure warn against MesaGL 2.6.
169 * Fixed X error at startup when using non-default visual.
170 * New version of `crystal', `ant', and `atlantis' from
172 * New hack, `bubble3d'.
173 * Added some new modes to `bsod'.
174 Changes since 2.29: * Changed the order in which -lSM and -lICE are linked
175 to be after Motif instead of before (Lesstif on Irix
177 Changes since 2.28: * Work around a bash bug in configure.
178 * Tweaked HPUX paths again. FTSOHPUX.
179 * Made configure recommend against LessTif 0.86, due
180 to a bug in that version that causes a security hole
181 in the screen locking code. LessTif 0.87 will fix it.
182 * Made all of the `--with' options to `configure' accept
183 a directory option as well (so that --with-motif=/FOO
184 will add -I/FOO/include -L/FOO/lib). I believe this is
185 the Configure Party Line of how do to such things.
186 * Fixed a bug where the mouse was left un-grabbed
187 after the first time the graphics hack was changed
188 (simplified all of the mouse-grabbing logic.)
189 * Maybe possibly perhaps made `vidwhacker' really not
190 leave stray xv windows around. This time for sure.
191 * Added a new erase mode (random dots fizzling out.)
192 * Added `-prefs' argument to `xscreensaver-command',
193 that brings up the Preferences dialog directly (it
194 seems that nobody ever noticed the `Preferences' button
195 on the Demo Mode dialog, maybe this will help.)
196 * Added a splash screen. Turn it off with *splash:false.
197 Changes since 2.27: * Better macsbug text in `bsod'.
198 * New version of `distort' with many new modes.
199 * Plugged a leak in `coral'.
200 * Tweaked configure for HPUX.
201 * Removed some compiler warnings.
202 * More consistent usage of stderr versus stdout.
203 * More diagnostics should an X error occur.
204 * Fixed a possible crash in SGI-specific unfading code.
205 Changes since 2.26: * Improved version of `distort'.
206 * Made `lament' compile against OpenGL 1.0 (though it
207 still requires 1.1 to work properly.)
208 * Updated my email address and home page.
209 Changes since 2.24: * Improved motion in `rd-bomb'.
210 * Added XSHM (shared memory extension) support to the
211 `distort', `interference', `moire', `rd-bomb', and
212 `swirl' hacks, which speeds them up a bit.
213 * Added `lament' hack.
214 Changes since 2.23: * Tweaked the order of the -L options again.
215 * Cleaned up configure's `--help' message.
216 * Added `kumppa' hack.
217 * Smarter maze-solving algorithm in `maze'.
218 * Took `xlyap' out of the default list of hacks, since
219 it's just incredibly buggy (and slow.) Maybe someday
220 someone will fix it...
221 * Added `distort' hack, but didn't add it to the default
222 list (yet) because it's still too slow.
223 * Made the Athena demo dialog look more like the Motif
224 version; it has a text-entry field now, too.
225 * Made the Athena password dialog echo asterisks, like
226 Motif does, instead of using a flyspeck font.
227 * Some random configure tweaks.
228 * Added a `timestamp' resource that makes the `-verbose'
229 messages include the time at which they were printed.
230 Changes since 2.22: * The fix for SGI's ``scheme'' nonsense broke things, and
231 let the user's "*background" resource show through.
232 Fixed it in a different way.
233 Changes since 2.21: * Added support for the DPMS server extension (Display
234 Power Management System.)
235 * Made configure advertize the `--enable-subdir' option a
236 little more, since that seemed to cause some people
237 stress. Also, made that directory be built into the
238 xscreensaver executable, as a hardcoded prefix to
239 $PATH. (Might help, shouldn't hurt.)
240 * Made configure prefer the two-arg gettimeofday to the
241 one-arg version, since AIX doesn't have any prototypes.
242 * Made it work with Xaw3d (the 3D Athena library.)
243 * Made `make install' create directories as necessary.
244 * New version of lmorph from Sverre.
245 * Added `crystal' and `discreet' hacks from xlockmore.
246 * Added a new mode to `bsod'.
247 Changes since 2.20: * Made `xscreensaver-command -time' use different words.
248 (It now describes the two states as "screen blanked
249 since..." and "screen non-blanked since..." instead of
250 "active since..." and "inactive since..." which a lot
251 of people interpreted as meaning the opposite of what
253 * Improved some error messages, in the hopes of making
254 the distinction between the xscreensaver and
255 xscreensaver-command programs more obvious.
256 * Rewrote (and reorganized) parts of the xscreensaver and
257 xscreensaver-command manual pages.
258 * Renamed xscreensaver's `-lock' command-line option to
259 be `-lock-mode', to avoid confusion with the `-lock'
260 option to xscreensaver-command, which does a totally
262 * Removed xscreensaver's `-demo' command-line option for
263 a similar reason; use `xscreensaver-command -demo'
265 * Disabled SGI's ``scheme'' nonsense in a better way than
266 fully-qualifying the background colors in every single
268 * Fixed some other minor cosmetic problems when *sgiMode
270 * Fixed an X error in `bsod -root' (how ironic...)
271 Changes since 2.19: * Fixed a bug that caused the mouse to sometimes not be
272 grabbed properly (meaning the window manager menu could
273 pop up over the demo-mode display.)
274 * Fixed a bug that made the stderr output sometimes get
276 * Fixed a bug that made the demo-mode scrollbar move too
278 * Protected against a possible buffer overflow.
279 * Made `vidwhacker' not leave stray xv windows around.
280 * New version of `ant' so that Bagley doesn't calve.
281 * Make configure on AIX get XShm from the right library.
282 Changes since 2.18: * One file was missing from the tar file. Fixed.
283 Changes since 2.17: * Oops, atlantis wasn't being built by default. Fixed.
284 * Added `epicycle' hack.
285 * Added `interference' hack.
286 * Added `truchet' hack.
288 * Added some new modes to `vidwhacker'.
289 Changes since 2.16: * Added a -window-id argument to most hacks, so that they
290 can draw on arbitrary externally-provided windows.
291 * Synched with xlockmore 4.11a01.
293 * Added `atlantis' GL hack.
294 * Renamed `puzzle' hack to `jigsaw', since xlock already
295 had a different mode called `puzzle'.
296 * Made it self-configure properly when Motif 2.1.0 is
297 being used (requires -lXp now, sigh...)
298 Changes since 2.15: * Made `flag' able to do XPM images.
299 * New look for the xscreensaver logo (`xroger').
300 * Fixed compilation error on Suns with adjunct passwords.
301 * Got multi-architecture builds working again.
302 * Some configure tweaks for building on HPUX and Solaris.
303 * Fixed bug in decayscreen.
304 * Fixed typo in passwd.c.
305 * Made `cynosure' not die when colormap is full.
306 Changes since 2.14: * Added `cynosure' hack.
307 * Added `moire2' hack.
308 * Tweaked `erase.c' some more.
309 * Made unfading a bit smoother.
310 * Added `vidwhacker' hack (not installed by default.)
311 * Added `stairs' hack.
312 * Split `escher' into `cage' and `moebius', as per
314 * Changed subprocess handling to use sigaction() instead
315 of signal() if it's available (this is necessary for
316 SCO but should work fine on other systems too.)
317 * Various other tweaks.
318 Changes since 2.13: * Better fix for the Motif drag-and-die lossage.
319 * Put in some kludges to work around a LessTif bug.
320 * XScreenSaver is known to work with LessTif 0.82 now.
321 * Made fading work on high-end SGI video hardware.
322 * Fixed another SGI-specific bug in screen grabbing;
323 will the madness never cease?
324 * Fixed another crash in `xlyap'.
325 Changes since 2.12: * Made `decayscreen' do directions other than down.
327 * Fixed a crash in `xlyap'.
328 * Added CDE info to the man page, removed `cde.txt'.
329 * Configure tweaks for Zippy.
330 * Turned off the signal handling in `bubbles' because
331 it was sometimes failing to die.
332 * Added `hacks/xscreensaver-sgigl.c' to make it possible
333 to run SGI's ElectroPaint hack (/usr/demos/bin/ep)
334 with xscreensaver. Finally!
335 * Fixed a buffer overrun in the locking code that some
336 wily, malicious cracker must have slipped in.
337 * Disabled Motif drag-and-drool in the dialog box
338 buttons, since it's broken in some old versions of
340 Changes since 2.11: * Added `README.debugging'.
341 * Added `puzzle' hack.
342 * Added `xlyap' hack.
343 * Added `default-n' as a visual name, so that one can
344 have -install on by default, but turn it off for
345 certain poorly-behaved hacks (like xv.)
346 * Added support for grabbing frames of external video
347 (on SGI) to the screen-grabbing hacks (decayscreen,
348 slidescreen, slip, blitspin, and puzzle.)
349 * Improved look of tiles in `slidescreen'; fixed its
350 color allocation problem.
351 Changes since 2.10: * Tweaked `blitspin', added it to the default list.
352 * Added `lissie', `mountain', `triangle', `worm',
353 `rotor', and `ant' from xlockmore.
354 * Updated `sierpinski', `galaxy', and `lisa'.
355 * Thickened the lines in `braid' and `lmorph'.
356 * Updated VMS makefiles.
357 * Renamed `fract' to `vines'.
358 * Added `xjack' hack.
359 * Made a few more hacks use erase.c, and added a few
361 * Fixed compilation problem with Sun's version of OpenGL.
362 * Added ability to use sigaction() instead of signal()
363 to work around a SCO kernel bug.
364 Changes since 2.09: * Fixed colormap bugs in `rd-bomb'; sped up `coral'.
365 * Configure tweaks for *BSD.
366 Changes since 2.07: * New hacks `rd-bomb' and `coral'.
367 * New version of `maze' with some new algorithms.
368 * New colorized version of `rocks'.
369 * Fixed a bug in qix on 64-bit machines.
370 * Fixed a bug in the -time option.
371 * Fixed a bug in configure related to LessTif.
372 Changes since 2.06: * Minor header tweaks in windows.c and flag.c.
373 * Made multi-architecture ($VPATH) builds work properly.
374 * Merged new GL stuff from xlockmore (rubik, morph3d.)
375 * Fixed intermittent crashes in `imsmap' and `munch'.
376 * Added `fadeplot' hack from xlockmore.
377 Changes since 2.05: * Merged in VMS support from Patrick Moreau.
378 Changes since 2.04: * Fixed a MIT-SCREEN-SAVER-related crash, and tweaked
379 configure to detect the extra-random -Xss library.
380 Changes since 2.03: * HP configure tweaks. Detect and warn about LessTif.
381 * Fixed low-color behavior of `goop', `pyro', `starfish',
382 `greynetic', `flame', `halo', and `moire'.
383 Changes since 2.02: * Fixed flicker in `pipes'. Fixed 3d in `bouboule'.
384 * Added `munch' hack.
385 * Added basic dependencies to the Makefile.in files.
386 Changes since 2.01: * Fixes for compiling with the MIT saver extension.
387 * Made the yow/fortune program be a configure option.
388 * Various configure tweaks.
389 Changes since 2.00: * Added `goop' and `starfish' hacks.
390 * Added colomap cycling to `halo'.
391 * Made `attraction' use the new colormap allocator.
392 * Added better $PATH diagnostics.
393 * There was a bug in frand! Color selection should be
395 Changes since 1.34: * Converted to use `configure' instead of `imake'.
396 * ANSI C is now required.
397 * Added Kerberos locking support, from Nat Lanza.
398 * Made the stderr text use overlay planes, if possible.
399 * Reworked the xlockmore compatibility stuff again.
400 * Added `gears', `superquadrics', `escher', `pipes',
401 and `sproingies' hacks (depend on OpenGL.)
402 Changes since 1.33: * Fixed some bugs, made fading be a little smoother.
403 Changes since 1.32: * Made it work with multi-headed displays.
404 * Generalized sub-process management (Unix sucks!)
405 * Added interactive mouse frobbing to Julia.
406 * Added (untested) support for HPUX shadow passwords.
407 * Made normal non-shadow passwords be checked if the
408 shadow passwords aren't accessible for some reason.
409 Changes since 1.31: * Removed *colorPrograms and *monoPrograms resources:
410 made it possible to specify the desired visual on a
412 * Cleaned up / restructured the driver: no more globals.
413 * Made the Motif and Athena dialogs share more code.
414 * Probably fixed some Athena colormap-installation bugs.
415 * Fixed screen grabbing (cmap) on SGI 12-bit PseudoColor.
416 * Fixed divide-by-zero in bright random colormaps.
417 * Added an improved version of xlock's `flag' hack.
418 * Made unfading work better, and not flicker on SGIs.
419 * Added `sphere', `forest', `lisa' hacks from xlockmore.
420 * Added (untested) support for SunOS Adjunct passwords.
421 Changes since 1.30: * Improved colors and colormap cycling of many hacks.
422 * Cleaned up xlockmore compatibility layer.
423 * Made `blitspin' able to grab an image off the screen.
424 * Ported `swirl' and `bouboule' hacks from xlockmore.
425 * Made the driver more careful about not leaving bits on
426 the screen, or allowing other windows to raise
427 themselves: it now re-blanks the screen every so often.
428 * Added `-time' option to `xscreensaver-command'.
429 * Improved SGI screen-grabbing some more: now it can grab
430 TrueColor screens into PseudoColor windows and have the
431 colors still come out semi-reasonably.
432 Changes since 1.29: * Made `slidescreen' and `decayscreen' work better on
433 SGIs when windows of different visuals are present, by
434 using the XReadDisplay() extension to get a true 24-bit
435 image out of the frame buffer.
436 * Made `noseguy' be in color, if compiled with XPM.
437 * Ported `braid', `drift', `fract', `galaxy', `grav',
438 `ifs', `julia', `laser', `lightning', `penrose',
439 `sierpinski', `slip', `spiral', and `strange' hacks
441 * Merged `hopalong' hack with a more recent version.
443 Changes since 1.27: * Added `deco', `moire', and `kaleidescope' hacks.
444 * Merged in support for non-Motif locking and demo mode.
445 * Made `blitspin' and `bubbles' work in TrueColor.
446 * Fixed a stupid bug I introduced in `imsmap'.
447 * Added `poly' and `gravity' options to `qix'.
448 Changes since 1.26: * Added support for SGI SCREEN_SAVER extension.
449 * Made `fade' and `unfade' work on 8-bit SGIs.
450 * Made the dialog boxes more Motify.
451 * Added `bubbles' hack.
452 Changes since 1.25: * Added `lmorph' hack.
453 * Added viscosity and mouse-control to attraction.
454 * Fixed possible bad color choices in qix and attraction.
455 * Added ramp-mode to halo.
456 * Added a new RNG, which is faster and more portable
457 than using the RNG in libc.
458 * Made locking work on SCO.
459 * Various other minor tweaks that I don't remember.
460 Changes since 1.24: * Made it capture the stdout/stderr of its subprocesses
461 and present them on the screensaver window itself.
462 * Made demo mode work correctly with non-default visuals
463 and color maps, instead of always using the defaults.
464 * Added -visual argument to all included screenhacks.
465 * Support for the R6 MIT-SCREEN-SAVER server extension.
466 * Made the demo mode list scroll properly.
467 * Added `pedal' hack.
468 Changes since 1.23: * Fixed some private-colormap oddities in slidescreen,
469 decayscreen, and xroger. Fixed apparent conservation-
470 of-mass problem in pyro; made the shrapnel round.
471 Changes since 1.22: * Minor tweaks for IRIX5; fixed locking race condition.
472 Changes since 1.21: * Minor tweaks for X11R6.
473 * Fixes for non-default visuals.
474 Changes since 1.20: * Fixed bug in color blitspin; added default image.
475 * Added diagnostics to noseguy. Fixed off-by-one
476 error in flame. Added some missing casts.
477 Changes since 1.18: * Added `flame' hack.
478 * Fixed a minor Motif dialog text field bug.
479 * Fixed yet another XPointer-not-defined-in-R4 bug.
480 Changes since 1.17: * Added support for shadow password files.
481 * Fixed some Motif-related locking bugs.
482 * Added diagnostics when locking is disabled.
483 * Made blitspin able to use the XPM library.
484 * Added `decayscreen' hack.
485 Changes since 1.16: * Added `halo' hack.
486 Changes since 1.15: * Portability fixes.
487 Changes since 1.14: * Broke the driver up into more source files.
488 * Moved the hacks into their own directory.
489 * Made all `time' parameters accept the 00:00:00 syntax,
490 so that even the parameters which are normally read as
491 minutes can be specified in seconds.
492 * Added colormap cycling to `imsmap'.
493 * Made hyper work with K&R compilers.
494 Changes since 1.13: * Added `orbit' option to `attraction' hack.
495 * Added `lock-timeout' option.
496 * Cleaned up options of `maze' hack.
497 Changes since 1.8: * Added demo mode, and locking.
499 * Added `norotate' option to `rocks' hack.