[net.bugs.4bsd] TANDEM on tty lines

mjb (02/15/83)

I don't know about TANDEM and cooked mode, but I *do* know that TANDEM does
not work in raw mode with the new tty discipline in 4.1BSD and with either
discipline in 4.1aBSD. What happens is it NEVER sends a ^Q after sending a
^S. The following fix should be made to ntread() in ttynew.c (renamed
ttread() in 4.1a):
                .
        if (tp->t_flags&RAW) {
                (void) spl5();
                .
                .
                .
                (void) spl0();
                while (tp->t_rawq.c_cc && passc(getc(&tp->t_rawq))>=0)
                        ;
/* BRUNIX: Why the hell is this here? Screws tandem mode */
/***********    return (0);  ***********/
        } else {
                .
Mike Braca,  ..!decvax!brunix!mjb,  mjb.brown@udel-relay