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

Antonio Ceballos <[email protected]> Sat, 14 Nov 2020 16:55:51 +0100
Newsgroups gmane.comp.gnu.chess.bugs
Message-ID <CAO7R9g_tZs2-AdUZz+hxy_WnQ90kDwnd4z6mUtiDcof6ahXs6g@mail.gmail.com>
--0000000000009d5d8205b4132ef8
Content-Type: text/plain; charset="UTF-8"

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
>
>
>

--0000000000009d5d8205b4132ef8
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">Thanks for your re=
port. I think that the problem comes from the way GNU Chess is <br></div><d=
iv class=3D"gmail_default" style=3D"font-size:small">invoked.</div><div cla=
ss=3D"gmail_default" style=3D"font-size:small"><br></div><div class=3D"gmai=
l_default" style=3D"font-size:small">When you want to run it from XBoard, y=
ou 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 o=
f 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 f=
irst chess engine. <br></div><div class=3D"gmail_default" style=3D"font-siz=
e:small"><br></div><div class=3D"gmail_default" style=3D"font-size:small">F=
or instance:</div><div class=3D"gmail_default" style=3D"font-size:small"><b=
r></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:smal=
l">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 -fcp &#39;g=
nuchess&#39;</div></div><div class=3D"gmail_default" style=3D"font-size:sma=
ll"><br></div><div class=3D"gmail_default" style=3D"font-size:small">the in=
teraction between both programs will not work.</div><div class=3D"gmail_def=
ault" style=3D"font-size:small"><br></div><div class=3D"gmail_default" styl=
e=3D"font-size:small">The way XBoard invoked GNU Chess can be seen in xboar=
d.debug. You should see</div><div class=3D"gmail_default" style=3D"font-siz=
e:small">something like:</div><div class=3D"gmail_default" style=3D"font-si=
ze:small"><br></div><div class=3D"gmail_default" style=3D"font-size:small">=
StartChildProcess (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 me k=
now if this is of help to solve the problem.</div><div class=3D"gmail_defau=
lt" style=3D"font-size:small"><br></div><div class=3D"gmail_default" style=
=3D"font-size:small">Regards,</div><div class=3D"gmail_default" style=3D"fo=
nt-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"><b=
r></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai=
l_attr">On Sat, Nov 14, 2020 at 2:54 PM Fr Ml &lt;<a href=3D"mailto:fr_ml@t=
-online.de">[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(20=
4,204,204);padding-left:1ex">
 =20

   =20
 =20
  <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]" target=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>

--0000000000009d5d8205b4132ef8--