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

Home » Public Forums » archive » ^D intercept?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
^D intercept? [message #583] Thu, 24 September 1992 19:59
jdlb is currently offline  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 %
[Message index]
 
Read Message
Previous Topic: log. Scale in 3D
Next Topic: Reading real numbers from VMS

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

Current Time: Fri Oct 10 14:46:27 PDT 2025

Total time taken to generate the page: 1.12294 seconds