Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!bcs33424 From: bcs33424@uxa.cso.uiuc.edu Newsgroups: comp.lang.pascal Subject: disable ^C in Turbo Pascal Message-ID: <116500002@uxa.cso.uiuc.edu> Date: 11 Feb 90 10:39:56 GMT Lines: 19 Nf-ID: #N:uxa.cso.uiuc.edu:116500002:000:839 Nf-From: uxa.cso.uiuc.edu!bcs33424 Feb 10 21:39:00 1990 I'm writing a password program in Turbo Pascal for friend's computer. The program is fine, but I can't disable control-C. I've tried the break command under DOS, and the {C-}, {C+}, {$U-}, and the {$U+} (the book I'm using is very vague). With- out the control-C disabled, the program has no real effect. Is there something I missed? Is there another compiler directive I could use? Could the autoexec.bat be written so that, if the password program is stopped by a ^C that it recalls the password program, until it is ended normally? Thanks in advance, Bryan Siegfried email to: sig@mrcnext.cso.uiuc.edu zig@uiuc.edu bcs33424@uxa.cso.uiuc.edu "The interests of the landlord always oppose the interests of every othewr class of society." - David Ricardo