From: utzoo!decvax!harpo!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!emrath Newsgroups: net.unix-wizards Title: Re: TANDEM mode on tty lines - (nf) Article-I.D.: uiucdcs.1456 Posted: Fri Feb 11 18:40:37 1983 Received: Sun Feb 13 03:08:32 1983 #R:unm-ivax:-13100:uiucdcs:13700022:000:953 uiucdcs!emrath Feb 11 18:28:00 1983 I have gotten around this problem by throwing software at it in my pdp-11 (non-unix). My user level program disables ^S/^Q in my tty driver (input side only) and handles it this way: When I get a ^S from unix (*followed* by the echoed char which would normally turn my tty driver back on), I set a flag but keep sending the rest of the line. When I send the CR, if the flag is set I stop sending and wait for a ^Q. (I also count the echo and stop sending if I get too far ahead, in order to prevent *my* input buffer from overrunning.) It works fine as long as lines are shorter than TTYHOG/2 (127?). The fix mentioned by swatt looks good and should let my tty driver handle the ^S/^Q business (if I add a LDECCTQ type option) as well as let lines up to TTYHOG or so get thru reliably. Using cooked mode allows one program to talk to a number of systems, in this case: vax/unix, vax/vms, cyber/nos and TOPS-20. ...!pur-ee!uiucdcs!emrath (Univ of IL)