Re: xboard 4.9.1 + gnuchess 6.7.2 don't work together

Fr Ml <[email protected]> Sun, 15 Nov 2020 12:03:45 +0100
Newsgroups gmane.comp.gnu.chess.bugs
Message-ID <[email protected]>
<html style="direction: ltr;">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body bidimailui-charset-is-forced="true" style="direction: ltr;">
    <p>Hello Antonio,<br>
    </p>
    <p><br>
    </p>
    <p>in both case I don't get such a message, but in the second case
      it doesn't do anything: I play white and black:<br>
      <br>
      <br>
      ***** $ gnuchess<br>
      GNU Chess 6.2.7<br>
      Copyright (C) 2020 Free Software Foundation, Inc.<br>
      License GPLv3+: GNU GPL version 3 or later
      <a class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html">&lt;http://gnu.org/licenses/gpl.html&gt;</a><br>
      This is free software: you are free to change and redistribute it.<br>
      There is NO WARRANTY, to the extent permitted by law.<br>
      White (1) : e4<br>
      1. e4<br>
      <br>
      black  KQkq  e3<br>
      <br>
      r n b q k b n r <br>
      p p p p p p p p <br>
      . . . . . . . . <br>
      . . . . . . . . <br>
      . . . . P . . . <br>
      . . . . . . . . <br>
      P P P P . P P P <br>
      R N B Q K B N R <br>
       <br>
      Thinking...<br>
      <br>
      white  KQkq  e6<br>
      <br>
      r n b q k b n r <br>
      p p p p . p p p <br>
      . . . . . . . . <br>
      . . . . p . . . <br>
      . . . . P . . . <br>
      . . . . . . . . <br>
      P P P P . P P P <br>
      R N B Q K B N R <br>
       <br>
      <br>
      My move is : e5<br>
      White (2) : <br>
      ----------------------------------------------------------<br>
      ***** $ gnuchess --xboard<br>
      Chess<br>
      e4<br>
      1. e4<br>
      e5<br>
      1. e5 [I did this move]<br>
      d4<br>
      2. d4<br>
      d5<br>
      2. d5 [I dit this move]<br>
      --------------------------------------------------------<br>
      <br>
      Regards, Frank<br>
    </p>
    <div class="moz-cite-prefix">On 11/15/20 9:36 AM, Antonio Ceballos
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAO7R9g-UtPLoUfEi0eCjZMsZYuYCVeVmYnAJidMqn7RaDVZHgw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:small">Hi Frank,</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">It should
          work with the latest version of GNU Chess: 6.2.7. If it does
          not, I would like</div>
        <div class="gmail_default" style="font-size:small">to understand
          why and fix it.<br>
        </div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">Let's check
          that GNU Chess can find the configuration file (gnuchess.ini).</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">Try to run
          the program on the command line for an interactive game in
          ASCII mode</div>
        <div class="gmail_default" style="font-size:small">and enter a
          move, e.g. 'e4':<br>
        </div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small"><span
            style="font-family:monospace">gnuchess</span></div>
        <div>
          <div style="font-size:small" class="gmail_default"><span
              style="font-family:monospace">(GNU Chess prints a verbose
              greeting message)</span></div>
          <div style="font-size:small" class="gmail_default"><span
              style="font-family:monospace">e4</span></div>
          <br>
        </div>
        <div>
          <div style="font-size:small" class="gmail_default">Does the
            program display an error message like this?</div>
          <div style="font-size:small" class="gmail_default"><br>
          </div>
          <div style="font-size:small" class="gmail_default"><span
              style="font-family:monospace">Can't open file
              "/usr/local/share/gnuchess/gnuchess.ini": No such file or
              directory - using defaults</span></div>
          <div style="font-size:small" class="gmail_default"><br>
          </div>
          <div style="font-size:small" class="gmail_default">In such a
            case, you can copy gnuchess.ini to your current directory.<br>
          </div>
        </div>
        <div>
          <div style="font-size:small" class="gmail_default"><br>
          </div>
          <div style="font-size:small" class="gmail_default">You can
            also try the above using the xboard flag:</div>
          <div style="font-size:small" class="gmail_default"><br>
          </div>
          <div style="font-size:small" class="gmail_default"><span
              style="font-family:monospace">gnuchess --xboard</span></div>
          <div style="font-size:small" class="gmail_default"><span
              style="font-family:monospace">(GNU Chess prints a short
              greeting message)<br>
            </span></div>
          <div style="font-size:small" class="gmail_default"><span
              style="font-family:monospace">e4</span></div>
          <br>
        </div>
        <div>
          <div style="font-size:small" class="gmail_default">Please let
            me know what you see.</div>
          <div style="font-size:small" class="gmail_default"><br>
          </div>
          <div style="font-size:small" class="gmail_default">Regards,</div>
          <div style="font-size:small" class="gmail_default">Antonio</div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sat, Nov 14, 2020 at 7:35
          PM Fr Ml &lt;<a href="mailto:[email protected]"
            moz-do-not-send="true">[email protected]</a>&gt; wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style="direction:ltr">
            <p>Hi Antonio,<br>
              <br>
              thanks. <br>
              Unfortunately this didn't work:<br>
            </p>
            <div class="gmail_default" style="font-size:small"><br>
              By using:<br>
            </div>
            <div class="gmail_default" style="font-size:small">xboard
              -fcp 'gnuchess --xboard'<br>
              GNU Chess don't do anything, even the first move is
              missed. (Attached xboard.debug2)<br>
              by:<br>
              xboard -fcp 'gnuchess'<br>
              I have the old problem: just the first move from black.
              I've heard that downgrading gnuchess to an older version
              could help.<br>
              <br>
              I must say sometimes XBoard with GNU Chess works. Even
              with the simple: 'xboard' command.<br>
            </div>
            <div>On 11/14/20 4:55 PM, Antonio Ceballos wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div class="gmail_default" style="font-size:small">Hi
                  Frank,</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">Thanks
                  for your report. I think that the problem comes from
                  the way GNU Chess is <br>
                </div>
                <div class="gmail_default" style="font-size:small">invoked.</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">When
                  you want to run it from XBoard, you must use the
                  --xboard flag. The manual</div>
                <div class="gmail_default" style="font-size:small">of
                  GNU Chess (info gnuchess) includes a couple of
                  examples that show how to run</div>
                <div class="gmail_default" style="font-size:small">XBoard
                  from the command line specifying GNU Chess as the
                  first chess engine. <br>
                </div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">For
                  instance:</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">xboard
                  -fcp 'gnuchess --xboard'</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">If
                  you just simply type</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">
                  <div class="gmail_default" style="font-size:small">xboard
                    -fcp 'gnuchess'</div>
                </div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">the
                  interaction between both programs will not work.</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">The
                  way XBoard invoked GNU Chess can be seen in
                  xboard.debug. You should see</div>
                <div class="gmail_default" style="font-size:small">something
                  like:</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">StartChildProcess
                  (dir=".") gnuchess --xboard</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">In
                  your attachment, the --xboard flag is missing.</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">Please
                  let me know if this is of help to solve the problem.</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small">Regards,</div>
                <div class="gmail_default" style="font-size:small">Antonio</div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
                <div class="gmail_default" style="font-size:small"><br>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Sat, Nov 14, 2020
                  at 2:54 PM Fr Ml &lt;<a
                    href="mailto:[email protected]" target="_blank"
                    moz-do-not-send="true">[email protected]</a>&gt;
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div style="direction:ltr"> Hello,<br>
                    <br>
                    Xboard 4.9.1 doesn't work with GNU Chess 6.7.2
                    (archlinux machine).<br>
                    If I'm white, it just makes one move and then after
                    my second move it does nothing.<br>
                    I've asked Xboard (<a
                      href="mailto:[email protected]" target="_blank"
                      moz-do-not-send="true">[email protected]</a>)
                    about this problem but they say, it's a GNU Chess
                    problem.<br>
                    <br>
                    So I don't know. Somehow the interaction between the
                    two programs doesn't work?<br>
                    <br>
                    I've attached the debug file:`xboard -debug`<br>
                    <br>
                    Regards<br>
                    Frank<br>
                    <br>
                    <div><br>
                    </div>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>