delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/17/10:03:01

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
Date: Wed, 17 Jan 2001 10:01:26 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Ctrl-Z hang
Message-ID: <20010117100126.A12915@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0101012203240 DOT 5117-100000 AT ccrma-gate DOT stanford DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <Pine.LNX.4.21.0101012203240.5117-100000@ccrma-gate.stanford.edu>; from dattorro@ccrma.stanford.edu on Mon, Jan 01, 2001 at 10:13:01PM -0800

On Mon, Jan 01, 2001 at 10:13:01PM -0800, Jon Dattorro wrote:
>I notice that cygwin hangs permanently when "man <some_command>" is
>invoked and then Ctrl-z (suspended) after viewing a few pages.  This bug
>is intermittent.

This should be fixed in tonight's snapshot.

It was an interesting problem.  I didn't see the problem on my normal
test machine but it failed repeatedly on my laptop.  What was happening
was that a CTRL-Z would send a SIGTSTP to less which would dutifully
process it.  bash would step in and grab the tty back from less and
*sometimes* less would still be in the process of reading from the tty.
This would generate a SIGTTIN,, which would confuse less and cause a
hang.

So, cygwin no longer will send itself a SIGTTIN in this scenario.

It also no longer queues STOP signals which was another problem.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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