HOW DO I UNBLOCK A SERIAL LINE ON SUN3?

bill birch bill at ibmpcug.co.uk
Wed Nov 15 09:34:49 AEST 1989


In article <21267 at adm.BRL.MIL> charles at sifvx6.sinet.slb.com writes:
> I have a problem on a SUN3/60 OS3.5 serial link from /dev/ttya to a plotter
> which uses XON/XOFF for flow control. If someone cycles the plotter power in
> mid-plot (eg to unblock the paper feed), the serial line hangs because the SUN
> is waiting for XON (^Q) and the plotter is not clever enough to send XON when

I have had similar problems in the past, but with the Baud rate. 
The trick is to sleep a process on the device thusly:

	sleep 1000000 >/dev/tyya &

What happens is that when the last process  that was using the device


Hope this helps.



More information about the Comp.unix.questions mailing list