[PATCH] Cygwin: pty: Fix reopening slave in push_to_pcon_screenbuffer().

2020-01-21 Thread Takashi Yano
- For programs compiled with -mwindows option, reopening slave is needed in push_to_pcon_screenbuffer(), however, it was not at appropriate place. This causes the problem reported in https://www.cygwin.com/ml/cygwin/2020-01/msg00161.html. This patch fixes the issue. --- winsup/cygwin/fhand

[PATCH v2] Cygwin: pty: Introduce disable_pcon in environment CYGWIN.

2020-01-21 Thread Takashi Yano
- For programs which does not work properly with pseudo console, disable_pcon in environment CYGWIN is introduced. If disable_pcon is set, pseudo console support is disabled. --- winsup/cygwin/environ.cc | 1 + winsup/cygwin/fhandler_tty.cc | 2 ++ winsup/cygwin/globals.cc | 1 + win

Re: [PATCH] Cygwin: pty: Introduce disable_pcon in environment CYGWIN.

2020-01-21 Thread Takashi Yano
On Mon, 20 Jan 2020 14:58:52 + Ken Brown wrote: > [Adding the cgdb maintainer to the CC.] > > On 1/20/2020 9:18 AM, Jon Turney wrote: > > On 20/01/2020 12:41, Takashi Yano wrote: > >> Hi Corinna, > >> > >> On Mon, 20 Jan 2020 11:06:46 +0100 > >> Corinna Vinschen wrote: > >>> On Jan 20 11:50, T

Re: [PATCH v2] Cygwin: pty: Revise code waiting for forwarding by master_fwd_thread.

2020-01-21 Thread Corinna Vinschen
On Jan 21 11:22, Takashi Yano wrote: > - Though this rarely happens, sometimes the first printing of non- > cygwin process does not displayed correctly. To fix this issue, > the code for waiting for forwarding by master_fwd_thread is revised. Looks good. Pushed. Thanks, Corinna -- Corinna