From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6b897b9f559f44a0 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-05-10 21:41:39 PST Path: gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!nntpd.lkg.dec.com!athena.uto.dec.com!beyer From: beyer@athena.uto.dec.com (Peter Beyer) Newsgroups: comp.sys.dec Subject: Re: Pseudocolor Visual vs Truecolor: how to set on DEC 5000/500? Date: 6 May 1994 07:24:01 GMT Organization: Digital Equipment Corporation Sender: beyer@beyer.uto.dec.com (Peter Beyer) Distribution: world Message-ID: <2qcrah$hv0@nntpd.lkg.dec.com> References: Reply-To: beyer@athena.uto.dec.com NNTP-Posting-Host: beyer.uto.dec.com X-Newsreader: mxrn 6.18-5 In article , Chris Deibel 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