This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Windows locks up when pressing Ctrl+S while native process writes to terminal
- From: Thomas Wolff <towo at towo dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 22 Nov 2015 20:17:57 +0100
- Subject: Re: Windows locks up when pressing Ctrl+S while native process writes to terminal
- Authentication-results: sourceware.org; auth=none
- References: <327d-5645b680-191-fbe9680 at 109991231>
Hello,
I found a consistent bug that happens every time:
...
- Press Ctrl+S to stop the output in the terminal
Bug #1: It's not possible to unfreeze the output in the terminal with Ctrl+Q. It just stays "stuck"
I confirm this effect and you don't need a fat application to
demonstrate it. With this Windows cmd script loop.bat:
@echo off
set n=0
:loop
echo %n%
echo %n% >> .log
set /A n=%n% + 1
ping 127.0.0.1 -n 2 > nul
goto loop
run it: ./loop.bat, then use ^S; the script will actually continue to
run but will not show any more output in a pty-based terminal (works in
Cygwin console).
Bug #2: After a few seconds, the disk starts to trash. ...
Thrashing? Might be caused by the apparently-stopped application going
into some endless-loop activity.
Thomas
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple