Computer Chess Club Archives


Search

Terms

Messages

Subject: Problem with Beowulf Analyze Mode Fixed (at last)

Author: Colin Frayn

Date: 10:27:05 02/08/02


I found the bug with the broken analysis mode in Beowulf.  basically there were
two problems;

(1) For some reason fgets() was screwing up.  I've replaced this with a more
general file read from stdin which seems to work.
(2) This is the best one - I was using the MSC _kbhit() macro in the Bioskey
function in order to determine if a key had been pressed.  Now this worked fine
in DOS, but of course in Winboard mode the STDIN buffer would fill up without a
single key being pressed, and hence it would not get parsed. ;)

D'oh.

Of course, this meant the Beowulf was completely ignoring the commands from the
engine to abort the analysis and quit, and was just chugging along nicely in the
background.

Anyway, analyze is now working fine, including undo, new, play a move etc...
I'll not bother releasing a bugfix version as it's only a small feature, but
rest assured that it will all work like clockwork in the next version, which
I'll release in maybe a month to 6 weeks.

Cheers,
Col



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.