comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » color flashing on one of identical(?NOT) suns
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
color flashing on one of identical(?NOT) suns [message #29731] Tue, 19 March 2002 09:15 Go to next message
hradilv.nospam is currently offline  hradilv.nospam
Messages: 19
Registered: November 2001
Junior Member
IDL> print, !version
{ sparc sunos unix 5.4 Sep 25 2000 64 64}

I've tried to figure it out from dfanning.com but I think it's a CDE
problem:

I have two (identically configured) Sun boxes running IDL 5.4.
Obviously not identical, because one has a problem and the other
doesn't.

I get the 'color flashing' problem on one machine (mr3). My machine,
mr1 works fine.

I set direct_color=24 and decomp=0 on both. Both get 16777216 colors.

xdpyinfo says that the default visual is PseudoColor, 8. The output
from xwininfo shows that an xterm window is PseudoColor, 8 with
colormap: 0x34 installed on both. xwininfo on a direct_graphics
window shows -

[machine]: Class, Depth, Colormap
mr1 (okay): DirectColor, 24, 0x680001e (installed)
mr3 (bad) : DirectColor, 24, 0x5c0001d (not installed) <-- not sure
what this means

Also, when I run idlhelp using '?' from the idl command line on mr3, I
get the following errors:

IDL> ?

IDL> Warning: Cannot allocate colormap entry for "Grey75"
Warning:

Cannot parse default background color spec

Warning: Cannot allocate colormap
entry for "Grey90"

I've tried various settings for CDE - use more colors for
applications, use most colors for applications, default, etc.

I'm not running (hardly) anything else on the machines (just xterms)
and that doesn't seem to matter anyway.

Thanks for your help, in advance.
Re: color flashing on one of identical(?NOT) suns [message #29838 is a reply to message #29731] Thu, 21 March 2002 09:07 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Vince (hradilv.nospam@yahoo.com) writes:

> Does anyone have any ideas regarding this? Should I check with some
> unix/sun/CDE guru's? Please help.

I've always found DirectColor visuals to be a nightmare.
But, I guess you know that. :-)

I've always had good luck with TrueColor visuals.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: color flashing on one of identical(?NOT) suns [message #29840 is a reply to message #29731] Thu, 21 March 2002 08:58 Go to previous message
hradilv.nospam is currently offline  hradilv.nospam
Messages: 19
Registered: November 2001
Junior Member
Does anyone have any ideas regarding this? Should I check with some
unix/sun/CDE guru's? Please help.

On Tue, 19 Mar 2002 17:15:40 GMT, hradilv.nospam@yahoo.com (Vince)
wrote:

> IDL> print, !version
> { sparc sunos unix 5.4 Sep 25 2000 64 64}
>
> I've tried to figure it out from dfanning.com but I think it's a CDE
> problem:
>
> I have two (identically configured) Sun boxes running IDL 5.4.
> Obviously not identical, because one has a problem and the other
> doesn't.
>
> I get the 'color flashing' problem on one machine (mr3). My machine,
> mr1 works fine.
>
> I set direct_color=24 and decomp=0 on both. Both get 16777216 colors.
>
> xdpyinfo says that the default visual is PseudoColor, 8. The output
> from xwininfo shows that an xterm window is PseudoColor, 8 with
> colormap: 0x34 installed on both. xwininfo on a direct_graphics
> window shows -
>
> [machine]: Class, Depth, Colormap
> mr1 (okay): DirectColor, 24, 0x680001e (installed)
> mr3 (bad) : DirectColor, 24, 0x5c0001d (not installed) <-- not sure
> what this means
>
> Also, when I run idlhelp using '?' from the idl command line on mr3, I
> get the following errors:
>
> IDL> ?
>
> IDL> Warning: Cannot allocate colormap entry for "Grey75"
> Warning:
>
> Cannot parse default background color spec
>
> Warning: Cannot allocate colormap
> entry for "Grey90"
>
> I've tried various settings for CDE - use more colors for
> applications, use most colors for applications, default, etc.
>
> I'm not running (hardly) anything else on the machines (just xterms)
> and that doesn't seem to matter anyway.
>
> Thanks for your help, in advance.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Colour table, multiple sessions
Next Topic: Re: MAIN programs and CPU time

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:53:33 PDT 2025

Total time taken to generate the page: 0.00510 seconds