Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <39B5DB5F.C05A7C09@nortelnetworks.com>
Date: Wed, 06 Sep 2000 15:51:27 +1000
X-Sybari-Space: 00000000 00000000 00000000
From: "Benjamin Low" <bdlow@nortelnetworks.com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@sources.redhat.com
CC: "Benjamin Low" <bdlow@nortelnetworks.com>
Subject: Re: i/o STOP + CONT (bash?) problem
References: <968167382.14182.ezmlm@sources.redhat.com> <39B5B1FB.14BDFF0D@nortelnetworks.com> <20000905220710.A6604@cygnus.com>
Content-Type: multipart/mixed; boundary="------------967E0E1E1A1547306524914B"

--------------967E0E1E1A1547306524914B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Chris,

Thanks for the prompt reply.

Chris Faylor wrote:
...
> Um.  CTRL-S has nothing to do with the STOP signal.  

As I understand (understood :-) it, the terminal driver issues various
signals to the current process in response to predetermined input
sequences (set via stty). Thus with the "standard" stty config, ctrl-C
sends an SIGINT, ctrl-S sends SIGSTOP, etc. This gels with my practical
experience in that kill -STOP|-CONT <pid> works the same as
ctrl-S|ctrl-Q (on every unix I've worked on (linux, solaris,
cywgin-sometimes).

...
> So, hit CTRL-Q if you want stuff to start up again.

Oh, if it were that easy :-)

> usually invoked by hitting CTRL-Z.  This causes any running foreground
> process to be stopped and usually causes the invoking shell to issue a

I believe ctrl-Z is normally associated with SIGSUSP (suspend), which
behaves much as you have described - pausing execution of the process
(not just it's i/o).

> for this to work reliably you need to use "tty" mode, i.e., the CYGWIN
> environment variable needs to contain "tty" (without the quotes).

Tried that, without success. My (system wide) CYGWIN environment
variable is now "ntsec ntea tty", the problem still occurs as before.

What happens when you try ctrl-S/Q within bash?

-- 
Benjamin D Low                         bdlow@nortelnetworks.com
Nortel Networks Technology Centre      +61 2 4254 7473
Wollongong NSW Australia               ESN 639 7473
--------------967E0E1E1A1547306524914B
Content-Type: text/x-vcard; charset=us-ascii;
 name="bdlow.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Benjamin Low
Content-Disposition: attachment;
 filename="bdlow.vcf"

begin:vcard 
n:Low;Benjamin
tel;work:ESN 639 7473, +61 2 4254 7473
x-mozilla-html:FALSE
org:Nortel Networks
version:2.1
email;internet:bdlow@nortelnetworks.com
adr;quoted-printable:;;Nortel Networks Technology Centre=0D=0ANorthfields Avenue;Wollongong;NSW;2500;Australia
note;quoted-printable:Not to be confused with benlow@nortelnetworks.com, who works =0D=0Ain Richardson, Texas, U.S.A.
fn:Benjamin Low
end:vcard


--------------967E0E1E1A1547306524914B
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--------------967E0E1E1A1547306524914B--

