Xref: utzoo comp.binaries.ibm.pc.d:15199 alt.msdos.programmer:2790 comp.os.msdos.apps:2170 comp.os.msdos.programmer:5654 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!rouge!CALLAWAYCJ@EA.USL.EDU From: callawaycj@EA.USL.EDU (C.JamesCallaway) Newsgroups: comp.binaries.ibm.pc.d,alt.msdos.programmer,comp.os.msdos.apps,comp.os.msdos.programmer Subject: Re: Control-C blocker needed Message-ID: <0094A28F.A230B060@EA.USL.EDU> Date: 15 Jun 91 15:50:33 GMT References: ,<1991Jun11.151950.2097@gupta.portal.com> Sender: anon@rouge.usl.edu Reply-To: callawaycj@EA.USL.EDU (C.JamesCallaway) Followup-To: comp.binaries.ibm.pc.d Organization: U.S.L. - Home Of The Ragin' Cajuns - Ragin' Roar! Lines: 32 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. An ISR Device Driver That Intercepts INT09h(BIOS Keyboard Handler) Or INT1Bh(BIOS CtrlBRK) Or INT23h(BIOS CtrlC Handler), Might Do The Trick. Let Me Know If You Find Something. Maybe I Could Use It, Too. -- ############################################################################### # C.JamesCallaway! # CALLAWAYCJ@EA.USL.EDU | FUTURE iMAGE SoftWorks! # # USL P.O. Box 41353 #--------------------------------------------------------# #Lafayette, La 70504 # A Man Can Only Find Peace Within Himself...If He Looks!# ###############################################################################