Re: [PATCH v4 0/1] Cygwin: pty: Fix the behaviour of Ctrl-C in the pseudo console mode.

2019-09-08 Thread Takashi Yano
Sorry, revised again. Please apply v5 patch.

On Sat,  7 Sep 2019 14:39:24 +0900
Takashi Yano  wrote:

> - When the I/O pipe is switched to the pseudo console side, the
>   behaviour of Ctrl-C is unstable. This rarely happens, however,
>   for example, shell sometimes crashes by Ctrl-C in that situation.
>   This patch fixes that issue.
> 
> 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 | 33 +--
>  winsup/cygwin/select.cc   |  2 +-
>  winsup/cygwin/spawn.cc| 42 ++-
>  4 files changed, 39 insertions(+), 42 deletions(-)
> 
> -- 
> 2.21.0
> 


-- 
Takashi Yano 


[PATCH v4 0/1] Cygwin: pty: Fix the behaviour of Ctrl-C in the pseudo console mode.

2019-09-06 Thread Takashi Yano
- When the I/O pipe is switched to the pseudo console side, the
  behaviour of Ctrl-C is unstable. This rarely happens, however,
  for example, shell sometimes crashes by Ctrl-C in that situation.
  This patch fixes that issue.

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 | 33 +--
 winsup/cygwin/select.cc   |  2 +-
 winsup/cygwin/spawn.cc| 42 ++-
 4 files changed, 39 insertions(+), 42 deletions(-)

-- 
2.21.0