Small and easy suggestion.

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Small and easy suggestion.

Postby Miguel A. Ballicora » 28 Nov 2009, 14:54

I think it would be nice if xboard (and winboard) could output after
xboard -v
at least this:
xboard 4.4.1
Most programs display some version information with the switch -v.
With that, I could write some scripts and programmatically incorporate the version number that I am using in reports or, for instance, in the finger notes of ICC, FICS, or your server.

Miguel
User avatar
Miguel A. Ballicora
 
Posts: 160
Joined: 03 Aug 2005, 02:24
Location: Chicago, IL, USA

Re: Small and easy suggestion.

Postby H.G.Muller » 28 Nov 2009, 23:28

Done!

It does not work under WinBoard, though. (It accepts the option, but stdout is not open in WinBoard.) The alpha version now on my website has it. (Also improved the layout of the Engine #N Settings dialogs a little, cosmetically.)
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Small and easy suggestion.

Postby Miguel A. Ballicora » 29 Nov 2009, 20:58

H.G.Muller wrote:Done!

It does not work under WinBoard, though. (It accepts the option, but stdout is not open in WinBoard.) The alpha version now on my website has it. (Also improved the layout of the Engine #N Settings dialogs a little, cosmetically.)


Great!

These are my finger notes

Code: Select all
 1: Gaviota v0.74.17 by FM Miguel A. Ballicora (Argentina)
 2: http://sites.google.com/site/gaviotachessengine/
 3: Interface: xboard version 4.20091127
 4: OS: GNU/Linux Ubuntu 9.04 (32 bits)
 5: Hardware: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
 6: Cores used: 2
 7: Location: Chicago, IL, USA
 8: Unattended most of the time
 9: Accepts all unrated challenges


Generated with (a fragment of my ruby script that calls xboard)

Code: Select all
logon_string = $account + "\n" + $password+ "
set open 0
set 1 "+get_ver($engine)+" by "+$author+"
set 2 "+$website+"
set 3 Interface: "+get_ver($xboardexe)+"
set 4 OS: " +get_distribution+ "
set 5 Hardware: "+get_cpu+"
set 6 Cores used: "+$cores+"
set 7 Location: "+$location+"
set 8 Unattended most of the time
set 9 Accepts all unrated challenges
"


Miguel
User avatar
Miguel A. Ballicora
 
Posts: 160
Joined: 03 Aug 2005, 02:24
Location: Chicago, IL, USA


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 36 guests