gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] no line buffering on stdout for ascii and gtp mode.


From: Arend Bayer
Subject: Re: [gnugo-devel] no line buffering on stdout for ascii and gtp mode.
Date: Tue, 19 Aug 2003 19:57:51 +0200 (CEST)

On Wed, 13 Aug 2003, Teun Burgers wrote:

> Current CVS does not display a prompt when expected
> in both gtp and ascii mode, for both cygwin and mingw.
> The prompt only comes after commands have been entered.
> I suspect this is because the prompt does not contain a newline and
> hence linebuffering does not display the prompt.
>
> For ascii mode this is fixed by setting buffering
> to _IONBF. For gtp mode this does not help.

GTP mode does not have a prompt. So I suggest to use only the play_ascii.c
part of your patch.

Why did we ever introduce line buffering for ASCII mode?

Arend

> - No buffering on stdout in ascii and gtp mode.
>
> Teun





reply via email to

[Prev in Thread] Current Thread [Next in Thread]