CompuServe Thread

#micro-emacs

5 messages in this thread
#114853From: Winston M. LlamasMar 20, 1988 9:05 PM
I was attempting to compile the source code to Micro Emacs version 3.9i for the Amiga. Everything works fine except for one thing – every time I leave the program, I get a "user abort" requester. This only happens when I do a normal exit. When I try a quick exit, everything works fine. I'm using Lattice 4.0 for my compiles. Thanks for any help (didn't have time to go through the code today). Winston
#114868From: Scott BallantyneMar 20, 1988 11:23 PM
Isn't that ^C ? Sounds like lattice is trapping it out, you should probably just replace the user abort function with a null function, or Enable_ABort = 0, or something like that. sdb
#114946From: Winston M. LlamasMar 21, 1988 7:25 PM
Thanks for the tip – I haven't used Lattice on the Amiga before. Winston
#114941From: Bob RakoskyMar 21, 1988 6:52 PM
Winston, As Scott pointed out, that is the Lattice automatic break-detection catching you. What you have to do is to set an on_break trap in the code and pass it the address of a routine to handle the detected breaks for you. This routine need do nothing more than simply say that the 'break' should be ignored. The following code should illustrate: VOID main() { int my_break(); … on_break(my_break); … } int my_break() { return(FALSE); } Hope this helps…Bob
#114945From: Winston M. LlamasMar 21, 1988 7:23 PM
Thanks for the tip – I haven't done much C programming on the Amiga with Lattice C. I appreciate the help. Winston