xlockmore-5.26.1 as of 14 July 2008, the maintained version of xlock Adapted from Patrick J. Naughton's original xlock Primary site: ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore Secondary site: http://www.tux.org/~bagleyd/xlock Alternate site: ftp://ibiblio.org/pub/Linux/X11/screensavers Web page: http://www.tux.org/~bagleyd/xlockmore.html Maintainer: David A. Bagley Primary key fingerprint: 1B79 C847 8F23 6DCD ADC0 D6AC CF15 9707 3779 19AE Mailman lists: http://calypso.tux.org/cgi-bin/mailman/listinfo If you are interested in contributing to XLock development and/or maintenance or just want to be notified when the latest stable version comes out. choices brief description ------- ----------------- xlock-announce Xlock beta and production announcements xlock-discuss Xlock/Xlockmore development discussion Xlock alpha release announcements now part of development discussion Please send all bug reports to bagleyd@tux.org . Alpha versions may be available through web page or ftp site. Adapted from Patrick J. Naughton's original xlock, with lots of help from others. BUGS to fix and other stuff to do see docs/TODO. 5.26.1 PAM_putText() would set pointer resp->resp to buffer. This will work until memory is reused. Thanks to Howard Kash . 5.26 "Esc" key now resets password entry. Do not put an escape in your password. This should behave the same as Control-U. -showdate added. +showdate allows you to turn off date in password window. Also fixed centering for this. Inverted bitmap for xlock. Added a icon for VMS. Updated the Java launcher in xlock. antic cleanups. It found a few minor bugs but mostly makes the code more readable (without being too overbearing IMHO). The current version trips on #ifdefs though. New mode pyro2: -mode pyro2 -msg 'MSGSTR' -fnt 'FONT' MSGSTR consists of following elements: EXPLOSION is one of &0, &1, ... &9, &a, .. &f each of which presents a different type of explosion. TEXT is a text string like 'linux'. the string may contain blanks. '\n' is interpreted as a new line. '\\' is a backslash. '\&' is an ampercent. LOGO is the sign #. An exploding penguin or other icon will be shown. FONT is something like '-*-helvetica-bold-r-*-240-*' the font to be used. Thanks to Pezhman Givy . Modifications for +install, -mono, and Windows. New resource files for Chinese... Xlock-zh_TW.ad, resource-msg-zh_TW.h, xlock-msg-zh_TW.h. Thanks to Wei-Lun Chao . Following this example, I split out the different languages from XLock.ad as it seemed odd when editing and did not want to corrupt anything, especially if I could not verify it. Automata modes now have triangular tilings drawn with a black triangle around it. Fixed dilemma, for it only is interesting with 4 or 8 neighbors. 5.25 Renamed xlockrc.rc to xlock95.rc. win95 settings fixes from Frank Fesevur 'Enabled' checkbox set in the savers configuration for is honored when the random mode is selected. Dialog rearranged to allow more room for Delay/Count/Cycles. Version is now displayed. ant3d,ant,life1d now with better colors. Really looked bad on Windows 95. rain a new mode from Frank Fesevur. Patch for running stuff like "xlock95.scr -s ant3d" thanks to Frank Fesevur which makes testing and showing a particular mode much easier. Fix for xlock -resource in life.c. Added a compile-time option "-DNO_TIME if you dont want the time in the password window. 5.24 penrose added to xlock95 ("far" changed to "faraway" to compile). xcl added with a fix for DefaultScreen, which should not be there since xlock is a multiscreen program. Created packaging scripts in etc with input of releases to make it easier for me for release and zip. It gets version from xlock/version.h . Changed pgsz and txsz variables in my man2html so it does not cause corruption in generated xlock.html from man page. Patch for solitare and reducing binary size for xlock95 thanks to Frank Fesevur . dilemma, voters, wator hexagonal/triangular drawing improvements. More triangular/hexagonal life from Carter Bays. http://www.cse.sc.edu/~bays/CAhomePage Fixes for old options for command line -rule S2b34B2a and -rule S2a2b4aB2a3a4b using -neighbors 6 . Fixes for hexagonal diagonal shooters. Added new hexagonal life -rule S35B2 and S3B245. Added many new triangular life rules with gliders. Updated random soup to include multiple symmetries. Added options runtime -glidersearch and -patternsearch, to be used with big values of cycles and count ie. -cycles 1000 -count 100000000 Added -repeat num option to help find patterns that do not repeat in num periods. This will output a pattern in cycles - num . If compared to the output of cycles, one can see if a new pattern may have been discovered. Added -vertical option to ant, bug, demon, dilemma, dragon, life, loop, voters, wator, wire, these affect triangles and hexagons and crystal which affects parallelograms. DirectColor fixes for password window thanks to Jouk Jansen [still under development under DIRECTCOLOR_FIX]. 5.23 Fixed core for toneclock (fixed similar code in ico). Remove XSetFont on global GC dclock, marquee, nose, puzzle, xjack, bomb. image now can handle messages xlock -mode image -message "unicycle" If message is too big for little window it will randomly move around. solitare draw line errors fixed. dclock to handle user defined messages (nothing really to do with a clock, actually, but the man page already says "Shows a floating digital clock or message"). nose mode tried to simplify talking code and fix small bugs like do not print tabs (it prints a box char for me) or not handling linefeeds correctly at end of message. DirectColor fix thanks to Jouk Jansen. Mallocing for error should check success pointed out by Dan Lukes. Using method in xlock.c, with some changes, did similar changes for passwd.c and resources.c PAM checking allocation fix and null resistant ReadXString thanks to Dan Lukes . Added stipples to life3d. Noticed ant3d would probably leak if in mono... fixed. thick option for maze thanks to Alex Austin . Also changed MINGRIDSIZE to 2. Removed extra pixel space to the right and bottom of path... some people may like this so its an option... threed (not really 3D, a better name would be nice). fzort fix for uninitialized memory read thanks to Mauro Persano Fix to avoid running OpenGL on a StaticGray, GrayScale, and StaticColor on Sun. Sun's glxCreateContext core dumps on Solaris 10. Turned off XRaiseWindow for Cygwin as it was stopping me from logging in. Added -DSYNCHRONIZE option to config.h.in for help in debugging X errors. Fixed a problem with random colors from petri mode PseudoColor. 5.22 fiberlamp fix for array bounds read and leak fix for deluxe magick and raster file (ras) fixes for True Color by Jouk Jansen Removed some compiler/lint warnings. deluxe mode ported from xscreensaver by Jouk Jansen. anemone mode ported from xscreensaver by Jouk Jansen win32 changes from Petey Leinonen: added XPutPixel() pacman now works by changing the initialization and now can create a 1 bit depth bitmap when asked for. 5.21 Removed random colors from petri mode. Found that it could cause a fatal error on PseudoColor. [Will try to fix better on a later release.] PAM update from Yuri Bushmelev fixes an initialization problem PAM_conv function and made cleaner and friendly. BAD_PAM fixed. fzort mode by Mauro Persano ... its not a OpenGL mode but it looks like it is. Try using with -mono also. Tom Schmidt found an as of yet unresolved Uninitialized Memory read, see Purify logs. dclock -binary option added thanks to Petey Leinonen (he saw the original on thinkgeek). Non-compatible routines for shared memory workaround for VMS when using libs MMOV(Multimedia for sounds) and DECWINDOWS thanks to Jouk Jansen. mandelbrot options added thanks to Tim Auckland update from Jouk Jansen to avoid log of 0 -alpha adds detail to the interior of the set by displaying level sets of "closest return", ie how close does the orbit of z come back to its starting point z=0. These show minima around the center of each bud. -index is similar, but displays at which iteration the closest return occurs. These show a fibonacci branching structure from the base of each bud, ie each adjacent pair of domains surrounds a domain whose index is the sum of the indices of its neigbours. -lyap option for colours in the interior of the set according to an estimate of the Lyapunov exponent. (Not to be confused with real plane Lyapunov fractals). Also now allow -binary and -dem. New random mode for win32, compile with -DRANDOMMODE . It seems to bomb out if you run it for a while, so I did not make it the default. win32 changes from Tim Auckland: new configure dialog random mode done to enable win32 changes from Petey Leinonen: fixes for nose and life1d matrix mode works with the 2 following changes fixed XCopyArea() for destinations that are not windows (ie a bitmap) fixed XCreatePixmapFromBitmapData() so it always creates a pixmap regardless of depth ( creates the Windows bitmap with 1 bit depth), and apply the foreground and background colors. XCopyArea, XSetTSOrigin, XSetFillRule fixes and got these modes to work: bat, bounce, dilemma, eyes, image, nose, pacman, shape, slip, star, starfish, wator, world unlock delay from lgx [it was explained to me but still not sure why you would use it] 5.20 win32 changes from Tim Auckland: Faster starting fix general install fix flow now uses PolyDraw... making it run faster Juggle cleaned up Arc drawing and XQueryFont now returns a dummy font (which XDrawString ignores) fiberlamp now jiggles XTranslateCoordinates fixed, Arc fixes, and pattern label disabled for juggle... win32 changes from David Bagley: New bitmaps and pixmaps. Makefile change so maze uses one. shifted text printing in api and on apollonian mode polyominoes looks better because I changed the meaning in the Api for DrawRectangle. It now just draws a rectangle outline. added julia life life1d swarm tetris voters inverted but this uses xbm? made FULL_RANDOM the default fixed much of xjack (except when it gets to bottom of screen) Labeling now on right side and aligned. Change the name from xlockmore95.scr to xlock.scr. Added a new ico file. I added 17 modes on top and took out some warnings. Merged with xlockmore95-0.11 with thanks to author Petey Leinonen . See win32 readme.txt and todo.txt. double buffering implemented, transparent background for text, XPutImage fixes, XCreateImage added Currently, it is not easy to select a specific mode and some modes need work. Modified life and life1d sizing to be more variable when there is no bitmap. Also thanks to Tom Schmidt for a non Grelb icon fix. voters modified to have proper colors for Democrats and Republicans. As a left wing liberal, I just had to add the "Green" bitmap. Old commie icon available as compile time option (but will be green). New portable method for locking Virtual Terminals (vt). Added to README. Thanks to Sergei Golubchik . Allow xlockrc to allow passwords of any length (not just 8) thanks to (actually it just ignores characters after the 8th character... but now ignores it in a more consistent way). make.com modified to use IEEE floats instead of VAX-floats thanks to Jouk Jansen. Changed default for PAM (since I have got a few mails about it). Compile GOOD_PAM (sorry did not know what else to call it) if you like the old way. GenToo and (most?) other Linux versions should compile by default. 5.19 labeling added to ant and ant3d. The other day, ant3d made a really cool looking fan... that prompted me to add labeling so I could save the ones I like. configure fix for DragonFly thanks to Joerg Sonnenberger molecule mode fixes, glPushAttrib calls calls were passing invalid values thanks to Brian Paul . 5.18 patch for PAM seems to cause problems in Gentoo linux so added a GENTOO ifndef around the problem line. Fix for a subversion version of ImageMagick thanks to Jouk Jansen. Fix for uninitialized read, thanks to Tom Schmidt. 5.18 toneclock coredump fix for 5.17 version thanks to Jouk Jansen. Invalid mode added. :) lock the screen if an invalid mode is specified "xlock -mode tom" like "xlock -modelist bug,tom" errno fix in passwd.c for DragonFly thanks to Joerg Sonnenberger . PAM fixes for when 1. TTY is not set to DISPLAY xlock can fail, 2. Tidy fixes for PAM_BAIL. Thanks to George D M Ross . Notes from Marcelo Vianna on morph3d added as comments to morph3d.c. ------------------------------------------------------------------------------- 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 AT sun.com Sun Microsystems Laboratories, Inc. voice: (415) 336 - 1080 Maintainer: David A. Bagley