pete@pete.abcl.co.uk (Peter Cockerell) (01/20/90)
I hope this is the right group for these questions, and they haven't been asked too many times before. Here goes: 1. I want to intercept the Ctrl-C behaviour in a Zortech C++ program. I used int_intercept(); and it seems to work fine (all I do in my intercept function is set a flag) and I keep control. But... it still echoes ^C on screen. How do I stop it from doing that? I gather that it's DOS rather than the BIOS that detects ctrl-Cs. Does that mean I have to do all my IO using the BIOS if I don't want DOS interfering, or can I clear the 'break' condition before I call DOS so it never sees it? Does any of this make sense? 2. Has anyone got a good reference for using overlays on the PC? Basically I've got a v. large program (again Zortech C++) and I want to split it into manageable chunks, some of which need information passed between them. Thanks a bundle. -- Pete