🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: cntl-alt-del trap

#4366
From: Doug Dougherty
Date: Fri, 25 Jan 1991 17:55
20 lines
1377 bytes
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...)
Technical Details
Message-ID: <valley.664826121@gsbsun>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!valley
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!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: <valley.664826121@gsbsun>
Date: 25 Jan 91 17:55:21 GMT
References: <24752@grebyn.com> <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu>
Sender: news@midway.uchicago.edu (News Administrator)
Distribution: na
Organization: University of Chicago
Lines: 20