Re: [PATCH] Cygwin: pty: Set input_available_event only for cygwin pipe.

2021-01-18 Thread Takashi Yano via Cygwin-patches
On Mon, 18 Jan 2021 16:27:00 +0100 Corinna Vinschen wrote: > On Jan 19 00:00, Takashi Yano via Cygwin-patches wrote: > > Hi Corinna, > > > > On Fri, 15 Jan 2021 18:26:31 +0900 > > Takashi Yano wrote: > > > - cat exits immediately in the following senario. > > > 1) Execute env

Re: [PATCH] Cygwin: pty: Set input_available_event only for cygwin pipe.

2021-01-18 Thread Corinna Vinschen via Cygwin-patches
On Jan 19 00:00, Takashi Yano via Cygwin-patches wrote: > Hi Corinna, > > On Fri, 15 Jan 2021 18:26:31 +0900 > Takashi Yano wrote: > > - cat exits immediately in the following senario. > > 1) Execute env CYGWIN=disable_pcon script > > 2) Execute cmd.exe > > 3) Execute cat in cmd.exe.

Re: [PATCH] Cygwin: pty: Set input_available_event only for cygwin pipe.

2021-01-18 Thread Takashi Yano via Cygwin-patches
Hi Corinna, On Fri, 15 Jan 2021 18:26:31 +0900 Takashi Yano wrote: > - cat exits immediately in the following senario. > 1) Execute env CYGWIN=disable_pcon script > 2) Execute cmd.exe > 3) Execute cat in cmd.exe. > This is caused by setting input_available_event for the pipe for >

[PATCH] Cygwin: pty: Set input_available_event only for cygwin pipe.

2021-01-15 Thread Takashi Yano via Cygwin-patches
- cat exits immediately in the following senario. 1) Execute env CYGWIN=disable_pcon script 2) Execute cmd.exe 3) Execute cat in cmd.exe. This is caused by setting input_available_event for the pipe for non-cygwin app. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc