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

Antonio Ceballos <[email protected]> Sun, 15 Nov 2020 09:36:22 +0100
Newsgroups gmane.comp.gnu.chess.bugs
Message-ID <CAO7R9g-UtPLoUfEi0eCjZMsZYuYCVeVmYnAJidMqn7RaDVZHgw@mail.gmail.com>
--000000000000bebebd05b4212803
Content-Type: text/plain; charset="UTF-8"

Hi Frank,

It should work with the latest version of GNU Chess: 6.2.7. If it does not,
I would like
to understand why and fix it.

Let's check that GNU Chess can find the configuration file (gnuchess.ini).

Try to run the program on the command line for an interactive game in ASCII
mode
and enter a move, e.g. 'e4':

gnuchess
(GNU Chess prints a verbose greeting message)
e4

Does the program display an error message like this?

Can't open file "/usr/local/share/gnuchess/gnuchess.ini": No such file or
directory - using defaults

In such a case, you can copy gnuchess.ini to your current directory.

You can also try the above using the xboard flag:

gnuchess --xboard
(GNU Chess prints a short greeting message)
e4

Please let me know what you see.

Regards,
Antonio


On Sat, Nov 14, 2020 at 7:35 PM Fr Ml <[email protected]> wrote:

> Hi Antonio,
>
> thanks.
> Unfortunately this didn't work:
>
> By using:
> xboard -fcp 'gnuchess --xboard'
> GNU Chess don't do anything, even the first move is missed. (Attached
> xboard.debug2)
> by:
> xboard -fcp 'gnuchess'
> I have the old problem: just the first move from black. I've heard that
> downgrading gnuchess to an older version could help.
>
> I must say sometimes XBoard with GNU Chess works. Even with the simple:
> 'xboard' command.
> On 11/14/20 4:55 PM, Antonio Ceballos wrote:
>
> Hi Frank,
>
> Thanks for your report. I think that the problem comes from the way GNU
> Chess is
> invoked.
>
> When you want to run it from XBoard, you must use the --xboard flag. The
> manual
> of GNU Chess (info gnuchess) includes a couple of examples that show how
> to run
> XBoard from the command line specifying GNU Chess as the first chess
> engine.
>
> For instance:
>
> xboard -fcp 'gnuchess --xboard'
>
> If you just simply type
>
> xboard -fcp 'gnuchess'
>
> the interaction between both programs will not work.
>
> The way XBoard invoked GNU Chess can be seen in xboard.debug. You should
> see
> something like:
>
> StartChildProcess (dir=".") gnuchess --xboard
>
> In your attachment, the --xboard flag is missing.
>
> Please let me know if this is of help to solve the problem.
>
> Regards,
> Antonio
>
>
>
> On Sat, Nov 14, 2020 at 2:54 PM Fr Ml <[email protected]> wrote:
>
>> Hello,
>>
>> Xboard 4.9.1 doesn't work with GNU Chess 6.7.2 (archlinux machine).
>> If I'm white, it just makes one move and then after my second move it
>> does nothing.
>> I've asked Xboard ([email protected]) about this problem but they say,
>> it's a GNU Chess problem.
>>
>> So I don't know. Somehow the interaction between the two programs doesn't
>> work?
>>
>> I've attached the debug file:`xboard -debug`
>>
>> Regards
>> Frank
>>
>>
>>

--000000000000bebebd05b4212803
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Hi =
Frank,</div><div class=3D"gmail_default" style=3D"font-size:small"><br></di=
v><div class=3D"gmail_default" style=3D"font-size:small">It should work wit=
h the latest version of GNU Chess: 6.2.7. If it does not, I would like</div=
><div class=3D"gmail_default" style=3D"font-size:small">to understand why a=
nd fix it.<br></div><div class=3D"gmail_default" style=3D"font-size:small">=
<br></div><div class=3D"gmail_default" style=3D"font-size:small">Let&#39;s =
check that GNU Chess can find the configuration file (gnuchess.ini).</div><=
div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">Try to run the program on the =
command line for an interactive game in ASCII mode</div><div class=3D"gmail=
_default" style=3D"font-size:small">and enter a move, e.g. &#39;e4&#39;:<br=
></div><div class=3D"gmail_default" style=3D"font-size:small"><br></div><di=
v class=3D"gmail_default" style=3D"font-size:small"><span style=3D"font-fam=
ily:monospace">gnuchess</span></div><div><div style=3D"font-size:small" cla=
ss=3D"gmail_default"><span style=3D"font-family:monospace">(GNU Chess print=
s a verbose greeting message)</span></div><div style=3D"font-size:small" cl=
ass=3D"gmail_default"><span style=3D"font-family:monospace">e4</span></div>=
<br></div><div><div style=3D"font-size:small" class=3D"gmail_default">Does =
the program display an error message like this?</div><div style=3D"font-siz=
e:small" class=3D"gmail_default"><br></div><div style=3D"font-size:small" c=
lass=3D"gmail_default"><span style=3D"font-family:monospace">Can&#39;t open=
 file &quot;/usr/local/share/gnuchess/gnuchess.ini&quot;: No such file or d=
irectory - using defaults</span></div><div style=3D"font-size:small" class=
=3D"gmail_default"><br></div><div style=3D"font-size:small" class=3D"gmail_=
default">In such a case, you can copy gnuchess.ini to your current director=
y.<br></div></div><div><div style=3D"font-size:small" class=3D"gmail_defaul=
t"><br></div><div style=3D"font-size:small" class=3D"gmail_default">You can=
 also try the above using the xboard flag:</div><div style=3D"font-size:sma=
ll" class=3D"gmail_default"><br></div><div style=3D"font-size:small" class=
=3D"gmail_default"><span style=3D"font-family:monospace">gnuchess --xboard<=
/span></div><div style=3D"font-size:small" class=3D"gmail_default"><span st=
yle=3D"font-family:monospace">(GNU Chess prints a short greeting message)<b=
r></span></div><div style=3D"font-size:small" class=3D"gmail_default"><span=
 style=3D"font-family:monospace">e4</span></div><br></div><div><div style=
=3D"font-size:small" class=3D"gmail_default">Please let me know what you se=
e.</div><div style=3D"font-size:small" class=3D"gmail_default"><br></div><d=
iv style=3D"font-size:small" class=3D"gmail_default">Regards,</div><div sty=
le=3D"font-size:small" class=3D"gmail_default">Antonio</div><div style=3D"f=
ont-size:small" class=3D"gmail_default"></div><br></div></div><br><div clas=
s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Nov 14, 202=
0 at 7:35 PM Fr Ml &lt;<a href=3D"mailto:[email protected]">fr_ml@t-online.=
de</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex=
">
 =20
   =20
   =20
 =20
  <div style=3D"direction:ltr">
    <p>Hi Antonio,<br>
      <br>
      thanks. <br>
      Unfortunately this didn&#39;t work:<br>
    </p>
    <div class=3D"gmail_default" style=3D"font-size:small"><br>
      By using:<br>
    </div>
    <div class=3D"gmail_default" style=3D"font-size:small">xboard -fcp
      &#39;gnuchess --xboard&#39;<br>
      GNU Chess don&#39;t do anything, even the first move is missed.
      (Attached xboard.debug2)<br>
      by:<br>
      xboard -fcp &#39;gnuchess&#39;<br>
      I have the old problem: just the first move from black. I&#39;ve hear=
d
      that downgrading gnuchess to an older version could help.<br>
      <br>
      I must say sometimes XBoard with GNU Chess works. Even with the
      simple: &#39;xboard&#39; command.<br>
    </div>
    <div>On 11/14/20 4:55 PM, Antonio Ceballos
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr">
        <div class=3D"gmail_default" style=3D"font-size:small">Hi Frank,</d=
iv>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">Thanks for
          your report. I think that the problem comes from the way GNU
          Chess is <br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">invoked.</di=
v>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">When you wan=
t
          to run it from XBoard, you must use the --xboard flag. The
          manual</div>
        <div class=3D"gmail_default" style=3D"font-size:small">of GNU Chess
          (info gnuchess) includes a couple of examples that show how to
          run</div>
        <div class=3D"gmail_default" style=3D"font-size:small">XBoard from
          the command line specifying GNU Chess as the first chess
          engine. <br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">For instance=
:</div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">xboard -fcp
          &#39;gnuchess --xboard&#39;</div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">If you just
          simply type</div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">
          <div class=3D"gmail_default" style=3D"font-size:small">xboard -fc=
p
            &#39;gnuchess&#39;</div>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">the
          interaction between both programs will not work.</div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">The way
          XBoard invoked GNU Chess can be seen in xboard.debug. You
          should see</div>
        <div class=3D"gmail_default" style=3D"font-size:small">something
          like:</div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">StartChildPr=
ocess
          (dir=3D&quot;.&quot;) gnuchess --xboard</div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">In your
          attachment, the --xboard flag is missing.</div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">Please let m=
e
          know if this is of help to solve the problem.</div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small">Regards,</di=
v>
        <div class=3D"gmail_default" style=3D"font-size:small">Antonio</div=
>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
        <div class=3D"gmail_default" style=3D"font-size:small"><br>
        </div>
      </div>
      <br>
      <div class=3D"gmail_quote">
        <div dir=3D"ltr" class=3D"gmail_attr">On Sat, Nov 14, 2020 at 2:54
          PM Fr Ml &lt;<a href=3D"mailto:[email protected]" target=3D"_blan=
k">[email protected]</a>&gt; wrote:<br>
        </div>
        <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div style=3D"direction:ltr"> Hello,<br>
            <br>
            Xboard 4.9.1 doesn&#39;t work with GNU Chess 6.7.2 (archlinux
            machine).<br>
            If I&#39;m white, it just makes one move and then after my
            second move it does nothing.<br>
            I&#39;ve asked Xboard (<a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a>)
            about this problem but they say, it&#39;s a GNU Chess problem.<=
br>
            <br>
            So I don&#39;t know. Somehow the interaction between the two
            programs doesn&#39;t work?<br>
            <br>
            I&#39;ve attached the debug file:`xboard -debug`<br>
            <br>
            Regards<br>
            Frank<br>
            <br>
            <div><br>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </div>

</blockquote></div>

--000000000000bebebd05b4212803--