Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.bugs.4bsd Subject: Re: rlogin sessions don't handle ^S/^Q in raw mode? Message-ID: <2624@umcp-cs.UUCP> Date: Mon, 21-Jan-85 13:28:27 EST Article-I.D.: umcp-cs.2624 Posted: Mon Jan 21 13:28:27 1985 Date-Received: Wed, 23-Jan-85 05:58:11 EST References: <20379@arizona.UUCP> Distribution: net Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 18 It's a ``feature'': the PTY driver notifies masters only about changes in the actual characters used for flow control, and only when they change to/from ^S/^Q. (I think this is totally bogus; the master should get the entire tty state if anything.) However, you can work around it (sort of) by making every program that does ``stty raw'' (or equivalent) also set the ^S/^Q characters to -1 (undefined), which will make rlogin do the same. Beware: whenever you change the flow control characters, rlogin, in its headlong rush to get the out-of-band data used for this, flushes every last bit of data that it hasn't yet printed. This means that you must (in general) set the flow characters, then print whatever you're printing. -- (This line accidently left nonblank.) In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland