This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Ctrl-Z hang


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]