XBoard / WinBoard 4.6.0 released

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

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

Re: XBoard / WinBoard 4.6.0 released

Post by hgm »

Michel wrote:I must say I don't really see why the switch to sliding selection was necessary or desirable. A context menu seems to be a lot more flexible for presenting things to the user.
The context menu does not contain all pieces. In addition it requires the names of the pieces to be presented in text form, which is a pain, because the same piece can be known under different names. (And translation is required.) The sweep-selction also is an automatic guard against setting up pieces that do not belong in the variant.

I guess it would indeed be better to print the message "click clock to clear board or set side" in the message field when editing.

It seems I forgot to mention this change in the 4.6.0 What's New file. :oops:
Last edited by hgm on Tue Mar 13, 2012 11:19 am, edited 1 time in total.
stevenaaus
Posts: 608
Joined: Wed Oct 13, 2010 9:44 am
Location: Australia

Re: XBoard / WinBoard 4.6.0 released

Post by stevenaaus »

Linux Mint 10 requires makeinfo too.

Code: Select all

#./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for library containing strerror... none required
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for remsh... no
checking for rsh... rsh
checking for makeinfo... no
Please install "makeinfo"
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: XBoard / WinBoard 4.6.0 released

Post by Max »

zullil wrote:Recursive dependencies:

Code: Select all

~] port echo rdepof:xboard
apr                             
apr-util                        
autoconf                        
automake                        
bzip2                           
curl-ca-bundle                  
cyrus-sasl2                     
db46                            
expat                           
fontconfig                      
freetype                        
gdbm                            
gettext                         
ghostscript                     
glib2                           
gperf                           
groff                           
help2man                        
jasper                          
jbig2dec                        
jbigkit                         
jpeg                            
lcms2                           
libedit                         
libffi                          
libiconv                        
libidn                          
libpaper                        
libpng                          
libtool                         
libxml2                         
m4                              
ncurses                         
ncursesw                        
neon                            
netpbm                          
openssl                         
p5.12-locale-gettext            
perl5                           
perl5.12                        
pkgconfig                       
psutils                         
python27                        
python_select                   
serf1                           
sqlite3                         
subversion                      
texinfo                         
tiff                            
unzip                           
xorg-bigreqsproto               
xorg-inputproto                 
xorg-kbproto                    
xorg-libice                     
xorg-libpthread-stubs           
xorg-libsm                      
xorg-libX11                     
xorg-libXau                     
xorg-libXaw                     
xorg-libxcb                     
xorg-libXdmcp                   
xorg-libXext                    
xorg-libXmu                     
xorg-libXt                      
xorg-util-macros                
xorg-xcb-proto                  
xorg-xcmiscproto                
xorg-xextproto                  
xorg-xf86bigfontproto           
xorg-xproto                     
xorg-xtrans                     
xpm                             
xz                              
zlib                            
Wow ... was pretty lucky needing only 11 of them to install. :wink:

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

Re: XBoard / WinBoard 4.6.0 released

Post by hgm »

stevenaaus wrote:The behaviour seems the same for any entry box anywhere on my old box.

Code: Select all

Core was generated by `xboard'.
Program terminated with signal 6, Aborted.
#0  0xb7749424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7749424 in __kernel_vsyscall ()
#1  0x00c26fa0 in raise () from /lib/libc.so.6
#2  0x00c288b1 in abort () from /lib/libc.so.6
#3  0x00c5debb in __libc_message () from /lib/libc.so.6
#4  0x00ce2ce1 in __chk_fail () from /lib/libc.so.6
#5  0x00ce34bc in __wctomb_chk () from /lib/libc.so.6
#6  0x4bc9b227 in _Xaw_iswalnum () from /usr/lib/libXaw.so.7
#7  0x4bc6e128 in ?? () from /usr/lib/libXaw.so.7
#8  0x4bc85f26 in XawTextSourceScan () from /usr/lib/libXaw.so.7
#9  0x4bc82b70 in _XawTextAlterSelection () from /usr/lib/libXaw.so.7
#10 0x4bc900e3 in ?? () from /usr/lib/libXaw.so.7
#11 0x022f3371 in ?? () from /usr/lib/libXt.so.6
#12 0x022f374a in ?? () from /usr/lib/libXt.so.6
#13 0x022f3d44 in _XtTranslateEvent () from /usr/lib/libXt.so.6
#14 0x022cb615 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#15 0x022cbd9a in ?? () from /usr/lib/libXt.so.6
#16 0x022cac77 in XtDispatchEvent () from /usr/lib/libXt.so.6
#17 0x022cae2c in XtAppMainLoop () from /usr/lib/libXt.so.6
#18 0x080969e8 in main ()
Double click on any section of blank or text is the same. Two single clicks do not suffice. They must be a double click (ie close together).
The calling stack is all Xlib stuff, I don't see any routine written by us in there. But you are in XtTranslateEvent, which probably accesses a string with translations provided by us (in xoptions.c):

Code: Select all

static char *oneLiner  = "<Key>Return&#58;	redraw-display&#40;)\n";
This should only do something on a key press, not on a mouse click, though. There is a small chance that the routine gets upset because there is a tab after "Return:", and no space before the '\n'. Could you replace that tab by a pace, and add the space before '\n', and see if the error persists?
Hmmm - i tried to test inside Linux Mint, but too tough to apt-get makeinfo from inside a chroot, so i'll have to try another day.
Indeed texinfo has always been needed to build XBoard, because the sources for the manual file are in .texi format.
kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

Re: XBoard / WinBoard 4.6.0 released

Post by kinderchocolate »

Where should I Put my custom commands? What if I want the engine issue seek 5 0 games automatically? Thanks.
hgm wrote:
kinderchocolate wrote:Can Xboard be used to connect an UCI engine to FICS? If not, what about other alternatives?
Sure. Just type

xboard -ics -icshost freechess.org -zp -fcp ./ENGINE -fd ENGINEDIR -fUCI -autoKibitz -keepAlive 10

(Do not forget the -zp !) If you have timeseal on your machine you could also add -icshelper timeseal to compensate for network lag. The -keepAlive 10 sends a "date" command every 10 min to circumvent the FICS idle time-out. If yu have an engine that complies to Linux file-system standards (i.e. sits in a folder in your PATH like /usr/games, and knows how to find its own data files), such as fruit, it is enough to do

xboard -ics -icshost freechess.org -zp -fcp fruit -fUCI -autoKibitz -keepAlive 10
User avatar
hgm
Posts: 27837
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: XBoard / WinBoard 4.6.0 released

Post by hgm »

I think XBoard sends a command "gameend" to the ICS after every game, which you can alias to whatever you want in the ICS (e.g. to "seek 5 0").
Richard Allbert
Posts: 792
Joined: Wed Jul 19, 2006 9:58 am

Re: XBoard / WinBoard 4.6.0 released

Post by Richard Allbert »

Fantastic, the TM - especially the concurrent running.

I'll start testing now.

Is it possible to load a random position from an opening file? I didn't see this in the documentation.

many thanks

Richard
Richard Allbert
Posts: 792
Joined: Wed Jul 19, 2006 9:58 am

Re: XBoard / WinBoard 4.6.0 released

Post by Richard Allbert »

My FICS.bat

Code: Select all

winboard /zp /ics /icshost=freechess.org /icsport=5000 /icshelper=timeseal /firstChessProgram="JabbaCS" /firstDirectory="../JabbaCS" /polyglotBook="default_book.bin" /usePolyglotBook=true /firstXBook /fUCI /icslogon=jabbafics.ini /keepAlive 30 /zippyGameEnd "say Thanks for playing!!\nresume\nseek 3 0 f\nseek 1 0 f\nseek 5 0 f\n"
And the jababfics.ini

Code: Select all

JabbaChess
password
set noescape 1
+ch 64
+ch 49
resume
seek 1 0 f
seek 3 0 f
seek 5 0 f
HTH
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: XBoard / WinBoard 4.6.0 released

Post by Michel »

Has there been a change in the way the PV walk feature is supposed to work?

If I right click on a PV line xboard seems to make the first move of the PV and
then the analysis continues after that.

Before, right clicking on the PV displayed the position at the end of the PV.
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: XBoard / WinBoard 4.6.0 released

Post by Michel »

I have a problem loading an engine that is not in the PATH.

I did specify the full path name of the engine (stockfish) in the "Load New Engine" dialog but xboard was unable to start the engine.

I tried the full path on the command line and it worked...