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.
Last edited by hgm on Tue Mar 13, 2012 11:19 am, edited 1 time in total.
#./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"
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):
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.
(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