Geschrieben von:/Posted by: Dann Corbit at 09 July 2004 20:06:34:
Als Antwort auf:/In reply to: Re: a question about Crafty 19.14 DC geschrieben von:/posted by: Slobodan R. Stojanovic at 09 July 2004 19:14:08:
I noted yesterday that Crafty 19.14 DC had worked without "xboard" Command Line Option in Arena GUI. I filled up the empty field, but I haven´t noted any difference.
How was it possible?
Does the missing Command Line Option "xboard" afect the Crafty´s playing strength or not ?
SL.
I don't have "xboard" in the Command Line Option in Arena, but i do have it in the crafty.rc configuration file. I don't know if not having it there would affect Crafty's playing strength, but since having it there surely won't be harmful, why not use it?
Regards
Dave
The problem is that I don´t have "xboard" (I didn´t have it) in my crafty.rc file. How was it possible that Cfarty work without this line ?
The command is set in option.c as follows:
else if (OptionMatch("xboard", *args) || OptionMatch("winboard", *args)) {
if (!xboard) {
signal(SIGINT, SIG_IGN);
xboard = 1;
display_options &= 4095 - 1 - 2 - 4 - 8 - 16 - 32 - 128;
ansi = 0;
printf("\n");
#if defined(SMP)
printf("tellicsnoalias set 1 Crafty v%s (%d cpus)\n", version, Max(1,
max_threads));
printf("tellicsnoalias kibitz Hello from Crafty v%s! (%d cpus)\n",
version, Max(1, max_threads));
#else
printf("tellicsnoalias set 1 Crafty v%s\n", version);
printf("tellicsnoalias kibitz Hello from Crafty v%s!\n", version);
#endif
fflush(stdout);
}
There is the following check in main.c:
if (getenv("CRAFTY_XBOARD")) {
Print(4095, "feature done=0\n");
done = 0;
} else if (argc > 1 && !strcmp(argv[1], "xboard")) {
Print(4095, "feature done=0\n");
done = 0;
}
Crafty will still understand xboard commands without setting xboard, but display stuff will be a little different. Also, since initialization can take some time (especially with lots of tablebase files) it is possible for crafty to miss the initial command sequences if xboard is not specified.
my ftp site {remove http:// unless you like error messages}