Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.emacs Subject: Re: GNU Emacs news Message-ID: <2121@sun.uucp> Date: Fri, 12-Apr-85 23:24:40 EST Article-I.D.: sun.2121 Posted: Fri Apr 12 23:24:40 1985 Date-Received: Wed, 17-Apr-85 00:30:59 EST References: <6180@ucbvax.ARPA> Distribution: net Organization: Sun Microsystems, Inc. Lines: 29 > * Emacs now alters the output-start and output-stop characters > to prevent C-s and C-q from being considered as flow control > by cretinous rlogin software in 4.2. Actually, the problem is in the pty driver, not in "rlogin"; the fix has been posted a few times, but here it is again: sys/tty_pty.c: (your line numbers may vary) 438,439c492,493 < { int stop = (tp->t_stopc == ('s'&037) && < tp->t_startc == ('q'&037)); --- > { int stop = ((tp->t_flags & RAW) == 0 && > tp->t_stopc == ('s'&037) && tp->t_startc == ('q'&037)); 442c496 < pti->pt_send &= TIOCPKT_NOSTOP; --- > pti->pt_send &= ~TIOCPKT_NOSTOP; This sends a TIOCPKT_NOSTOP packet if RAW mode is turned on, as well as if the start or stop characters are changed. It works; I'm in EMACS (Gosling's) over an "rlogin" connection, and ^S does start a search. (Of course, if you have a smooth-scrolling VT100, you lose big if it ever scrolls...) Guy Harris sun!guy