[PATCH 0/1] Cygwin: pty: Switch input and output pipes individually.

2019-09-13 Thread Takashi Yano
- Previously, input and output pipes were switched together between the traditional pty and the pseudo console. However, for example, if stdin is redirected to another device, it is better to leave input pipe traditional pty side even for non-cygwin program. This patch realizes such behavio

[PATCH 1/1] Cygwin: pty: Switch input and output pipes individually.

2019-09-13 Thread Takashi Yano
- Previously, input and output pipes were switched together between the traditional pty and the pseudo console. However, for example, if stdin is redirected to another device, it is better to leave input pipe traditional pty side even for non-cygwin program. This patch realizes such behavio

[PATCH 0/1] Cygwin: console: Fix read() in non-canonical mode.

2019-09-13 Thread Takashi Yano
- In non-canonical mode, cygwin console returned only one character even if several keys are typed before read() called. This patch fixes this behaviour. Takashi Yano (1): Cygwin: console: Fix read() in non-canonical mode. winsup/cygwin/fhandler_console.cc | 606 ---

[PATCH 1/1] Cygwin: console: Fix read() in non-canonical mode.

2019-09-13 Thread Takashi Yano
- In non-canonical mode, cygwin console returned only one character even if several keys are typed before read() called. This patch fixes this behaviour. --- winsup/cygwin/fhandler_console.cc | 606 -- 1 file changed, 315 insertions(+), 291 deletions(-) diff --git

[PATCH v2 0/1] Cygwin: pty: Switch input and output pipes individually.

2019-09-13 Thread Takashi Yano
- Previously, input and output pipes were switched together between the traditional pty and the pseudo console. However, for example, if stdin is redirected to another device, it is better to leave input pipe traditional pty side even for non-cygwin program. This patch realizes such behavio

[PATCH v2 1/1] Cygwin: pty: Switch input and output pipes individually.

2019-09-13 Thread Takashi Yano
- Previously, input and output pipes were switched together between the traditional pty and the pseudo console. However, for example, if stdin is redirected to another device, it is better to leave input pipe traditional pty side even for non-cygwin program. This patch realizes such behavio

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

2019-09-13 Thread Takashi Yano
Hi Ken, On Fri, 6 Sep 2019 17:59:02 + Ken Brown wrote: > P.S. I'm leaving tomorrow for a short vacation, so I might not have time to > review any more patches until I return in about a week. I submitted five patches during your absence. Four of them are for pseudo console support, the other

[PATCH] Cygwin: fix CPU_SET macro visibility

2019-09-13 Thread Mark Geisert
The CPU_SET macros defined in Cygwin's include/sys/cpuset.h must not be visible in an application's namespace unless _GNU_SOURCE has been #defined. Internally this means wrapping them in #if __GNU_VISIBLE. --- winsup/cygwin/include/sys/cpuset.h | 3 +++ 1 file changed, 3 insertions(+) diff --gi