[net.micro.apple] Mac 'C': How do you send a BREAK..

lra@aluxe.UUCP (Lonnie R. Abelbeck, AT&T Bell Labs) (10/10/84)

[]
>
>	o  How do you send a BREAK.  Is there a poke() you can perform or
>		do you have to time out 300ms with no start/stops bits.
>

Well, I have answered my own question this time, looking through the
workshop stuff in SUMacC I found what I needed.

For Aztec C68 the following function will do the trick, the union
and structure are as defined in the example "term.c".

SendBreak()
{
	long ticks;

	Control(PortA.refout, 12, &Csp);
	ticks = TickCount() + 14;  /* use 210 for a Disconnect */
	while (TickCount() <= ticks)
		;
	Control(PortA.refout, 11, &Csp);
}

And it does work....

Lonnie R. Abelbeck
AT&T Bell Laboratories
mhuxi!aluxe!lra