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!think!harvard!seismo!umcp-cs!chris
From: chris@umcp-cs.UUCP (Chris Torek)
Newsgroups: net.emacs
Subject: Re: emacs under flow control
Message-ID: <782@umcp-cs.UUCP>
Date: Tue, 9-Jul-85 01:39:12 EDT
Article-I.D.: umcp-cs.782
Posted: Tue Jul  9 01:39:12 1985
Date-Received: Thu, 11-Jul-85 06:17:59 EDT
References: <2899@cornell.UUCP> <11600001@ccvaxa> <144@ukc.UUCP>
Organization: U of Maryland, Computer Science Dept., College Park, MD
Lines: 30

More Gosmacs flow control: Spencer Thomas had some stuff that
allowed Xon/Xoff flow control to work while inside Emacs.  I put
it in my stuff and it got out to UniPress, and I think mg has put
it in.  (mg is busy cleaning up all the bugs, so UniPress may have
a stable release out soon.)

The way it works is that you

	(setq xon/xoff-flow-control 1)

in your .emacs_pro (or in Globalpro.ml) to make ^S and ^Q do flow
control things.  (This *must* be done before the first call to the
display code; .emacs_pro's suffice as long as you also do it before
any (send-string-to-terminal)s.)

The neat thing about this is that it only affects those who want
it.  If you don't set xon/xoff-flow-control, Emacs uses TIOCSETC
to turn off the flow controlness.  (You have to use TIOCSETC even
if you use RAW, since 4.2 (and 4.3) BSD rlogin has a strange hack
that notices this.  And besides, I also put in something that lets
you set half-baked-input to get 7-bit input with ^G doing interrupts,
instead of making it a compile time option, so if you have that on
the TIOCSETC is required too....)

Of course you still have to figure out where to bind the search keys.
Sigh.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland