Re: Ctl-Break Crashes
- Posted by Robert Craig <rds at EMAIL.MSN.COM> Jul 26, 1998
- 441 views
Einar Mogen writes: > It crashed mine, too, just till recently. There are just two things > that I can think of that fixed the problem, but I don't know for sure. > Suddenly the problem was gone. That's good if it's ok now on your system. Here's what I posted yesterday on alt.lang.euphoria: Paul Martin writes: > I use the ee.ex editor that is posted at euphorias main web site. > It is an excellent editor except for one thing. The problem is > that when I am writing a program with this editor under > Windows 95 and I use CTRL-BREAK in conjunction with > the abort(i), it crashes Windows 95 and some times reboots > my computer, even Crash Shield does not stop it. Is there > another way EASY way of exiting a program without using abort(i) > or crashing my computer. There's a known problem (see TROUBLE.DOC) with hitting control-C or control-Break when you run your program from ed. I assume the same problem holds for ee (you might want to ask David Cuny who wrote ee). The solution is to exit the editor and run your program normally, from the command-line, whenever you might want to use control-C or control-Break. Remember that with ex.exe, control-C/control-Break will only stop your program at a point where keyboard input is being requested. It won't necessarily get you out of an infinite loop. (With exw.exe it *will* get you out.) There shouldn't be any problem with using abort() in the absence of control-C/control-Break. Regards, Rob Craig Rapid Deployment Software http://members.aol.com/FilesEu/