Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!valley From: valley@uchicago (Doug Dougherty) Newsgroups: comp.os.msdos.programmer Subject: Re: cntl-alt-del trap Message-ID: Date: 25 Jan 91 17:55:21 GMT References: <24752@grebyn.com> Sender: news@midway.uchicago.edu (News Administrator) Distribution: na Organization: University of Chicago Lines: 20 levericw@cheetah.ece.clarkson.edu (Walden Leverich) writes: >frank> Does anyone know of a way to disable (trap) cntl-alt-del within >frank> a C application. >frank> Frank >Try trapping the keyboard interrupt (INT09) and watching for the >ctrl-alt-del combination. I believe ctrl-alt-del has an interrupt of >its own you could wath for, but I am not sure about that, check ralf's >interrupt listing. My $.02 worth. I always thought this was a dumb idea. I mean all you do is force the pern to find the reset switch when (N.B., not "if"!) the machine locks up. Worse, if they don't have a reset switch, they gotta turn the damn thing off wait 15 seconds then power back up. I always thought this idea of trapping it was just programmer ego gone haywire (Frankenstein mentality: If it can be done, it should be done...)