Closed GoogleCodeExporter closed 8 years ago
Workaround is to use:
'cygstart --hide screen -S mako -d -m'
This starts the screen process from outside of mintty. I can then attach fine,
as the shell did not hang.
Original comment by dvug...@gmail.com
on 10 Jun 2013 at 7:26
There've been various issues with pseudo terminal (pty) layer in the Cygwin
1.7.19 release, which apparently haven't been fully addressed in 1.7.20. Mintty
is based on that pty layer, along with other terminals such as rxvt or xterm,
whereas the Windows console window you get through cygstart is not.
Can you try downgrading to 1.7.18? Rerun setup.exe, click through to the
package selection screen, find the 'cygwin' package, repeatedly click on its
'New' column until you get 1.7.18-1, click through the remaining screens. You
could also try the latest snapshot from http://cygwin.com/snapshots.
Original comment by andy.koppe
on 10 Jun 2013 at 7:44
It still hangs with 1.7.18 using the same steps.
Original comment by dvug...@gmail.com
on 10 Jun 2013 at 8:24
Tried again with a backup of cygwin1.dll from 1.7.15, 1.7.7, and it still locks
up in the same way.
Original comment by dvug...@gmail.com
on 10 Jun 2013 at 8:30
Same problem in the latest 1.7.20 snapshot.
Original comment by dvug...@gmail.com
on 10 Jun 2013 at 8:52
Thanks very much for reporting back, and also for reporting the issue to the
Cygwin mailing list (at http://cygwin.com/ml/cygwin/2013-06/msg00185.html).
I reproduced the issue, but found that xterm and rxvt are equally affected.
Therefore this appears to be due to a longer-standing issue with Cygwin's pty
layer.
Rejecting as not a mintty-specific issue.
Original comment by andy.koppe
on 14 Jun 2013 at 11:50
ps: When normal 'kill' and 'kill -9' don't work, then '/bin/kill -f' will often
still work. This terminates a process directly using the Windows API instead of
going through Cygwin signals. (The full path with '/bin' is usually needed to
avoid the shell's builtin 'kill' command, which doesn't have the -f option.)
Original comment by andy.koppe
on 14 Jun 2013 at 12:07
Original issue reported on code.google.com by
dvug...@gmail.com
on 10 Jun 2013 at 7:14