XBoard: declare feature sigint=0 to avoid getting killed by the GUI.
authorYann Dirson <ydirson@free.fr>
Sun, 9 Feb 2014 21:16:14 +0000 (22:16 +0100)
committerYann Dirson <ydirson@free.fr>
Mon, 17 Feb 2014 22:05:19 +0000 (23:05 +0100)
gnushogi/commondsp.c

index 8fc4b32..c7940e3 100644 (file)
@@ -1634,7 +1634,7 @@ InputCommand(char *command)
         }
         else if (strcmp(s, "protover") == 0)
         {
-            printf("feature myname=\"GNU %sShogi %s\" variants=\"%sshogi\" debug=1 setboard=0 done=1\n",
+            printf("feature myname=\"GNU %sShogi %s\" variants=\"%sshogi\" debug=1 setboard=0 sigint=0 done=1\n",
 #ifdef MINISHOGI
                                        "mini", PACKAGE_VERSION, "5x5+5_"
 #else