Re: [PATCH v2 0/1] Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-05 Thread Corinna Vinschen
On Sep 5 09:24, Takashi Yano wrote: > - Pseudo console support introduced by commit > 169d65a5774acc76ce3f3feeedcbae7405aa9b57 shows garbage ^[[H^[[J in > some of emacs screens. These screens do not handle ANSI escape > sequences. Therefore, clear screen is disabled on these screens. > >

Re: [PATCH 0/1] Cygwin: pty: Fix select() with pseudo console support.

2019-09-05 Thread Corinna Vinschen
On Sep 5 13:22, Takashi Yano wrote: > - select() did not work correctly when both read and except are > polled simultaneously for the same fd and the r/w pipe is switched > to pseudo console side. This patch fixes this isseu. > > Takashi Yano (1): > Cygwin: pty: Fix select() with pseudo

Re: [PATCH 1/1] Cygwin: pty: Fix potential state mismatch regarding pseudo console.

2019-09-05 Thread Corinna Vinschen
On Sep 5 19:44, Takashi Yano wrote: > - PTY with pseudo console support sitll has problem which potentially > cause state mismatch between state variable and real console state. > This patch fixes this issue. > --- > winsup/cygwin/dtable.cc | 9 +++-- > 1 file changed, 7 insertions(+), 2

[PATCH 0/1] Cygwin: pty: Make it sure to show up system error messages.

2019-09-05 Thread Takashi Yano
- Forcibly attach to pseudo console in advance so that the error messages by system_printf() is displayed to screen reliably. This is needed when stdout is redirected to another pty. In this case, process has two ptys opened. However, process can attach to only one console. So it is

[PATCH 1/1] Cygwin: pty: Make it sure to show up system error messages.

2019-09-05 Thread Takashi Yano
- Forcibly attach to pseudo console in advance so that the error messages by system_printf() is displayed to screen reliably. This is needed when stdout is redirected to another pty. In this case, process has two ptys opened. However, process can attach to only one console. So it is

Re: [PATCH 0/1] Cygwin: pty: Make it sure to show up system error messages.

2019-09-05 Thread Ken Brown
On 9/5/2019 9:22 AM, Takashi Yano wrote: > - Forcibly attach to pseudo console in advance so that the error >messages by system_printf() is displayed to screen reliably. >This is needed when stdout is redirected to another pty. In this >case, process has two ptys opened. However,

Re: [PATCH 2/2] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-05 Thread Takashi Yano
On Wed, 4 Sep 2019 21:36:28 -0600 Brian Inglis wrote: > So how do you tell the pseudo-console to generate only text not escape > sequences > the recipient may not be prepared to deal with? Unfortunately, no idea. -- Takashi Yano

[PATCH 0/1] Cygwin: pty: Fix potential state mismatch regarding pseudo console.

2019-09-05 Thread Takashi Yano
- PTY with pseudo console support sitll has problem which potentially cause state mismatch between state variable and real console state. This patch fixes this issue. Takashi Yano (1): Cygwin: pty: Fix potential state mismatch regarding pseudo console. winsup/cygwin/dtable.cc | 9

[PATCH 1/1] Cygwin: pty: Fix potential state mismatch regarding pseudo console.

2019-09-05 Thread Takashi Yano
- PTY with pseudo console support sitll has problem which potentially cause state mismatch between state variable and real console state. This patch fixes this issue. --- winsup/cygwin/dtable.cc | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git