Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version nyu B notes v1.5 12/10/84; site csd2.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!ut-sally!seismo!cmcl2!csd2!jacobsn From: jacobsn@csd2.UUCP (Nicholas H. Jacobs) Newsgroups: net.micro.pc Subject: MS-DOS cntl-brk handler wanted Message-ID: <3340004@csd2.UUCP> Date: Mon, 9-Dec-85 15:38:00 EST Article-I.D.: csd2.3340004 Posted: Mon Dec 9 15:38:00 1985 Date-Received: Wed, 11-Dec-85 04:08:52 EST Organization: New York University Lines: 18 I am currently writing code that replaces the control-break handler on the PC with a calling syntax very similar to the call to signal() on UNIX. The compiler that I'm writing it for is Lattice C. Since Microsoft's document- ation (perhaps I honor it to call it that) is sketchy, I'm wondering if anyone has a generic routine to replace it. I'm using the Macro Assembler to write it. The main problem seems to be when a program is waiting for keyboard input, rather than on output (I can get it to work for interrupting output). Thanks in advance, Nicholas Jacobs jacobsn@csd2 P.S. Please don't direct to the DOS manual, that sad excuse for a manual has already given me as much information on the subject as it ever can. P.P.S. Any flames concerning the questionable merits of MS-DOS as an operat- ing system will be ignored...