Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: WinBoard and pondering under W98

Author: frank phillips

Date: 06:43:00 07/29/99

Go up one level in this thread


On July 28, 1999 at 23:20:22, Robert Hyatt wrote:

>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().


Bob

Thanks for the response, but I obviously did not express myself clearly enough.
What you suggest is exactly what I did.  It worked in a DOS box but not with
WinBoard, and I wondered whether it should have worked or if there is something
else I needed to do.

Frank



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.