xlockmore-3.2 as of 14 September 1995, the maintained version of xlock Adapted from Patrick J. Naughton's original xlock Primary site: ftp.x.org in /contrib/applications Secondary site: sunsite.unc.edu in /pub/Linux/X11/xutils/screensavers Maintainer: David A. Bagley I just noticed these bugs but I wanted to get this out fast because of the security hole. (oops, sorry) For AIX one does not need to compile with -DOLD_EVENT_LOOP if one puts this around line 153 of xlock.c #ifdef AIXV3 #include #else #include #endif A better patch for the timing problem using -DOLD_EVENT_LOOP in xlock.c around line 706 replace the usleep(delay) with (void) usleep(onepause ? onepause : delay); onepause = 0; around line 940 replace the 2 usleeps with (void) usleep(onepause ? onepause : delay); onepause = 0; swirl changes the colormap in random. swirl should not change the colormap without -install replace this around line 1135 or so in xlock.c if (inroot || mono || CellsOfScreen(scr) == 2) with if (!install || inroot || mono || CellsOfScreen(scr) == 2) "flame" crashes xlock running from "random" on Linux throw out the 7th case on line 179 & shift the rest (8 & 9 to 7 & 8) also change MAXKINDS to 9 (line 26) in flame.c . 3.2 Doug McLaren noticed a big security hole in nose.c when xlock is setuid to root. Now, after the password is read, it gives up root, thanks to Heath A. Kehoe . DCE Authentication patch added. Thanks to Jouk Jansen for clearing up a timing problem using -DOLD_EVENT_LOOP . 3.1 Multipatch by Heath A. Kehoe it includes speed up in helix, random mode now switches modes, input to mode is now customizable (see random.c), and a DCE authentication patch (based on work by Phil O'Connell ). Also usleep was dropped in favor of a new timing mechanism. It is still available using -DOLD_EVENT_LOOP (VMS still uses it by default). braid.c thanks to John Neil . helix now looks even better. I found a bug in the translation from xscreensaver. nose.c may still need a little work (its a bit slow). Taken from 2 sources xnlock and xscreensaver's noseguy. It no longer leaves dust on the screen as well (the bitmaps are shifted up by one pixel). pedal.c taken from xscreensaver. Patches for OSF1_ENH_SEC but it unfortunately seems to need more work. Idea to have the mode.h defaults used thanks to Roland Bock . closedown patch for xdm use from Janet Carson's xclosedown with modifications from Anthony Thyssen . image.c updated to use xbm if using a monochrome monitor or using -mono. life1d, bug.c, ant.c, and demon.c added from Scientific American's Computer Recreations. hop.c now has Peter de Jong's hop. Half the time its boring but the other half of the time its great. A better patch from Peter Schmitzberger for spiral (a bug that I introduced). 3.0 Patch from Peter Schmitzberger for maze and image. Thanks to Shane Watts for helping me with Linux shadowing. world.c backward spinning jump fixed by Neale Pickett . laser.c bug (that I introduced) solved by Heath A. Kehoe . Edited rect so that it does ellipses as well, like After Dark. I should of renamed it right? Got rid of "+=" in Imakefile because HP, AIX, and Ultrix have trouble with it. Still used by some systems where there seems to be no trouble. passwd.c extracted from xlock.c and xlock.h . May have cured some bugs (like a BIG network security bug) but most likely broke some systems. Thanks for the many people who gave feedback during the BETA test. 2.10 xlockrc password for more user control of xlock. Author unknown. It is a compile-time option, see Imakefile and README. Moved usleep.c and hsbramp.c to utils.c and logout.c to opt.c . Split out mode.h from resource.c . Changes of Skip_Burrell@sterling.com were incorporated into image.c . Not sure how to get pixmaps to randomize color and -mono does not work for pixmaps. See Imakefile and README. -allowroot now works on Solaris2.x. Clock mode added, thanks to Jeremie Petit . laser and mountain modes added, similar to After Dark's version, and also forest mode thanks to Pascal Pensa . Updated maze and helix after seeing mountain mode. Don't have to wait a second to enter password. :) Now provide random number generator. Thanks to Mike Arras . I changed RAND to LRAND. Due to overwhelming demand, the old flame is back... well OK its slightly modified. Patch for SUNOS_ADJUNCT_PASSWD, thanks to Dale A. Harris . Imakefile reorganized for AIX. ------------------------------------------------------------------------------- Original author: Patrick J. Naughton Site: ftp.x.org in /R5contrib The changes in the original xlock Copyright (c) 1988-91 by Patrick J. Naughton. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This file is provided AS IS with no warranties of any kind. The author shall have no liability with respect to the infringement of copyrights, trade secrets or any patents by this file or any part thereof. In no event will the author be liable for any lost revenue or profits or other special, indirect and consequential damages. ______________________________________________________________________ Patrick J. Naughton email: naughton@sun.com Sun Microsystems Laboratories, Inc. voice: (415) 336 - 1080 Maintainer: David A. Bagley