[7762] in Athena Bugs

home help back first fref pref prev next nref lref last post

Zephyr xsetroot

daemon@ATHENA.MIT.EDU (Richard J. Barbalace)
Mon Jul 22 01:47:42 1991

To: bugs@ATHENA.MIT.EDU
Date: Mon, 22 Jul 91 01:47:45 EDT
From: Richard J. Barbalace <rjbarbal@ATHENA.MIT.EDU>

In the Zephyr sample file /mit/zephyr/examples/xsetroot which
explains how to send bitmaps via the Zephyr class xsetroot,
the following line needs to be corrected:
        appendport "xroot" "/tmp/xsetroot_file."+getenv("USER")
The line should read:
        outputport "xroot" "/tmp/xsetroot_file."+getenv("USER")

The former line will cause problems if several bitmaps are sent,
since each new bitmap will be concatenated onto the preceding ones, 
and the file containing the bitmaps could grow to a tremendous
length.  My own file grew to over 150000 bytes in size after days
of accumulating bitmaps.  It seems that removing the file, then
logging out, has no effect since the unkilled .zwgc.desc file
will recall the entire contents of the file after it receives
a new bitmap.  (See the help discussion on July 22 for a better
explanation of what happens.  The discussion is in
/mit/bitbucket/zephyr-log/help.)  Please refer this matter to
someone who can change the sample file.

home help back first fref pref prev next nref lref last post