home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!bonnie.concordia.ca!daily-planet.concordia.ca!alcor.Concordia.CA!gsa
- From: gsa@alcor.concordia.ca ( CON U GRADUATE STUDENTS' ASSOC )
- Newsgroups: comp.unix.shell
- Subject: Blocking Control-C and Control-Z.
- Message-ID: <4849@daily-planet.concordia.ca>
- Date: 31 Aug 92 19:37:00 GMT
- Sender: usenet@daily-planet.concordia.ca
- Distribution: comp.unix.shell
- Organization: Concordia University, Montreal, Quebec
- Lines: 12
-
- I have found that the only way to trap the break options in
- non ksh shells is to redirect them to some unused control
- sequences. When put in the .cshrc however, only the ^Z option
- is redirected and the 'stty intr <something>' is ignored, unless
- I later source the same file, which makes no sense whatsover.
- 'stty -isig' is fickle, it sometimes works and sometimes
- doesn't. Does anyone have a working code that blocks both
- the break and stop signals, which can be placed in .cshrc?
-
-
- ---
- Dan.
-