Article View: comp.os.msdos.programmer
Article #4465Re: cntl-alt-del trap
From: Mark Lord
Date: Thu, 31 Jan 1991 15:28
Date: Thu, 31 Jan 1991 15:28
25 lines
1634 bytes
1634 bytes
<> This brings up the debate of what is expected of the user. [...] <> <>By the way, I do NOT trap c/a/d (or cntrl-alt-panic as i have come to know it). <> The way I figure it, I cant trap the power switch, which could do the same, <> if not worse, damage, so I don't trap the sequence either. < <You're thinking like a programmer, not like a user. To a user, there's a world <of difference between the keyboard and the on/off switch, even though they may <have the same net effect on your program. Hmm.. perhaps there is merit in both views. So why not do both? HYPERDSK does this sort of thing: It traps c/a/d and beeps the first time you press it, while it hastily attempts to flush the cache. When pressed a second time, after the beep warning, c/a/d does what we (users) expect it to do: it reboots MSDOS from scratch. -- ___Mark S. Lord__________________________________________ | ..uunet!bnrgate!mlord%bmerh724 | Climb Free Or Die (NH) | | MLORD@BNR.CA Ottawa, Ontario | Personal views only. | |________________________________|________________________|
Technical Details
Message-ID:
<5510@bwdls58.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!bwdls61!bwdls58!mlordReferences:
<24752@grebyn.com> <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu> <1991Jan29.164715.20309@dg-rtp.dg.com> <43440@ut-emx.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!bwdls61!bwdls58!mlord From: mlord@bwdls58.bnr.ca (Mark Lord) Newsgroups: comp.os.msdos.programmer Subject: Re: cntl-alt-del trap Message-ID: <5510@bwdls58.UUCP> Date: 31 Jan 91 15:28:15 GMT References: <24752@grebyn.com> <LEVERICW.91Jan17230451@cheetah.ece.clarkson.edu> <1991Jan29.164715.20309@dg-rtp.dg.com> <43440@ut-emx.uucp> Sender: mlord@bwdls58.UUCP Reply-To: mlord@bwdls58.bnr.ca (Mark Lord) Distribution: na Organization: Bell-Northern Research, Ottawa, Canada Lines: 25