Article View: comp.os.msdos.programmer
Article #4368Re: cntl-alt-del trap
From: Walden Leverich
Date: Fri, 25 Jan 1991 22:06
Date: Fri, 25 Jan 1991 22:06
29 lines
2179 bytes
2179 bytes
> 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...)
Think about the user who is waiting for a database action. A long one
to be specific. If ctl-alt-del is trapped and he/she hits the buttons,
a message can be sent telling that the operation is still running, or
the operation can be closed down in an orderly maner. If the buttons
are not trapped you can have a serious mess. The same argument applies
to some network functions, not to mention disk cache programs.
It may not be needed at all times, but trapping ctl-alt-del does have
its uses.
-Walden
--
---------------------------------------------------------------------------
Walden H. Leverich III | Inet: levericw@clutx.clarkson.edu
ECE Dept. | CServ: 73237,2212 <- checked weekly
Clarkson University | SnailMail: Software Solutions
| PO Box 763
| Potsdam, NY 13676-0763
#include <std_disclamer_concerning_what_I_say>
--------------------------------------------------------------------------
Technical Details
Message-ID:
<LEVERICW.91Jan25140659@cheetah.ece.clarkson.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!clarkson!grape.ecs.clarkson.edu!levericwReferences:
<24752@grebyn.com> <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu> <valley.664826121@gsbsun>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!clarkson!grape.ecs.clarkson.edu!levericw From: levericw@cheetah.ece.clarkson.edu (Walden Leverich) Newsgroups: comp.os.msdos.programmer Subject: Re: cntl-alt-del trap Message-ID: <LEVERICW.91Jan25140659@cheetah.ece.clarkson.edu> Date: 25 Jan 91 22:06:59 GMT References: <24752@grebyn.com> <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu> <valley.664826121@gsbsun> Sender: @grape.ecs.clarkson.edu Distribution: na Organization: /home/cheetah.ece/levericw/.organization Lines: 29 In-Reply-To: valley@uchicago's message of 25 Jan 91 17:55:21 GMT