- Following console APIs are additionally hooked for cygwin programs
which directly call them.
* FillConsoleOutputAttribute()
* FillConsoleOutputCharacterA()
* FillConsoleOutputCharacterW()
* ScrollConsoleScreenBufferA()
* ScrollConsoleScreenBufferW()
---
winsup/cygwin/fhandler_tty.cc
- 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 +++---
winsup/cygwin/
On 1/20/2020 4:35 AM, Corinna Vinschen wrote:
> On Jan 19 20:25, Ken Brown wrote:
>> On 1/17/2020 4:51 AM, Corinna Vinschen wrote:
>>> On Jan 17 10:48, Corinna Vinschen wrote:
On Jan 16 18:34, Ken Brown wrote:
> If that flag is not set, or if an attempt is made to open a different
> ty
- 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 +++---
winsup/cygwin/
On Thu, 23 Jan 2020 01:00:11 +0900
Takashi Yano wrote:
> /* Test code */
> #include
> #include
>
> int main()
> {
> DWORD n;
> printf("\n");
> WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE), "\r\n", 6, &n, 0);
> return 0;
> }
The problem occurs when the code above is compi
Hi Corinna,
On Tue, 21 Jan 2020 10:37:35 +0100
Corinna Vinschen wrote:
> 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 ma
On Jan 21 22:25, Takashi Yano wrote:
> - 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.
Pushed. I just fixed a missing in the doc text.
Thanks,
Corinna
--
Cor
On Jan 21 23:41, Takashi Yano wrote:
> - 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
>