#: 5539 S15/Hot Topics
25-Jul-90 06:11:33
Sb: #5510-#Is Basic out of date?
Fm: Mark Griffith 76070,41
To: Mike Guzzi 76576,2715 (X)
Mike,
I understand your need to detect carrier, but that should be done in the driver
and not the applications. I know the current ACIAPAK doesn't do that, but one
should have been written that does. (The Level II upgrade has one). Then
again, I have never seen the need for a carrier detect. I have users logging
into my system all the time via UUCP or interactively and I have rarely had any
problem with applications not ending when they hangup. Of course, these are
all knowledgeable people, probably more so than the average BBS user (not to
malign them). This is not to say that you are wrong to do that. You took care
of the situation in the best means available to you.
On another note, you mentioned to Kevin about keeping a signal from breaking a
loop so you could finish it first and then take care of the signal. I don't
think it a good idea to mask them, even if you can. I never tried it myself.
What you can do is setup you signal handler to just set a flag that a signal
was received and then return to your loop. Once you exit the loop, check for
the flag and the go service the signal. Hmmm....you're programming in BASIC09
which doesn't return to the spot in the code where the signal was received. I
guess this is not going to work. Perhaps you should start using "C"?? This is
one example where BASIC09 just can't cut it against "C".
Mark
There is 1 Reply.
|