Re: Redhat 7.2/IDL 5.5a oddity (long) [message #31534] |
Fri, 19 July 2002 06:15 |
Bruce Bowler
Messages: 128 Registered: September 1998
|
Senior Member |
|
|
On Thu, 18 Jul 2002 15:21:50 -0400, Liam E. Gumley put fingers to keyboard
and said:
> 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).
Welll duh... That was indeed the "problem", except that they were in the
.Xresources file :-)
> 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
Already had that, but thanks for the reminder.
--
+-------------------+--------------------------------------- ------------+
Bruce Bowler | For every credibility gap there is a gullibility
1.207.633.9600 | fill. - Richard Clopton
bbowler@bigelow.org |
+-------------------+--------------------------------------- ------------+
|
|
|
Re: Redhat 7.2/IDL 5.5a oddity (long) [message #31537 is a reply to message #31534] |
Thu, 18 July 2002 12:21  |
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/
|
|
|
Re: Redhat 7.2/IDL 5.5a oddity (long) [message #31538 is a reply to message #31537] |
Thu, 18 July 2002 12:11  |
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 |
+-------------------+--------------------------------------- ------------+
|
|
|
Re: Redhat 7.2/IDL 5.5a oddity (long) [message #31539 is a reply to message #31538] |
Thu, 18 July 2002 11:06  |
Liam E. Gumley
Messages: 378 Registered: January 2000
|
Senior Member |
|
|
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
Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
|
|
|