Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: beyer@athena.uto.dec.com (Peter Beyer)
Subject: Re: Pseudocolor Visual vs Truecolor: how to set on DEC 5000/500?
Date: 6 May 1994 07:24:01 GMT	[thread overview]
Message-ID: <2qcrah$hv0@nntpd.lkg.dec.com> (raw)
In-Reply-To: CpCJ16.6to@news.cis.umn.edu


In article <CpCJ16.6to@news.cis.umn.edu>, Chris Deibel <chris@zeus.trad.umn.edu> writes:
|>I have software that would like Pseudocolor visual, and a DEC 5000/500
|>configured with Truecolor.  Result is the screen turns black and white as
|>the
|>cursor is moved from window to window,  and some popup windows are
|>black - ie printing is invisable.  Also borders of windows are only
|>visable - 
|>with their names - when the cursor crosses them.  How to change default
|>for a session to Pseudocolor Visual?  Where is it defined?  The software
|>writer said to start the server in Pseudocolor Visual mode, but its
|>already 
|>running and I can't find out how to start it or where it is started or
|>what.
|>I'm really a novice at this!  Help Please -- email preferred:
|>chris @zeus.trad.umn.edu    thanks.
|>

There is  a switch (-class) for Xws and friends to set the visual class for 
the root window. When creating a window one usualy inherit the visual from it's
parent, hence the root window. However, when setting the root window to 
"PseudoColor" doesn't mean that one cannot create windows of other visual types.
A typical application should look at what visuals the X-server is advertising
and choose the one which for him, or die gracefully. He should NOT depend on the
default behaviour of the X-server...

In your case you should configure your X-server to start with PseudoColor for
the root window and your "True Color" apps should create True Color visuals
for them selves. Running the X-server with TrueColor root visual makes it 
unnecessary slow.

/Peter
-- 

Peter Beyer
Windowing, Graphics & Multimedia
Digital Equipment b.v.
beyer@athena.uto.dec.com


      reply	other threads:[~1994-05-06  7:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-05 20:15 Pseudocolor Visual vs Truecolor: how to set on DEC 5000/500? Chris Deibel
1994-05-06  7:24 ` Peter Beyer [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox