[comp.soft-sys.andrew] zip color preferences

tobeye@elysees.noname (Anthony Edwards) (11/16/90)

I'm running ATK4 PL7 on a Sun 4 and using Zip.  Yesterday I was running PL4.  

I can no longer control the foreground and background colors of my Zip
area.  It used to get its defaults from EZ, but now it just uses black
as the foreground and white as the background, which is not what I want.
 I tries putting an entry in my preferences:

	zip.ForegroundColor:  darkgreen
	zip.BackgroundColor:  lightgray

but they were ignored.  Is there any way to set the colors in the zip
window now?

   - Anthony

gk5g+@ANDREW.CMU.EDU (Gary Keim) (11/16/90)

Excerpts from misc: 15-Nov-90 zip color preferences Anthony
Edwards@elysees. (504+0)

> I tries putting an entry in my preferences:

> 	zip.ForegroundColor:  darkgreen
> 	zip.BackgroundColor:  lightgray

> but they were ignored.  Is there any way to set the colors in the zip
> window now?


I tried this as well.  I observed the behavior you describe.  Those
colors aren't listed in /usr/lib/X11/rgb.txt.  If they were listed and
defined, I bet it would work.  I can't imagine why this behavior would
have changed since PL4.

ghoti+@ANDREW.CMU.EDU (Adam Stoller) (11/16/90)

I don't know if X (or our?) color code is case sensitive or not - but
according to the R4 rgb.txt you could have:

	DarkGreen  -or- "dark green"
	LightGray -or- "light gray"

Perhaps that might be the source of problem?

--fish

sg08+@ANDREW.CMU.EDU (Stephan Greene) (11/16/90)

Excerpts from internet.info-andrew: 15-Nov-90 zip color preferences
Anthony Edwards@elysees. (504+0)

> I can no longer control the foreground and background colors of my Zip area.

I think this is a bug. With the added color support in Zip, after
drawing (possibly colored) image elements, the view's foreground and
background colors must be reset to the view-wide defaults. Not having
looked back at the code yet, I believe it is ignoring the startup
defaults and forging through with black and white. Look for a fix coming
to patch near you soon.

Stephan