🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4292

Re: cntl-alt-del trap

#4292
From: Ralf Brown
Date: Sat, 19 Jan 1991 03:01
18 lines
1501 bytes
In article <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu> 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.
}
}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

Unfortunately, it doesn't.  They keyboard BIOS does a jump directly to the
BIOS entry point when you press Ctrl-Alt-Del.  The only way to disable it
is (as you said) to hook INT 09 and filter out the Del scancode if Ctrl
and Alt are already pressed.

--
{backbone}!cs.cmu.edu!ralf  ARPA: RALF@CS.CMU.EDU   FIDO: Ralf Brown 1:129/3.1
BITnet: RALF%CS.CMU.EDU@CMUCCVMA   AT&Tnet: (412)268-3053 (school)   FAX: ask
DISCLAIMER?  Did  | It isn't what we don't know that gives us trouble, it's
I claim something?| what we know that ain't so.  --Will Rogers
Technical Details
Message-ID: <1991Jan19.030117.25804@cs.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!sei!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!ralf
References: <24752@grebyn.com> <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!sei!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!ralf
From: ralf+@cs.cmu.edu (Ralf Brown)
Newsgroups: comp.os.msdos.programmer
Subject: Re: cntl-alt-del trap
Message-ID: <1991Jan19.030117.25804@cs.cmu.edu>
Date: 19 Jan 91 03:01:17 GMT
References: <24752@grebyn.com> <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu>
Sender: netnews@cs.cmu.edu (USENET News Group Software)
Distribution: na
Organization: School of Computer Science, Carnegie Mellon
Lines: 18