[comp.windows.x] Xtetris on a Mono Display?

km@mathcs.emory.edu (Ken Mandelberg) (05/15/91)

The version I have of xtetris doesn't work very well on a mono display.
Some of the colors are invisible, resulting in phantom blocks in the
pile.

Is there a patch or a workaround?

-- 
Ken Mandelberg      | km@mathcs.emory.edu          PREFERRED
Emory University    | {rutgers,gatech}!emory!km    UUCP 
Dept of Math and CS | km@emory.bitnet              NON-DOMAIN BITNET  
Atlanta, GA 30322   | Phone: Voice (404) 727-7963, FAX 727-5611

jc@raven.bu.edu (James Cameron) (05/15/91)

>>>>> On 14 May 91 23:16:19 GMT, km@mathcs.emory.edu (Ken Mandelberg) said:

Ken> The version I have of xtetris doesn't work very well on a mono display.
Ken> Some of the colors are invisible, resulting in phantom blocks in the
Ken> pile.

Ken> Is there a patch or a workaround?


Ken> Ken Mandelberg      | km@mathcs.emory.edu          PREFERRED


Yep, you can add the following to your .Xdefaults file:

#ifdef COLOR


Xtetris.object0.foreground:     red1
Xtetris.object0.background:     red4
Xtetris.object1.foreground:     orange1
Xtetris.object1.background:     orange4

[...and on up to a 6th object with whatever colors you like...]

Xtetris.object6.foreground:     SkyBlue1
Xtetris.object6.background:     SkyBlue4

#else


Xtetris.object0.foreground:     SkyBlue1
Xtetris.object0.background:     SkyBlue4
Xtetris.object1.foreground:     SkyBlue1
Xtetris.object1.background:     SkyBlue4

[...And on up to a 6th object..]

Xtetris.object6.foreground:     SkyBlue1
Xtetris.object6.background:     SkyBlue4

#endif



Basically, just play around and see which colors you like on the 
black and white screen.  


Hope this helps!

jc

--
					-- James Cameron  (jc@raven.bu.edu)

Signal Processing and Interpretation Lab.  Boston, Mass  (617) 353-2879
------------------------------------------------------------------------------
"But to risk we must, for the greatest hazard in life is to risk nothing.  For
the man or woman who risks nothing, has nothing, does nothing, is nothing."
	(Quote from the eulogy for the late Christa McAuliffe.)