|
IDL Reference Guide: IDL Preferences |
|
Versions of IDL previous to version 6.2 did not have the preference system described in this appendix. Those older versions used different mechanisms to communicate user settings at startup:
.Xdefaults or .idlde files. To provide backwards compatibility with older versions, current versions of IDL are still able to check those sources for user settings and to transfer them, if found, to the corresponding IDL preference setting. The following table shows how IDL maps from one to the other:
In all such cases, IDL goes through the following steps:
In this way, the value migrates from the older mechanism into the IDL preference system. This migration can happen only once because once a preference has migrated, the IDL preference no longer has the default source.
This process is intended as an aid to migration from the older system to the newer one. The default values of both preferences used to control it is True (1), in order to maximize the number of users it can assist. However, if you have successfully moved to newer versions of IDL or find the messages they produce annoying, you can set both preferences to False by using the following commands:
PREF_SET, 'IDL_PREF_OBSOLETE_MIGRATE', 'False' PREF_SET, 'IDL_PREF_OBSOLETE_WARN', 'False' PREF_COMMIT
Alternatively, you can edit IDL startup files, .Xdefault files, .idlde files, and any other X11 resource files to remove the obsolete settings.
The IDL_PREF_OBSOLETE_MIGRATE preference determines whether the IDL preference system consults older sources of information when determining preference values. See the description above for more information on this preference.
Committed changes take effect immediately. The default value is True (1).
If IDL_PREF_OBSOLETE_MIGRATE is set to True (1) and an obsolete source provides a value that cannot be used, the IDL_PREF_OBSOLETE_WARN preference determines whether or not IDL issues an informational message explaining that this has happened. See the description above for more information on this preference.
Committed changes take effect immediately. The default value is True (1).
IDL Online Help (March 06, 2007)