From: H.G.Muller Date: Thu, 30 Oct 2014 09:13:18 +0000 (+0100) Subject: Print feature sigint=0 sigterm=0 X-Git-Tag: v2.0~5 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=f42c4979b50da12a78935d5c442cf1d07479fe03;p=uci2wb.git Print feature sigint=0 sigterm=0 Better to not even let XBoard send the signals we are going to ignore, as this would just waste system resources. --- diff --git a/UCI2WB.c b/UCI2WB.c index 77b671b..a6c229f 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -430,7 +430,7 @@ GUI2Engine() } else if(!strcmp(command, "protover")) { if(!variants) variants = sc=='s' ? "shogi,5x5+5_shogi" : VARIANTS; - printf("feature variants=\"%s\" setboard=1 usermove=1 debug=1 ping=1 reuse=0 exclude=1 pause=1 done=0\n", variants); + printf("feature variants=\"%s\" setboard=1 usermove=1 debug=1 ping=1 reuse=0 exclude=1 pause=1 sigint=0 sigterm=0 done=0\n", variants); printf("feature option=\"UCI2WB debug output -check %d\"\n", debug); fprintf(toE, sc == 'x' ? "ucci\n" : "u%ci\n", sc); fflush(toE); // prompt UCI engine for options Sync(PAUSE); // wait for uciok