Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!xanth!nic.MR.NET!hal!ncoast!allbery From: allbery@ncoast.ORG (Brandon S. Allbery) Newsgroups: comp.sys.ibm.pc Subject: Re: CTRL-ALT-DEL key Message-ID: <13535@ncoast.ORG> Date: 7 Apr 89 01:03:09 GMT References: <1623@arctic.nprdc.arpa> <3818@nicmad.UUCP> <234@sppy00.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.sys.ibm.pc Distribution: na Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 27 As quoted from <234@sppy00.UUCP> by jmv@sppy00.UUCP (Jim Vickroy): +--------------- | =>In article <1623@arctic.nprdc.arpa> snguyen@nprdc.arpa (Son Nguyen) writes: | => I just wonder if (possibly done) we could write a program to | =>detect the pressing of these three keys: CTRL-ALT-DEL. In other words, | =>can I write a software in the "C" language or in IBM assembly language to | =>detect and maybe disable them ? You may say that I am a little crazy. | | I don't think you're crazy. There are *very* good reasons for disabling the | softboot keys. Systems which maintain database can't tolerate a reboot right | in the middle of an update, for example. At any rate, to disable this key | press you will have to write your own keyboard interrupt handler. A formidable | task indeed! Essentially you will have to 'steal' interrupts 9 and 16 hex | and watch for that keypress and throw it away when you get it. +--------------- A program for doing this is listed in COMPUTE'S MAPPING THE IBM PC AND PCjr -- a reasonably good reference, although invariably at least *one* thing I need to know isn't listed and I end up digging in ncoast's archives for interrup.arc.... ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu Send comp.sources.misc submissions to comp-sources-misc@ NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser