#micro-emacs
5 messages in this thread
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
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
Thanks for the tip – I haven't used Lattice on the Amiga before.
Winston
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
Thanks for the tip – I haven't done much C programming on the Amiga with
Lattice C. I appreciate the help.
Winston