[PATCH] Cygwin: pty: Correct typos that do not fit the coding style.

2019-09-14 Thread Takashi Yano
--- winsup/cygwin/fhandler_tty.cc | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 5c27510be..5072c6243 100644 --- a/winsup/cygwin/fhandler_tty.cc +++

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

2019-09-14 Thread Takashi Yano
On Sat, 14 Sep 2019 15:29:50 + Ken Brown wrote: > All pushed. Thanks. Thanks. > Do you think there have been enough changes that I should issue another test > release, or do you have more patches in the works? I have submitted three more patches just now. Hopefully, the functional fixes

[PATCH 1/3] Cygwin: pty: Fix bad file descriptor error in some environment.

2019-09-14 Thread Takashi Yano
- The bad file descriptor problem reported in: https://cygwin.com/ml/cygwin-patches/2019-q3/msg00104.html was recurring. Fixed again. --- winsup/cygwin/fhandler_tty.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index

[PATCH 0/3] Some fixes for PTY with pseudo console support (3)

2019-09-14 Thread Takashi Yano
[PATCH 1/3] Fix bad file descriptor error in some environment. The bad file descriptor problem reported in: https://cygwin.com/ml/cygwin-patches/2019-q3/msg00104.html was recurring. Fixed again. [PATCH 2/3] Use system NLS function instead of PTY's own one. Since calling system __loadlocale()

[PATCH 2/3] Cygwin: pty: Use system NLS function instead of PTY's own one.

2019-09-14 Thread Takashi Yano
- Since calling system __loadlocale() caused execution error, PTY used its own NLS function. The cause of the error has been found, the corresponding code has been rewritten using system function. --- winsup/cygwin/fhandler.h | 1 + winsup/cygwin/fhandler_tty.cc | 499

[PATCH 3/3] Cygwin: pty: Change the timing of clearing screen.

2019-09-14 Thread Takashi Yano
- The code which clears screen is moved from reset_switch_to_pcon() to fixup_after_exec() because it seems not too early even at this timing. --- winsup/cygwin/fhandler_tty.cc | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

Re: [PATCH] Cygwin: fix CPU_SET macro visibility

2019-09-14 Thread Ken Brown
On 9/14/2019 12:58 AM, Mark Geisert wrote: > 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. > > --- >

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

2019-09-14 Thread Ken Brown
Hi Takashi, On 9/13/2019 5:52 PM, Takashi Yano wrote: > I submitted five patches during your absence. > > Four of them are for pseudo console support, the other one is for console. > > [PATCH v5 0/1] Cygwin: pty: Fix the behaviour of Ctrl-C in the pseudo console > mode. > [PATCH 0/1] Cygwin:

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

2019-09-14 Thread Ken Brown
On 9/8/2019 8:58 AM, Takashi Yano wrote: > - 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