gray@SU-DSN.ARPA (06/22/84)
Having discovered that cu loses characters at 9600 baud, I tried to bring up Unix kermit on a Callan Unistar 200 running Unisoft System V Unix. It did not compile since TANDEM and FIONREAD are not defined in <sgtty.h> in Unisoft system V and simple fixes do not work. The baud rate is set incorrectly and even if set correctly & ixoff set via stty, Kermit still gets no response from a known functional VAX Kermit (& it seems to keep sending garbage to the Vax). Does anyone have an idea of a way to fix this without drastic rewrites? reply to gray@su-dsn
fair@dual.UUCP (Erik E. Fair) (06/26/84)
Don't, DON'T use the stty/gtty calls in the UniSoft System III/V implementations. The code that is in the kernel to support this is an AT&T hack to attempt backward compatability and it does not work correctly in all cases. You will be MUCH better off in the long run if you bite the bullet and learn the horrific System V tty driver ioctl's and re-write whatever communication program (kermit in this case) with them. And watch out for ICANON and ISIG. They go in lflags, not iflags. Good Luck, Erik E. Fair ucbvax!fair fair@ucb-arpa.ARPA dual!fair@Berkeley.ARPA {ihnp4,ucbvax,cbosgd,decwrl,amd70,fortune,zehntel}!dual!fair Dual Systems Corporation, Berkeley, California
guy@rlgvax.UUCP (06/28/84)
> Don't, DON'T use the stty/gtty calls in the UniSoft System III/V > implementations. The code that is in the kernel to support this is an > AT&T hack to attempt backward compatability and it does not work correctly > in all cases. AT&T intended backwards compatibility with the (unreleased) UNIX/TS 1.0 and PWB/UNIX 2.0; unfortunately, it screws the rest of us who would rather be backwards compatible with V7. It can be changed to be V7-compatible, and we've done that on our systems. It still won't work correctly in all cases, because the RAW bit in the V7 driver corresponds to several bits and fields in the USG driver, and if some were in the RAW state and some in the cooked/ CBREAK state before entering RAW mode, when you come out of RAW mode you won't be in the same state you were in before entering it. (And other similar problems.) Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy