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