Path: utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!wuarchive!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!tut!funic!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi LASK) Newsgroups: comp.lang.pascal Subject: Re: TP(How to disable CTRL-Break?) Message-ID: <1990Jun18.080428.6305@uwasa.fi> Date: 18 Jun 90 08:04:28 GMT References: <13000007@uxh.cso.uiuc.edu> Organization: University of Vaasa Lines: 18 In article <13000007@uxh.cso.uiuc.edu> mead@uxh.cso.uiuc.edu writes: ... >Well, anyway, I will eventually need to make a program "crash proof." >At a minimum, I need to disable CTRL-BREAK and CTRL-C. I have a book {This is all there is to it} uses Crt; CheckBreak := false; Then you can test with ReadKey function for #3 if you want to capture a break. (You'll only need interrupt programming if you don't want to invoke the Crt unit, because it has some side effects.) ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun