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

Home » Public Forums » archive » Re: Redhat 7.2/IDL 5.5a oddity (long)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Redhat 7.2/IDL 5.5a oddity (long) [message #31538 is a reply to message #31537] Thu, 18 July 2002 12:11 Go to previous messageGo to previous message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
On Thu, 18 Jul 2002 14:06:32 -0400, Liam E. Gumley wrote:

> Bruce Bowler wrote:
>> Pardon the ignorant question, but ever since upgrading to RH7.2 and
>> IDL5.5 (and subsequently 5.5a), whenever I fire up IDL, I get the
>> following message...
>>
>> Warning: Cannot find Visual of class PseudoColor for display :0.0
>>
>> help,/device shows
>
> [stuff deleted]
>
>
>> my idl_startup file only mucks around with !path. What do I need to do
>> to get IDL to stop looking for an PseudoColor visual?
>
> Try this in your startup file:
>
> if !version.os_family eq 'unix' then device, true_color=24
> window, /free, /pixmap, colors=-10
> wdelete, !d.window
> device, decomposed=0, retain=2, set_character_size=[10, 12]
> device, get_visual_depth=depth
> print, 'Display depth: ', depth
> print, 'Color table size: ', !d.table_size

And that produces...

Warning: Cannot find Visual of class PseudoColor for display :0.0
Display depth: 24
Color table size: 256
IDL> exit


--
+-------------------+--------------------------------------- ------------+
Bruce Bowler | Music is the meditation between the intellectual
1.207.633.9600 | and the sensuous life. - Beethoven
bbowler@bigelow.org |
+-------------------+--------------------------------------- ------------+
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: CALL_EXTERNAL
Next Topic: Spectral tracings

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

Current Time: Fri Oct 10 05:37:53 PDT 2025

Total time taken to generate the page: 1.28020 seconds