delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/06/00:54:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT 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 AT nortelnetworks DOT com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
CC: "Benjamin Low" <bdlow AT nortelnetworks DOT com>
Subject: Re: i/o STOP + CONT (bash?) problem
References: <968167382 DOT 14182 DOT ezmlm AT sources DOT redhat DOT com> <39B5B1FB DOT 14BDFF0D AT nortelnetworks DOT com> <20000905220710 DOT A6604 AT cygnus DOT com>

--------------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 AT nortelnetworks DOT 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 AT nortelnetworks DOT com
adr;quoted-printable:;;Nortel Networks Technology Centre=0D=0ANorthfields Avenue;Wollongong;NSW;2500;Australia
note;quoted-printable:Not to be confused with benlow AT nortelnetworks DOT 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 AT sourceware DOT cygnus DOT com
--------------967E0E1E1A1547306524914B--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019