How to disable interrupt key strokes???

Guy Harris guy at auspex.auspex.com
Sat Sep 15 07:03:20 AEST 1990


>> For some reason, I want to disable any interrupt key stroke like Ctrl C, ESC,
>> and Ctrl Z. How could I do that by using SHELL or CSHELL command. Any help
>> appreciated.

Dunno what ESC is as an interrupt keystroke; unlike ^C (which is often,
although not always, the "intr" character) and ^Z (which is usually the
"susp" character), ESC isn't normally an interrupt keystroke.  It may be
used as a "secondary end-of-line" character by some shells, such as
those that support filename completion, but that's not an interrupt
keystroke.

>SysV also allows 'stty -isig' to turn off interpretation of the control
>char. (usually ^C) assigned to 'intr',

*And* the ones assigned to "quit", "swtch" - *and* "susp", if your system
has an S5-flavored tty driver and job control.



More information about the Comp.unix.shell mailing list