Posted-Date: Sat, 4 Jan 1997 10:28:04 -0600 (CST) Message-Id: <199701041628.KAA11265@mail.texoma.net> From: "Mark S. Teel" To: "Andreas Vernersson" Cc: "DJGPP" Subject: Re: Signal Date: Sat, 4 Jan 1997 10:33:38 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ---------- From: Andreas Vernersson To: djgpp AT delorie DOT com Subject: Signal Date: Saturday, January 04, 1997 4:10 AM Hi, I've programmed a timer-interrupt (int 0x1c) and it works fine, but if i terminate my program with Ctrl-C when the timer is installed=20 the computer hung. I think this is caused because i dont't reinstall the old interrupt and my timer-interrupt is still there when the program tries to exit. So, how do i change the signal caused by Ctrl-C to=20 restore the real timer interrupt before exiting. Hm.. And hum.. how do i make the usual "core dump" appear in the new signal before=20 exiting? You are going to have to trap Ctrl-C yourself and restore the timer interrupt before exiting... Hope this helps. MST /andreas vernersson - Ume=E5, Sweden - hubb AT freenet DOT hut DOT fi - IRC: hubble ----------