From: utzoo!decvax!yale-com!brunix!mjb
Newsgroups: net.unix-wizards,net.bugs.4bsd
Title: Re: TANDEM on tty lines
Article-I.D.: brunix.1544
Posted: Tue Feb 15 00:52:16 1983
Received: Thu Feb 17 06:15:51 1983

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