Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site anwar.UUCP Path: utzoo!linus!philabs!hhb!anwar!bob From: bob@anwar.UUCP (Bob Erickson) Newsgroups: net.micro.pc Subject: Need ^C interrupt handler strategy Message-ID: <174@anwar.UUCP> Date: Mon, 13-May-85 11:31:00 EDT Article-I.D.: anwar.174 Posted: Mon May 13 11:31:00 1985 Date-Received: Thu, 16-May-85 20:05:36 EDT Organization: HHB-Softron, Mahwah, NJ Lines: 30 I am now in the process of porting a large application to an IBM/AT using the Lattice C compiler. It now runs under many versions of UNIX and while MSDOS is getting closer to UNIX every day, it's not there yet. So as not to re-invent the wheel, I was wondering if anyone has written some routines which will catch ^c interrupts via a fake signal mechanism. For instance, we usually set up a signal to catch interrupts, cleanup our files in the handler and longjmp back to the beginning with an indication of what went wrong. Since command.com seems to be able to catch ^c interrupts, I am hoping with some dos hack, I can too. Anyone solved this problem yet ? Thanx for any help...... -- ========================================================== Be Company: HHB-Softron 1000 Wyckoff Ave. Mahwah NJ 07430 201-848-8000 UUCP address: {ihnp4,decvax,allegra}!philabs!hhb!bob