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

2020-01-27 Thread Corinna Vinschen
On Jan 27 13:22, Takashi Yano wrote: > On Mon, 27 Jan 2020 11:38:22 +0900 > Takashi Yano wrote: > > On Sun, 26 Jan 2020 22:33:19 +0900 > > Takashi Yano wrote: > > > On Sat, 25 Jan 2020 20:38:37 +0900 > > > Takashi Yano wrote: > > > > On Fri, 24 Jan 2020 12:07:30 +0100 > > > > Corinna Vinschen

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

2020-01-26 Thread Takashi Yano
On Mon, 27 Jan 2020 11:38:22 +0900 Takashi Yano wrote: > On Sun, 26 Jan 2020 22:33:19 +0900 > Takashi Yano wrote: > > On Sat, 25 Jan 2020 20:38:37 +0900 > > Takashi Yano wrote: > > > On Fri, 24 Jan 2020 12:07:30 +0100 > > > Corinna Vinschen wrote: > > > > Too bad. It's pretty strange that

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

2020-01-26 Thread Takashi Yano
On Sun, 26 Jan 2020 22:33:19 +0900 Takashi Yano wrote: > On Sat, 25 Jan 2020 20:38:37 +0900 > Takashi Yano wrote: > > On Fri, 24 Jan 2020 12:07:30 +0100 > > Corinna Vinschen wrote: > > > Too bad. It's pretty strange that CreatePseudoConsole returns a > > > valid HPCON but then isn't ready to take

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

2020-01-26 Thread Takashi Yano
Hi Corinna, On Sat, 25 Jan 2020 20:38:37 +0900 Takashi Yano wrote: > On Fri, 24 Jan 2020 12:07:30 +0100 > Corinna Vinschen wrote: > > Too bad. It's pretty strange that CreatePseudoConsole returns a > > valid HPCON but then isn't ready to take input immediately. > > > > > I do not come up with

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

2020-01-25 Thread Takashi Yano
Hi Corinna, On Fri, 24 Jan 2020 12:07:30 +0100 Corinna Vinschen wrote: > Too bad. It's pretty strange that CreatePseudoConsole returns a > valid HPCON but then isn't ready to take input immediately. > > > I do not come up with other implementation so far. > > > > Let me consider a while. > >

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

2020-01-24 Thread Corinna Vinschen
On Jan 23 23:16, Takashi Yano wrote: > On Thu, 23 Jan 2020 13:51:54 +0100 > Corinna Vinschen wrote: > > On Jan 23 13:30, Takashi Yano wrote: > > > - After commit 6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62, outputs of > > > cygwin programs which call both printf() and WriteConsole() are > > >

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

2020-01-23 Thread Takashi Yano
On Thu, 23 Jan 2020 13:51:54 +0100 Corinna Vinschen wrote: > On Jan 23 13:30, Takashi Yano wrote: > > - After commit 6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62, outputs of > > cygwin programs which call both printf() and WriteConsole() are > > frequently distorted. This patch reverts waiting

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

2020-01-23 Thread Koichi Murase
2020年1月23日(木) 22:00 Takashi Yano : > Is there any process alived using diffrent version of cygwin1.dll? Ah, you were right! Actually there were no *real* processes remained (Otherwise I could not have overwritten cygwin1.dll, I think), but I remembered that there is a remaining *fake entry* in

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

2020-01-23 Thread Takashi Yano
On Thu, 23 Jan 2020 13:51:54 +0100 Corinna Vinschen wrote: > On Jan 23 13:30, Takashi Yano wrote: > > - After commit 6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62, outputs of > > cygwin programs which call both printf() and WriteConsole() are > > frequently distorted. This patch reverts waiting

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

2020-01-23 Thread Takashi Yano
On Thu, 23 Jan 2020 21:39:50 +0800 Koichi Murase wrote: > 0 [main] () shared_info::initialize: size of shared > memory region changed from 50104 to 49080 Is there any process alived using diffrent version of cygwin1.dll? -- Takashi Yano

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

2020-01-23 Thread Koichi Murase
2020年1月23日(木) 21:39 Koichi Murase : > > On Jan 23 13:30, Takashi Yano wrote: > > > - After commit 6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62, outputs of > > > cygwin programs which call both printf() and WriteConsole() are > > > frequently distorted. This patch reverts waiting function to dumb >

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

2020-01-23 Thread Koichi Murase
> On Jan 23 13:30, Takashi Yano wrote: > > - After commit 6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62, outputs of > > cygwin programs which call both printf() and WriteConsole() are > > frequently distorted. This patch reverts waiting function to dumb > > Sleep(). Hi, I have a question

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

2020-01-23 Thread Corinna Vinschen
On Jan 23 13:30, Takashi Yano wrote: > - After commit 6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62, outputs of > cygwin programs which call both printf() and WriteConsole() are > frequently distorted. This patch reverts waiting function to dumb > Sleep(). I understand the need for this change,

[PATCH v2] Cygwin: pty: Revise code waiting for forwarding again.

2020-01-22 Thread Takashi Yano
- After commit 6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62, outputs of cygwin programs which call both printf() and WriteConsole() are frequently distorted. This patch reverts waiting function to dumb Sleep(). --- winsup/cygwin/fhandler_tty.cc | 30 +++---