🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1143

Re: How to disable interrupt key strokes???

#1143
From: Guy Harris
Date: Fri, 14 Sep 1990 21:03
16 lines
1259 bytes
>> 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.
Technical Details
Message-ID: <4064@auspex.auspex.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!auspex!guy
References: <25538.26ee215b@kuhub.cc.ukans.edu> <13662@hydra.gatech.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!auspex!guy
From: guy@auspex.auspex.com (Guy Harris)
Newsgroups: comp.unix.shell
Subject: Re: How to disable interrupt key strokes???
Message-ID: <4064@auspex.auspex.com>
Date: 14 Sep 90 21:03:20 GMT
References: <25538.26ee215b@kuhub.cc.ukans.edu> <13662@hydra.gatech.EDU>
Organization: Auspex Systems, Santa Clara
Lines: 16