Path: utzoo!attcan!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: LOCK or simular example code I can use Keywords: Terminal Lockout, NO CNTRL AA Message-ID: <15177@cbmvax.commodore.com> Date: 16 Oct 90 15:35:18 GMT References: <1990Oct15.163204.14494@cbnewse.att.com> Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Distribution: na Organization: Commodore, West Chester, PA Lines: 23 In article <1990Oct15.163204.14494@cbnewse.att.com> cwpjr@cbnewse.att.com writes: >Can anyone help with examples or PD code to do a lockout type >function for Ami? I can appreciate several scenarios. > >Cover up all other console / intuition processes >with a custom screen and then defeat reboot key vector temporarirly. > >Somehow intercept all KBD events while defeating reboot vectors temporarily, >or disabling keyborad events, or whatever! You cannot lock out the reset from the keyboard without disconnecting the keyboard. You can delay the reset for up to 10 seconds on some machines, but not all (the A500 has a hard-wired reset line...) See the RKM Libs&Devs chapter on the keyboard device. You can intercept all input events by making an event handler that is hooked into the input food chain. See the RKM Libs&Devs chapter on the input device. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky