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 #31537 is a reply to message #31534] Thu, 18 July 2002 12:21 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Bruce Bowler wrote:
>
> 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

Do you have any resource settings for IDL in your $HOME/.Xdefaults file?
If so, I would remove them.
That said, the fact that it prints a resaonable display depth makes me
think that everything is probably okay (apart from the warning message).

On a related note, if you have not doen so already, you should apply the
patch described at

http://www.rsinc.com/services/output.cfm?tip_id=3257

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[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: Thu Oct 09 21:06:51 PDT 2025

Total time taken to generate the page: 1.04257 seconds