keith@celia.UUCP (Keith Goldfarb) (02/22/90)
While using rlogin on sgi machines, -ixon mode is set on the tty on the local host. This makes the ^S and ^Q go through untouched to the remote host who then interprets them. This allows programs that use them as special characters (such as emacs) to hear them. However, when using them as xon/xoff, since the ^S is being sent to the remote host, there is often a great delay between the time it is typed and the time that the text stops scrolling. I assume that this is due to buffered up text somewhere. By manually setting ixon mode on the local tty, I can make the ^S be interpreted locally, and hence its effect is immediate. However, programs that use it meaningfully never get it (unless it is preceded by a ^V, but that is a hassle). My question is, how can I get the best of both worlds -- a ^S that works when I type it, and that is heard by the remote host? K. -- Keith Goldfarb Rhythm & Hues celia!keith@tis.llnl.gov celia!keith@usc.edu ...mlogic!celia!keith I got nothing. Too bad. But I'm happy 'cause that's all I have.
gwyn@smoke.BRL.MIL (Doug Gwyn) (02/23/90)
In article <595@celia.UUCP> celia!keith@tis.llnl.gov (Keith Goldfarb) writes: >By manually setting ixon mode on the local >tty, I can make the ^S be interpreted locally, and hence its >effect is immediate. Of course, and in fact if you require DC3/DC1 flow control you should LEAVE stty ixon -ixany in effect on your local system at all times! >However, programs that use it meaningfully >never get it (unless it is preceded by a ^V, but that is a >hassle). My question is, how can I get the best of both worlds -- >a ^S that works when I type it, and that is heard by the remote >host? You're asking the wrong question. The right question is, how in the world can an application require that DC3 or DC1 be used "meaningfully" when so many terminals require their use for in-band flow control? I think you've been misled by the default that some versions of EMACS have of expecting you to type ^S to search forward. You should rebind that to some more useful key. Around here we use ^\ instead.