mrapple@ucbvax.berkeley.edu (Nick Sayer) (02/21/90)
I have a trailblazer and a Sun 2/170, and flow control problems. I have
told the TB to fix its speed at 9600 (it's a T1000), and use CTS/RTS. When
using kermit, characters every once in a while get lost, and when using
uucp, receive throughput is about 120-150 cps (which, of course, is
rediculous). I have tried this:
#include <stdio.h>
#include <sys/termio.h>
main()
{
struct termios t;
ioctl(1,TCGETS,&t);
t.c_cflag^=CRTSCTS;
ioctl(1,TCSETS,&t);
}
% a.out > /dev/cua0 [minor dev num>128]
This seems to run ok, but has no appearent effect.
There is nothing I can find in the zs, termio, gettytab, stty(1), or
ttcompat man pages, nor in the SunOS 4.0 installation manual.
Surely there is a way to have uucp & getty use CTS/RTS...
Thanks in advance for any help.
Nick Sayer - The Goose Egg public unix - 209-952-5347 (Telebit)
quack!mrapple@uop.edu ! President
...pacbell!uop!quack!mrapple ! National Society for the
N6QQQ @ WB6V (packet radio) ! Prevention of Speed Bumps