The IDLWAVE shell can be started with the command M-x
idlwave-mode the function is bound to
C-c C-s. It creates a buffer *idl* which is used to
interact with the shell. If the shell is already running, C-c
C-s will simply switch to the shell buffer. The command C-c
idlwave-shell-recenter-shell-window) displays the shell
window without selecting it. The shell can also be started
automatically when another command tries to send a command to it. To
enable auto start, set the variable
In order to create a separate frame for the IDLWAVE shell buffer, call
idlwave-shell with a prefix argument: C-u C-c C-s or
C-u C-c C-l. If you always want a dedicated frame for the shell
window, configure the variable
To launch a quick IDLWAVE shell directly from a shell prompt without an IDLWAVE buffer (e.g., as a replacement for running inside an xterm), define a system alias with the following content:
emacs -geometry 80x32 -eval "(idlwave-shell 'quick)"
Replace the ‘-geometry 80x32’ option with ‘-nw’ if you prefer the Emacs process to run directly inside the terminal window.
To use IDLWAVE with ENVI or other custom packages which change the
‘IDL> ’ prompt, you must change the
idlwave-shell-prompt-pattern, which defaults to ‘"^ ?IDL>
"’. Normally, you can just replace the ‘IDL’ in this expression
with the prompt you see. A suitable pattern which matches the prompt
for both ENVI and IDL simultaneously is ‘"^ ?\\(ENVI\\|IDL\\)> "’.
This is the command to run IDL.
A list of command line options for calling the IDL program.
Regexp to match IDL prompt at beginning of a line.
Name to be associated with the IDL process.
nil means attempt to invoke idlwave-shell if not already
Initial commands, separated by newlines, to send to IDL.
nil means preserve command history between sessions.
The file in which the command history of the idlwave shell is saved.
Unless it’s an absolute path, it goes in
nil means IDLWAVE should use a special frame to display the
nil means use a dedicated window for the shell, taking care
not it replace it with other buffers.
The frame parameters for a dedicated idlwave-shell frame.
idlwave-shell raises the frame showing the shell
The prefix for temporary IDL files used when compiling regions.
Hook for customizing