[Top][All Lists]

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

Re: [gnugo-devel] Aya

From: aquarius
Subject: Re: [gnugo-devel] Aya
Date: Thu, 29 Apr 2004 12:07:00 +0200
User-agent: Opera7.22/Win32 M2 build 3221


on Thu, 29 Apr 2004 Gunnar wrote:

Now there is an annoyance with Wine when running in GTP mode. When
starting it writes "Invoking /usr/lib/wine/wine.bin -- Aya.exe --mode
gtp ..." to stdout, garbling the first GTP response from Aya.

A possible workaround for the problem above is to modify line 145 of
twogtp.pike to say

            protocol_version = answer[0] ? 2 : (int) answer[1];

Why not simply send the very first GTP command twice instead and throw away
it's response. This way you could get rid of any 'garbage' in the GTP-stream
coming from misrouted copyright notes etc. :)

This would improve robustness for any GTP Program IMHO.

Happy go - ing

reply via email to

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