[comp.windows.x] Wanted: Source code for xphoon

dryfoos@duke.cs.duke.edu (James D. Dryfoos) (05/02/91)

I am trying to find the complete source code for hte xwindows
program xphoon.  I want to run it on DECwindows, but will port
a normal xwindows version.
Thanks, Jim Dryfoos
Also reachable at dryfo001@dukemc.mc.duke.edu

tim@cs.wisc.edu (Tim Theisen) (05/02/91)

In article <673126048@romeo.cs.duke.edu>, dryfoos@duke.cs.duke.edu (James D. Dryfoos) writes:
|> I am trying to find the complete source code for hte xwindows
|> program xphoon.  I want to run it on DECwindows, but will port
|> a normal xwindows version.

xphoon was in the contributed demos of the X11R3 distribution.
I have modified it slightly and made it available for anonymous ftp.

xphoon is a program that displays the current phase of the moon in
the root window of your X display.  The wonderful program was written
by Jef Poskanzer and Craig Leres.  The original motivation for this
program was that xsetroot was too slow.  Loading a full-screen bitmap
took about 15 seconds.  They made a trivial program that had fullmoon.bitmap
compiled in, and it ran in less than a second.  (And incidentally, the
executable was smaller than  fullmoon.bitmap.)  Then later they came up with
the cheapmoons, the phase hacking, and finally the earthlight.

The xphoon program as distributed with X11R3 had the display size
hard coded into the program.  I modified xphoon to automatically
center the fullmoon bitmap on the display.

Since my xphoon is a derivative work, I have not placed it on
export.lcs.mit.edu.

xphoon is available via anonymous ftp from
	shorty.cs.wisc.edu:/pub/xphoon.tar.Z

...Tim
-- 
          Tim Theisen           Systems Programmer
Internet: tim@cs.wisc.edu       Department of Computer Sciences
    UUCP: uwvax!tim             University of Wisconsin-Madison
   Phone: (608)262-0438         1210 West Dayton Street
     FAX: (608)262-9777         Madison, WI   53706