home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os9
- Path: sparky!uunet!mcrware!heilpern
- From: heilpern@microware.com (Mark Heilpern)
- Subject: Re: Disabling ^C and ^E in RAVE from kbd...
- Message-ID: <1992Aug18.140849.4600@microware.com>
- Keywords: RAVE, GFM
- Organization: Microware Systems Corp., Des Moines, Iowa
- References: <1992Aug14.203701.22803@a.cs.okstate.edu>
- Date: Tue, 18 Aug 1992 14:08:49 GMT
- Lines: 24
-
- In article <1992Aug14.203701.22803@a.cs.okstate.edu> donahoo@a.cs.okstate.edu (Donahoo Randall) writes:
- >How does one disable the ^C and ^E interrupt and abort keys coming from the
- >Graphic File Manager (GFM). I have used _gs_opt() and _ss_opt() to reset
- >the kbich and kbach to 0. And, this seems to have not affect.
- >The options are changing for I also turned echo off so keys pressed on the
- >/kbd device are not echoed to the /vid device and this worked.
- >
- >Randy Donahoo
-
- Rather than change the characters, just install a signal handler which ignores
- all incomming signals! Inside main(), include:
-
- intercept(nilhandler);
-
- where 'nilhandler()' is an empty routine declared as
-
- nilhandler(){}
-
- somewhere before main().
- --
- /*-----------------------------------------------------*\
- |* Mark A. Heilpern -- Microware Systems Corporation *|
- |* heilpern@microware.com *|
- |* ...!uunet!mcrware!heilpern *|
-