^D intercept? [message #583] |
Thu, 24 September 1992 19:59 |
jdlb
Messages: 11 Registered: July 1992
|
Junior Member |
|
|
Under Unix, a ^D signifies an end-of-file. When ^D is typed during an IDL
session, IDL exits unceremoniously. Unfortunately, ^D is near the useful
^C, ^E and ^F keys and is prone to being typed inadvertently. I did so
today, not for the first time. In csh, one can 'set nocontrol_d' to
prevent ^D from terminating a shell, but the effect of this friendly
variable does not extend to the IDL session.
I know hitting the wrong key is bad form. Nevertheless, it happens, and
I'd like a safety net. Does anyone know of a way to intercept a ^D before
IDL processes it? Could IDL be modified in a future release to not
recognize ^D?
--Jeff
% Jeff de La Beaujardiere % jdlb@mamane.ifa.hawaii.edu %
% Institute for Astronomy % 808-956-9843 %
% University of Hawai`i % fax 956-9402 %
|
|
|