[PATCH v5 0/1] Cygwin: pty: Fix the behaviour of Ctrl-C in the pseudo console mode.
Takashi Yano
takashi.yano@nifty.ne.jp
Sun Sep 8 12:58:00 GMT 2019
- When the I/O pipe is switched to the pseudo console side, the
behaviour of Ctrl-C was unstable. This rarely happens, however,
for example, shell sometimes crashes by Ctrl-C in that situation.
Furthermore, Ctrl-C was ignored if output of non-cygwin program
is redirected to pipe. This patch fixes these issues.
v5:
Add a workaround for piped non-cygwin program.
v4:
Fix the problem 1 and 2 reported in
https://cygwin.com/ml/cygwin-patches/2019-q3/msg00175.html
v3:
Fix mistake in v2.
v2:
Remove the code which accidentally clears ENABLE_ECHO_INPUT flag.
Takashi Yano (1):
Cygwin: pty: Fix the behaviour of Ctrl-C in the pseudo console mode.
winsup/cygwin/fhandler.h | 4 ----
winsup/cygwin/fhandler_tty.cc | 44 +++++++++++++++++++++++++----------
winsup/cygwin/select.cc | 2 +-
winsup/cygwin/spawn.cc | 42 ++++++++++++++-------------------
4 files changed, 50 insertions(+), 42 deletions(-)
--
2.21.0
More information about the Cygwin-patches
mailing list