From c0f427f1ea412d14eac9f7282694a801ecd16f94 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 e385b91..58b8cd4 100644 --- a/proce.c +++ b/proce.c @@ -206,7 +206,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