public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Ctrl-Z hang
@ 2001-01-01 22:13 Jon Dattorro
  2001-01-17  7:01 ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Dattorro @ 2001-01-01 22:13 UTC (permalink / raw)
  To: cygwin

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.

Jon

Computer:  Dell Inspiron 5000e laptop under CYGWIN DLL-version 1.1.6
Processor: GenuineIntel Family 6 Model 8 746 MHz Stepping 3
BIOS:      PhoenixBIOS 4.0 Release 6.0, 08/24/00
Memory:    255 MB  (39% Utilized)
Windows:   5.0 (Build 2195) (Windows 2000, Service Pack 1)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ctrl-Z hang
  2001-01-01 22:13 Ctrl-Z hang Jon Dattorro
@ 2001-01-17  7:01 ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2001-01-17  7:01 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-17  7:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-01 22:13 Ctrl-Z hang Jon Dattorro
2001-01-17  7:01 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).