Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: WinBoard and pondering under W98

Author: Robert Hyatt

Date: 20:20:22 07/28/99

Go up one level in this thread


On July 28, 1999 at 16:16:56, Frank Phillips wrote:

>
>I had hoped that testing for input during pondering would be as simple as
>copying the Inter()/CheckInput() code from ExChess/Crafty, but I seem to be
>missing something.
>
>Everything works fine in a non-xboard mode DOS box (simple kbhit()), but my
>program (called Searcher by the way) has stopped recognising input from
>WinBoard.
>
>In xboard mode I set setbuf(stdin, NULL) and signal(SIGINT, SIG_IGN).
>
>Any help or hints would be greatly appreciated, although I should point out that
>I know nothing about Pipes and so forth.
>
>Frank


Simply copy the CheckInput() function from Crafty.  In a dos box, kbhit() is
ok.  With winboard, you need PeekNamedPipe().



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.