This is the mail archive of the
mailing list for the Cygwin project.
Re: mintty hangs after SSH disconnect
On 18 August 2010 09:51, Csaba Raduly wrote:
> The following scenario keeps happening more often than I like:
> I open a mintty console with a ssh:
> C:\cygwin17\bin\mintty.exe /bin/bash --login -c "/usr/bin/ssh -Y lablinux1"
> (time passes)
> I set the computer to sleep (the power button is reconfigured to sleep
> instead of shutdown).
> When I come back (usually the next day) and bring the computer back
> up, the SSH connection is lost:
> "Write error: connection reset by peer"
> This is understandable, considering the long time gap with no connection.
> The normal behavior is that after pressing Enter, the mintty window disappears.
> However, sometimes at this point mintty is consuming 100% CPU and has
> to be killed manually.
That's http://code.google.com/p/mintty/issues/detail?id=211, broken
since 0.8-beta1, reported and fixed in svn for 0.8.2 just last night.
Btw, the close button and Alt+F4 should still work inspite of the 100%
CPU. I guess I better also restore the behaviour where any keypress
closes the terminal if the pty has reported EOF.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple