Path: utzoo!attcan!uunet!convex!killer!ames!pasteur!helios.ee.lbl.gov!nosc!gandalf.nosc.mil!dennis
From: dennis@gandalf.nosc.mil (Dennis Cottel)
Newsgroups: comp.sys.apollo
Subject: Re: Keyboard Lock
Message-ID: <789@nosc.NOSC.MIL>
Date: 20 Sep 88 18:09:31 GMT
References: <8809201338.AA09549@umix.cc.umich.edu>
Sender: nobody@nosc.NOSC.MIL
Reply-To: dennis@gandalf.nosc.mil.UUCP (Dennis Cottel)
Organization: Naval Ocean Systems Center, San Diego
Lines: 12

Scott Ferguson writes:
> To prevent users from entering a quit fault, you should use the
> pfm_$inhibit system call. The purpose of this call is to
> ignore control 'q'.

This call will let you catch a ^Q all right, but the second ^Q
interrupts the program and can't be caught.  That is why Apollo
recommended to me (at least in March of 1986) the trick of using
the smd_$quit_char call to change the quit character.

   Dennis Cottel  Naval Ocean Systems Center, San Diego, CA  92152
   (619) 553-1645     dennis@NOSC.MIL       sdcsvax!noscvax!dennis