[comp.unix.xenix.sco] Getting error codes from plotter

willis@xroads.UUCP (Raymond Willis) (09/11/90)

I have another question about the plotter.  If you send something illegal
to the plotter, an error light will come on.  If you want to find out the
nature of the problem, have the computer send a certain code to the  
plotter.  The plotter will send code back to the computer.
 
A small program that I think should work is :

echo 'code to plotter' >/dev/ttyi14
read text </dev/ttyi14
echo $text

If I take away the redirection to device ttyi14 and use my own
CRT as the test device, it works fine.  If I use the program as
written with a CRT at device ttyi14 and not a plotter, the code
sent to ttyi14 will appear on the screen but when I type in some
text followed by carriage return, the program does not pick it 
up.  I have to hit carriage return two or three times before the
program will pick it up.  How can I get this to work like it should?
We have Xenix SysV, version 2.3.2
-- 
\  /  C r o s s r o a d s  C o m m u n i c a t i o n s
 /\   (602) 941-2005 300|1200|2400 Baud 24 hrs/day
/  \  hplabs!hp-sdd!crash!xroads!willis