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

Home » Public Forums » archive » Re: IDL or OpenLook "feature"?
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: IDL or OpenLook "feature"? [message #1285 is a reply to message #1279] Fri, 13 August 1993 08:15 Go to previous messageGo to previous message
offenbrg is currently offline  offenbrg
Messages: 31
Registered: August 1993
Member
jdlb@kukui.ifa.hawaii.edu (J-F Pitot de La Beaujardiere) writes:
> I just lost my IDL session for the nth time. Sometimes when I use a widget
> application, IDL crashes with a bus error, segmentation fault, or other
> error. This time, I got an error from Open Look:

> IDL> xloadct
> % Compiled module: XLOADCT.
> % Compiled module: XREGISTERED.
> OPEN LOOK Toolkit Error in application "idl": Can't allocate gray pixel

Add this to your .Xdefaults file (or .Xdefaults.opn or whatever you call it):

Idl*colors: -5

This tells IDL when it starts up that it should not hog all of the colortable
(which is what it does by default), but leave 5 colors free. That way, when
you try and create a widget, there are still colors left in the colortable.

Please note that this change doesn't take effect until you logout and
log back on again :)

Joel
--
Joel D. Offenberg |
Hughes STX / UIT Science Team | I get paid to stare into space.
offenbrg@fondue.gsfc.nasa.gov |
Don't hold anyone responsible for what I say. I'm on my coffee break.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sorting
Next Topic: Re: who ownes the shells?

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

Current Time: Sat Oct 11 13:38:53 PDT 2025

Total time taken to generate the page: 0.64099 seconds