Displaying Information in the status bar

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Displaying Information in the status bar

Postby BrettVsop » 22 Nov 2007, 01:33

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
BrettVsop
 
Posts: 50
Joined: 04 Nov 2007, 18:32

Re: Displaying Information in the status bar

Postby H.G.Muller » 22 Nov 2007, 16:28

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.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Displaying Information in the status bar

Postby BrettVsop » 22 Nov 2007, 19:24

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.
BrettVsop
 
Posts: 50
Joined: 04 Nov 2007, 18:32

Re: Displaying Information in the status bar

Postby H.G.Muller » 22 Nov 2007, 23:14

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.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Displaying Information in the status bar

Postby BrettVsop » 27 Nov 2007, 18:25

The telluser sounds better, but it disappears once the user clicks on a piece. Is it supposed to do that?
BrettVsop
 
Posts: 50
Joined: 04 Nov 2007, 18:32


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 26 guests