Subject: ^S causes freeze-up

From: Michael Showers <[email-masked]>
Date: Mon, 11 Jul 1994 10:40:08 -0700 (PDT)

We have a concerned director of our network, who would like to know what 
using ^S while in compose does to cause the session to freeze (and I can 
verify that it does on everything from Mac to Sun to PC.)

And is there a way to trap the ^S signal so as to protect the unsuspecting?

Grateful as always,

 /\       /\ /\                        Michael Showers
/  \^^^/\/ /^^^^\                Technical Coordinator
                 ^^^^^^                 CIAO! Free-Net
------------------------------------------------------
email:[email-masked] - voice:(604) 368-2234

---

From: [email-masked] (Bill Campbell)
Date: Mon, 11 Jul 1994 11:38:00 -0700 (PDT)

> And is there a way to trap the ^S signal so as to protect the unsuspecting?
I don't know of any way to trap the ^S, but you can probably set ixany
for the terminal session which will treat any character from the
terminal as an xon to restart transmission.  You may want to do this
by putting it in the /etc/gettydefs for the terminal, or it could
probably be put in a shell wrapper for pine.  i.e.

:
#! /bin/sh
STTY=`stty -g`  # save current settings
pine            # execcute pine
stty $STTY      # restore settings to previous values.

Bill
--
INTERNET:  [email-masked]   Bill Campbell; Celestial Software
UUCP:              camco!bill   8545 SE 68th Street
FAX:           (206) 232-9186   Mercer Island, WA 98040; (206) 947-5591

... so long as the people do not care to exercise their freedom, those
who wish to tyrranize will do so; for tyrants are active and ardent,
and will devote themselves in the name of any number of gods, religious
and otherwise, to put shackles upon sleeping men.
                -- Voltarine de Cleyre

---

From: Michael Showers <[email-masked]>
Date: Mon, 11 Jul 1994 13:11:39 -0700 (PDT)

> probably be put in a shell wrapper for pine.  i.e.

Thanks, but

> stty $STTY      # restore settings to previous values.

Tried this, no joy, same freezing occurred.  Perhaps it is a local problem 
with our Sun.

 /\       /\ /\                        Michael Showers

---

From: [email-masked] (Steven King [Really!])
Date: Tue, 12 Jul 1994 01:29:34 GMT

>Tried this, no joy, same freezing occurred.  Perhaps it is a local problem 

The original poster forgot a line, specifically the one to set ixany.  
Actually, you probably want to set -ixon instead.  That will disable 
XON/XOFF flow control completely.  (I needed to do that to fix a 
similar different problem here.)

#! /bin/sh
STTY=`stty -g`  # save current settings
stty -ixon      # disable XON/XOFF flow control
pine            # execute pine
stty $STTY      # restore settings to previous values.

-- 
----------------------------------------<Steven King, [email-masked]>--
"What if there were no beer?"
Yep, that's about the only time I'd order a Zima, all right.