From 68fbef80b4cff5f70326d9c3136ca90ad524fce1 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 14 Sep 2013 11:27:18 +0200 Subject: [PATCH] Fix Linux sigint problem Bonanza does not disable signals, and would thus be killed by XBoard sending SIGINT. The sigint=0 feature now pervents that. --- proce.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/proce.c b/proce.c index 30ccacb..e94c973 100644 --- a/proce.c +++ b/proce.c @@ -173,7 +173,7 @@ Out("# command = '%s'\n", line); Out("feature option=\"centi-Pawn margin -spin 200 0 25000\"\n"); #endif Out("feature variants=\"shogi\" usermove=1 myname=\"Bonanza " BNZ_VER - "\" memory=1 smp=1 debug=1 colors=0 setboard=1 ping=1 done=1\n"); + "\" memory=1 smp=1 debug=1 colors=0 setboard=1 ping=1 sigint=0 done=1\n"); } IF("new") { forceMode = plyNr = 0; SetTimes(); return 0; } IF("easy") { strcpy(line, "ponder off"); return 0; } -- 1.7.0.4