Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!pasteur!ucbvax!PEANUTS.NOSC.MIL!dennis From: dennis@PEANUTS.NOSC.MIL (Dennis Cottel) Newsgroups: comp.sys.apollo Subject: Re: keyboard lock Message-ID: <8809141443.AA01876@cod.nosc.mil> Date: 14 Sep 88 14:40:03 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 > [How to lock the keyboard...] I have written a lock program called GONE that is on the ADUS tape. The specific problem of disabling the ^Q is done with an SMD command. The following lines are from the program: {disable quit character for as long as we're in borrow mode} smd_$set_quit_char(chr(0), status); It turns out there is no way from the keyboard to enter a NUL character. It's a kludge, but it does the trick. Apollo says the SMD library is obsolete, but they have assured me that it will not go away until there is an alternate way to do this. Hope this helps... --Dennis Dennis Cottel Naval Ocean Systems Center, San Diego, CA 92152 (619) 553-1645 dennis@nosc.MIL sdcsvax!noscvax!dennis