Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/3/84; site aluxe.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!aluxp!aluxe!lra
From: lra@aluxe.UUCP (Lonnie R. Abelbeck, AT&T Bell Labs)
Newsgroups: net.micro.apple
Subject: Re: Mac 'C': How do you send a BREAK..
Message-ID: <426@aluxe.UUCP>
Date: Tue, 9-Oct-84 21:26:37 EDT
Article-I.D.: aluxe.426
Posted: Tue Oct  9 21:26:37 1984
Date-Received: Wed, 10-Oct-84 06:23:26 EDT
Organization: AT&T Bell Laboratories, Allentown, PA
Lines: 29


[]
>
>	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