Hi Mike.
I don't think you can 'pre-link' implementation modules (I'll be happy to
learn otherwise, though).
Yes, there is a way to detect Ctrl-C. That you have to do is get a pointer
to your own task control block (by doing FindTask(0)). In the task control
block there's a field call tcSigRecvd. All you gotta do then is to test for
the Ctrl-C signal. The following should work:
MyTask = FindTask(0)
IF SIGBreakC IN MyTask^.tcSigRecvd THEN WriteString('^C') END
Oh, one more thing. If you're using ver 3.00 you should have no
problems with FindTask, but (if I remember correctly) there is a problem with
it in ver2.00. I think Les posted a fix for it a while ago. Let me know if
you need it.
Hope this helped
– Steve –