From fb2de76e6b8fba98c76ec4b7b7721a7efc608308 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 2 May 2013 22:47:44 +0200 Subject: [PATCH] Update zippy.README It is explained how to generate multi-line commands for -zipyGameEnd. --- zippy.README | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/zippy.README b/zippy.README index f718239..20836f0 100644 --- a/zippy.README +++ b/zippy.README @@ -223,9 +223,12 @@ NEW OPTIONS does not work. Instead, use the -zippyGameEnd option to have a string of several commands sent, with newlines in between. For example, you could give WinBoard the command line option - -zippyGameEnd='say thanks\nseek 5 0\nseek 2 12\n' - You could give xboard the command line option - -xrm '*zippyGameEnd: say thanks\nseek 5 0\nseek 2 12\n' + -zippyGameEnd=\"say thanks\\nseek 5 0\\nseek 2 12\\n\" + Note the extra backslashes: these are essential, because the + shell will strip them from the command before passing it to + XBoard, and XBoard needs to see the quotes (which would + otherwise be stripped by the shell as well), because only within + quotes it will recognize the \n as a linefeed. -zippyAdjourn True/False or -zadj/-xzadj Zippy will allow its opponent to adjourn if this option is -- 1.7.0.4