cliboard released (beta)

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

cliboard released (beta)

Post by jshriver »

I'm releasing my cliboard app to anyone who wants to try it out. It works for my needs and has lots of room for improvement.

It's basically a eng vs eng app that uses the xboard protocol and runs headless/from the cli.

I mainly wrote it because at there was no way of disabling the GUI in xboard when doing matches.

http://olympuschess.com/files/cliboard-1.01.tar.bz2

Right now it only works with Unix'ish system and was developed on Linux. I have plans of eventually doing a windows port.

It has a man page which lists it's features:

* multiple games
* load position from file
* depth
* verbose and debug mode
* save game file as a pgn

If you have any questions feel free to email me at jshriver@gmail.com
-Josh
Last edited by jshriver on Sat Sep 12, 2009 6:45 pm, edited 1 time in total.
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: cliboard released (beta)

Post by jshriver »

Forgot to mention that it's open source and released under the GPL v2 license.

-Josh
User avatar
hgm
Posts: 27808
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: cliboard released (beta)

Post by hgm »

jshriver wrote:I mainly wrote it because at there was no way of disabling the GUI in xboard when doing matches.
Why not run

xboard -noGUI

?
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: cliboard released (beta)

Post by jshriver »

Is that available in newer versions? Tried on 4.2.7 and doesn't appear valid, or is this a winboard only option?

-Josh
User avatar
hgm
Posts: 27808
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: cliboard released (beta)

Post by hgm »

4.2.7 is stone age. It should be available in 4.4.0. both XBoard and WinBoard.
frankp
Posts: 228
Joined: Sun Mar 12, 2006 3:11 pm

Re: cliboard released (beta)

Post by frankp »

hgm wrote:4.2.7 is stone age. It should be available in 4.4.0. both XBoard and WinBoard.
Any advice on how to build it?
I tried the usual ./configure. No joy.

Tried autogen.sh
Got aclocal command not found.
User avatar
hgm
Posts: 27808
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: cliboard released (beta)

Post by hgm »

I is explained in the INSTALL file. You have to start with

./autogen.sh

efore you can do ./configure. This seems to be unusual, ad requires the autotools package to be installed. Sorry aout that. I know nothing about Linux, and our Linux man was not aware that commonly autogen.sh is run before making the distribution tarball.

He promised to make a new tarball as soon has he returned from holiday in response to the feedback we received about this.

If you have an i386 Debian system you can download a binary Deian packae for XBoard 4.4.0 from WinBoard forum.
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: cliboard released (beta)

Post by jshriver »

Nothing fancy just "make" it's only 1 c file so you could manually just do

gcc cliboard.c -o cliboard
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: cliboard released (beta)

Post by jshriver »

Oh you meant xboard. I just installed the 4.4 version.

Do the following:

./autogen.sh
./configure --prefix=/usr (or leave out prefix if you want /usr/local/bin)
make
make install


Note for other Ubuntu or linux users it requires libxaw7 libxaw7-dev and xaw3dg. and texinfo

For debian/ubuntu run this:

sudo apt-get install libxaw7 libxaw7-dev xaw3dg xaw3dg-dev texinfo
frankp
Posts: 228
Joined: Sun Mar 12, 2006 3:11 pm

Re: cliboard released (beta)

Post by frankp »

Thanks, but the problem I have is:

./autogen.sh: line 23: aclocal: command not found