Wait for uciok before handling GUI input
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 17 Apr 2012 18:09:56 +0000 (20:09 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Tue, 17 Apr 2012 18:09:56 +0000 (20:09 +0200)
commitbb98ac73064aee6dcae34c236e466abf4b5dd6a3
tree399a547990013ae29f56873bb1718c90f314119e
parent70a30c0a0c9a43de477a13a75e8f9d5c05762afc
Wait for uciok before handling GUI input

WinBoard does not apply a feature timeout when restarting an engine that
had reuse=0, but immediately starts sending commands. This caused the
memory command to be ignored, because it arrived when UCI2WB had not seen
the engine's Hash option yet. Now UCI2WB stalls processing GUI commands
after receiving 'protover' until it sees 'uciok' from the engine.
UCI2WB.c