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

Home » Public Forums » archive » Re: Annoying message about X11 Resources on Solaris.
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: Annoying message about X11 Resources on Solaris. [message #52385 is a reply to message #52383] Mon, 29 January 2007 16:29 Go to previous messageGo to previous message
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
JJ wrote:
>
> I recently upgraded from IDL 6.2 to 6.3 on a Solaris 8 platform, and now
> when I open an IDL window the first time, I get the following messages:
>
> % idl.graphicsWindowWidth X11 resource was used by older versions of IDL
> to default width of a graphics
> window, but is ignored by this version. It is present and has a value
> of 640 which does not agree
> with the value of the IDL_GR_X_WIDTH preference (900). Set the
> IDL_GR_X_WIDTH preference to 640 if
> you wish to use this value. Set the IDL_PREF_OBSOLETE_WARN preference
> to False if you wish to
> disable these warning messages in the future.
> % idl.graphicsWindowHeight X11 resource was used by older versions of
> IDL to default height of a
> graphics window, but is ignored by this version. It is present and has
> a value of 512 which does
> not agree with the value of the IDL_GR_X_HEIGHT preference (600). Set
> the IDL_GR_X_HEIGHT
> preference to 512 if you wish to use this value. Set the
> IDL_PREF_OBSOLETE_WARN preference to False
> if you wish to disable these warning messages in the future.
> % idl.graphicsWindow14Screen X11 resource was used by older versions of
> IDL to set graphics windows to
> 1/4 of the screen size, but is ignored by this version. It is present
> and has a value of True which
> does not agree with the value of the IDL_GR_X_QSCREEN preference
> (False). Set the IDL_GR_X_QSCREEN
> preference to True if you wish to use this value. Set the
> IDL_PREF_OBSOLETE_WARN preference to
> False if you wish to disable these warning messages in the future.
>
> Granted, I could set the IDL_PREF_OBSOLETE_WARN preference to False and
> I wouldn't have to see these annoying messages, but darnit, I wan't to
> find out where these preferences are being set and just remove them at
> the source. I don't have a .Xdefaults file, they're not set in my
> .idlde file, and other user's on the same machine don't exhibit this
> problem. I can manage to remove them using an xrdb command, but they're
> back next time I log in.
>
> Where could these resources possibly be getting set????
>

Thousands of places :).

A strong possibility is that in the dim and distant past a system admin
set things up to be helpful. It looks like you're getting a warning
message not because they are set but because they are different what are
set in your IDL preferences. This could be why you're getting different
behaviour from other users.

I tracked down a Solaris 8 box (I think it's Solaris 8 anyway: 5.8
Generic_117000-03 sun4u sparc SUNW,Ultra-5_10) and a system-wide
possiblity is:

/usr/openwin/lib/Xdefaults

however, that was just a likely looking file. I don't know enough about
Solaris to say for sure that the file will be read and it's currently
thousands of miles away so it's somewhat problematic for me to go and
sit in front of it :).

Also note that your defaults are usually set by the machine you're
sitting in front of rather than the machine you're running IDL on (if
they happen to be different). But, of course, xrdb commands in login
files (either your own or put there by system admins) can override or
extend this behaviour.

The location of your .Xdefaults file can be overridden by an environment
variable and I also have a vague recollection of a system where you had
a separate .Xdefaults for for each screen you could sit in front of so
you'd end up with files called something like .Xdefaults-mycomputer:0.1
or something like that. I'm not sure how relevant this is though,
probably not very.

Good luck!

Thanks,

Allan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reading Multiple netCDF files at once
Next Topic: Re: non linear systems, mpfitexpr and functargs

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

Current Time: Wed Oct 08 22:16:39 PDT 2025

Total time taken to generate the page: 0.80083 seconds