Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!nwnexus!apex!rennyk From: rennyk@apex.com (Renny K) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Control-C blocker needed Message-ID: <1991Jun17.154407.9896@apex.com> Date: 17 Jun 91 15:44:07 GMT References: <1991Jun11.151950.2097@gupta.portal.com> <0094A28F.A230B060@EA.USL.EDU> Reply-To: rennyk@apex.UUCP (Renny K) Organization: Apex Computer Co., Redmond WA Lines: 46 In article <0094A28F.A230B060@EA.USL.EDU> callawaycj@EA.USL.EDU (C.JamesCallaway) writes: >In article <1991Jun11.151950.2097@gupta.portal.com>, max@gupta.portal.com (Max Rochlin) writes: >>In article morgan@chaos.cs.brandeis.edu (Dylan Kaufman) writes: >>> >>>which will let >>>me completely block out Ctrl-C and Ctrl-Break during execution of the >>>AUTOEXEC.BAT >> >>Try making the first line of your autoexec.bat BREAK OFF > > >The BREAK Command Is Used To Control The Frequency That MS-DOS Checks For The > Or Combinations. The Command BREAK OFF Directs MS-DOS >To Check For The Key Combinations Only During Input And Output Operations. > >BREAK ON Will Allow MS-DOS To Check Whenever A Call Is Made To The Operating >System's Service Functions. > >So In This Case BREAK OFF Will Not Give The Results Asked. > I've had the same need, and I did write a TSR to do the job. It's really an unusual program, because it loads BEFORE COMMAND.COM and as such, will protect you from anyone hitting Control-C or Control-Break during the AUTOEXEC file execution. The only problem I've seen is that when you're using Borland's Turbo products, and do a File/OS Shell, they install a Break Handler which overcomes the ISR I've installed. Once you quit the shell that was invoked via Turbo XXXX, and quit Turbo XXXX, then my TSR does it's job. I've been using it under Novell Netware for about 2.5 years now without any problems. Please E-Mail me if you want the program (I'm new and don't know how to post binaries to the text yet). Renny ------------------------------------------------------------------------------- Renny Koshy rennyk@apex.com Apex Computer, Redmond, WA. -- ------------------------------------------------------------------------------- Renny Koshy rennyk@apex.com Apex Computer, Redmond, WA.