[comp.bugs.sys5] HDB Dialers file, STTY= support incomplete

deraadt@cpsc.ucalgary.ca (Theo de Raadt) (06/24/91)

We run SunOS4.1, therefore we have HDB uucp. In the Sun supplied book
"System and Network Administration", it describes the STTY= command
which can be used in used in a Dialers or Systems file entry. It says
that the STTY= command supports all commands that /bin/stty supports.

This is untrue. It does not support baud rate changing.

I have a TB2500 sitting on mux port that will not support proper flow
control. I run the modem locked at 19200. This connection works fine
when talking to another TB2500, but when talking to a v32 modem, the
throughput becomes terrible. I use this hack to set the baud rate
lower such that my computer does not overflow the modem.

Extract from /etc/uucp/Dialers:
tbv32hack =,-,	"" \M\d+++\d\dAT\r\c OK\r ATZ0\r\c OK\r \pATS51=4\r\c ""\
 STTY=9600 "" \dAT\r\c OK\r AT\r\c OK\r ATS50=6S94=0S111=0\r\c OK\r\
 \pATDT\T\r\d\d\c CONNECT

The support for STTY=9600 is not in HDB unix as such. We have source,
so I added it myself. Perhaps it should be made a permanent addition
for the future?  The trivial patch is available to anyone interested.
 <tdr.
--

SunOS 4.0.3: /usr/include/vm/as.h, Line 44      | Theo de Raadt
SunOS 4.1.1: /usr/include/vm/as.h, Line 49      | deraadt@cpsc.ucalgary.ca
Is it a typo? Should the '_'  be an 's'?? :-)   | deraadt@cpsc.ucalgary.ca