🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: cntl-alt-del trap

#4394
From: Ed Nather
Date: Mon, 28 Jan 1991 15:57
24 lines
1547 bytes
In article <valley.664826121@gsbsun>, valley@uchicago (Doug Dougherty) writes:
> 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. 
> 
> 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.  [...]

You are making an incorrect assumption, that the only time you want to trap
this combination is when the machine "locks up."  Be aware that people use
computers for many differt things.  For example, I use a PC to gather data
at a telescope, in real time, and I don't want ctrl-alt-del or ^C or
ctrl-PrtSc to bomb the real-time program.  There is only one keystroke
combination that will halt the program; all the others are trapped.  This
decision is a result of sad experience in the past.


-- 
Ed Nather
Astronomy Dept, U of Texas @ Austin
Technical Details
Message-ID: <43301@ut-emx.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!ut-emx!nather
References: <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!rutgers!cs.utexas.edu!ut-emx!nather
From: nather@ut-emx.uucp (Ed Nather)
Newsgroups: comp.os.msdos.programmer
Subject: Re: cntl-alt-del trap
Message-ID: <43301@ut-emx.uucp>
Date: 28 Jan 91 15:57:45 GMT
References: <24752@grebyn.com> <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu> <valley.664826121@gsbsun>
Distribution: na
Organization: The University of Texas at Austin; Austin, Texas
Lines: 24