Page 1 of 1
Displaying Information in the status bar
Posted:
22 Nov 2007, 01:33
by BrettVsop
I am not sure what this area is called, but the area on the Winboard Dialog that tells you if there is a checkmate, or shows ponder information. I want my engine to be able to display messages on that bar. Is that possible? Is there a command to do this?
Thanks
Re: Displaying Information in the status bar
Posted:
22 Nov 2007, 16:28
by H.G.Muller
You can disguise your message as normal engine output. The PV moves are written there without any interpretation. Works only if you enable the option "show thinking", and if it is the engines turn to move.
Re: Displaying Information in the status bar
Posted:
22 Nov 2007, 19:24
by BrettVsop
I need to do it when it is the players turn to move. I think I will need to modify the source to do this.
Re: Displaying Information in the status bar
Posted:
22 Nov 2007, 23:14
by H.G.Muller
I am not sure how WinBoard behaves if the engine is Pondering in a Human vs. engine game. With engine vs. engine, it has to choose between the engines, and only prints the output of the one that has the move. But the Human causes no output even if he has the move, so there really is no need to suppress the engine ponder output.
The official mechganism for this is to use the 'telluser' command. You then get a popup box with the text. If the same engine gives a new 'telluser', the old box disappears, and a new one appears.
Re: Displaying Information in the status bar
Posted:
27 Nov 2007, 18:25
by BrettVsop
The telluser sounds better, but it disappears once the user clicks on a piece. Is it supposed to do that?