This section describes the preferences for the general user environment.
IDL_DATAFILE_USER_COMMENTS
The IDL_DATAFILE_USER_COMMENTS preference is a boolean that specifies whether or not IDL is allowed to put comments that include user and host name into generated data files, such as SAVE and JOURNAL files. Such comments are usually considered to be helpful in most environments, but can be a problem for those working in secure environments with specific rules governing the information that is allowed to leave a given security level.
Committed changes take effect immediately. The default value is True (1).
Tip: This preference can be set in the IDL Workbench Preferences dialog.
IDL_DEVICE
IDL’s direct graphics system always operates on the current graphics device, which you can change with the SETENV procedure. The IDL_DEVICE preference is a string that specifies the initial graphics device that starts out as current.
Committed changes take effect at the next .reset_session executive command or in future IDL sessions. The default value is the window system supported by IDL for the target platform: “X” for UNIX systems and “WIN” for Microsoft Windows.
IDL_EDIT_INPUT
The IDL_EDIT_INPUT preference is a boolean that sets the initial value of the !EDIT_INPUT system variable, which determines whether or not the tty-based (non-IDE) command-line version of IDL does command-line editing when reading commands. For related information on the command recall buffer, see IDL_RBUF_PERSIST and IDL_RBUF_SIZE.
Committed changes take effect immediately. The default value is True (1).
IDL_EXCEPT
The IDL_EXCEPT preference sets the initial value of the !EXCEPT system variable, which controls when IDL checks for invalid mathematical computations (exceptions). Possible values are:
Value |
Aliases |
0 |
Never, No |
1 |
OnInterpreterHalt, Halt
|
2 |
AfterStmt, Stmt |
Committed changes take effect immediately. The default value is OnInterpreterHalt (1).
IDL_MORE
The IDL_MORE preference is a boolean that sets the initial value of the !MORE system variable, which controls whether IDL should paginate help output sent to a TTY device. This preference has no effect on the IDL Workbench Console view.
Committed changes take effect immediately. The default value is True (1).
IDL_MSG_PREFIX
The IDL_MSG_PREFIX preference sets the value of the !ERROR_STATE.MSG_PREFIX system variable, which determines the prefix string used for error messages.
Committed changes take effect immediately. The default value is '% '.
IDL_PROMPT
The IDL_PROMPT preference sets the value of the !PROMPT system variable, which contains the text string that IDL uses to prompt for input.
Committed changes take effect immediately. The default value is 'IDL> '.
Tip: This preference can be set in the IDL Workbench Preferences dialog.
IDL_QUIET
The IDL_QUIET preference is a boolean that sets the value of the !QUIET system variable, which controls whether informational messages are printed (value is 0) or suppressed (1).
Committed changes take effect immediately. The default value is False (0).
IDL_RBUF_PERSIST
The IDL_RBUF_PERSIST preference is a boolean that determines whether the IDL command recall buffer is saved between IDL sessions. For related information on the recall buffer, see IDL_EDIT_INPUT and IDL_RBUF_SIZE.
Committed changes take effect immediately. The default value is True (1).
Tip: This preference can be set in the IDL Workbench Preferences dialog.
IDL_RBUF_SIZE
The IDL_RBUF_SIZE preference is an integer that sets the size of the IDL command recall buffer. It must be set to a value greater than or equal to 1. For related information on the recall buffer, see IDL_EDIT_INPUT and IDL_RBUF_PERSIST.
Committed changes take effect immediately. The default value is 500.
Tip: This preference can be set in the IDL Workbench Preferences dialog.
IDL_THEME
The IDL_THEME preference determines whether IDL widgets are displayed in "Light" or "Dark" mode. The default value is 0 (Light). You can set the value using either an integer or a string:
Value |
Aliases |
Supported OS |
0 |
Light |
Linux, Mac, Windows
|
1 |
Dark |
Windows |
Tip: The !THEME system variable may be used to check the current theme. Note that !THEME is only set once on startup, so if you change the IDL_THEME preference you will need to restart IDL to pick up the new value.
Tip: This preference can be set in the IDL Workbench Preferences dialog.
Some general notes:
-
On Windows, all IDL widget applications, including ENVI, will honor the theme setting.
-
If you change the theme, you must restart your IDL session for the changes to take effect.
-
The IDL widget theme is independent from the Windows system theme setting.
-
The IDL Workbench has its own theme setting that is unrelated to this setting.
-
The graphics within direct and object graphics windows are unaffected.
-
Linux and Mac platforms will quietly ignore the theme preference and will always use light mode.
IDL_UPDATE_CHECK
The IDL_UPDATE_CHECK preference is a boolean that determines whether IDL should check for version updates when it starts up. The default is True (1).
If IDL_UPDATE_CHECK is True, then on startup, IDL will check if a new version is available and, if so, will print out a message to the output console.
The automatic update check works as follows:
- On startup, IDL determines when the last update check was made. If it was within 7 days, then IDL prints out a cached message.
- If it has been 7 days or more since the last check, then IDL contacts the update web server and then prints out a message if there is an update available. IDL then caches this information.
- When checking for a new version, the only information sent to the server is the current IDL version and the operating system architecture (this corresponds to the RELEASE, ARCH, and OS fields of !VERSION).
Note: To disable checking for updates, set IDL_UPDATE_CHECK to False (0).
Tip: This preference can be set in the IDL Workbench Preferences dialog.
Version History
8.6 |
Added IDL_UPDATE_CHECK
|
9.1 |
Added IDL_THEME |
See Also
!CPU Settings Preferences, Directory and Search Path Preferences, General System Variables