Nice! I've used socat with TCP sockets, but I forgot it was so versatile
and can work to connect a pair of pipes to a serial port too.

On Wed, Dec 11, 2024 at 1:24 AM Folkert van Heusden <[email protected]>
wrote:

> Got it working with a script invoking socat.
> Works very well!
>
> > Long long ago, to do something like what you need, I think I used to use
> a
> > little program I called "relay" as the chess engine. It did nothing but
> > relay bytes from the pipes that xboard created to talk to it, to and from
> > something else, like a serial port. I think the implementation was just a
> > shell script that started two instances of "cat -u" or the like.
> >
> >
> > On Tue, Dec 10, 2024 at 1:28???AM Folkert van Heusden <
> [email protected]>
> > wrote:
> >
> > > > TL;DR: xboard -fUCI -icscomm /dev/ttyUSB0 fails with a "POLYGLOT:
> > > > uci_open(): Not a UCI engine.".
> > >
> > > Never mind: I just realised icscom is for talking to ICS servers, not
> > > for generic chess programs.
>

Reply via email to