Is there anywhere such a tool?
Miguel
InBetween for Linux
Moderators: hgm, Rebel, chrisw
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
-
- Posts: 484
- Joined: Wed Nov 18, 2009 1:09 am
Re: InBetween for Linux
Please describe in more detail exactly what you are looking for.michiguel wrote:Is there anywhere such a tool?
Miguel
-
- Posts: 12540
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: InBetween for Linux
InBetween is an API capture tool to collect the conversation between a chess engine and the GUI.mhalstern wrote:Please describe in more detail exactly what you are looking for.michiguel wrote:Is there anywhere such a tool?
Miguel
-
- Posts: 27790
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: InBetween for Linux
Not so much collect, as well perform substitutions in it, based on a config file that lists which words in the communication should be substituted by which others.
It is mainy used to solve problems with non-compliant engines, by putting it between GUI and engine.
It is mainy used to solve problems with non-compliant engines, by putting it between GUI and engine.
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: InBetween for Linux
Actually both are right. According to the documentation it can log the communication between the the GUI and the engine if it is desired. In fact, I may like to use it for that purpose. I need it in Windows to track problems between Gaviota and GUIs like aquarium and chessmaster that were reported not to work, but I like to use tools that are available also in Linux.hgm wrote:Not so much collect, as well perform substitutions in it, based on a config file that lists which words in the communication should be substituted by which others.
It is mainy used to solve problems with non-compliant engines, by putting it between GUI and engine.
Miguel
-
- Posts: 27790
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: InBetween for Linux
Using a two-way tee could serve that purpose, not? Run
tee gui2engine | engine | tee engine2gui
in stead of the bare engine. Or does that give problems with buffering?
One off-topic question: during CCT you mentioned the benign XBoard bug, of the error diaog not reacting to the OK button. Are you sure that this was not because there is _another_ error dialog behind it, which has somehow grabbed the mouse? When this happens again, could you just move away the non-responding dialog window, rather than closig it, to see if there is anything behind it?
tee gui2engine | engine | tee engine2gui
in stead of the bare engine. Or does that give problems with buffering?
One off-topic question: during CCT you mentioned the benign XBoard bug, of the error diaog not reacting to the OK button. Are you sure that this was not because there is _another_ error dialog behind it, which has somehow grabbed the mouse? When this happens again, could you just move away the non-responding dialog window, rather than closig it, to see if there is anything behind it?
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: InBetween for Linux
I will take a look. Otherwise, in the future I may hack you micromax2wb adapter that seems to me simple to modify.hgm wrote:Using a two-way tee could serve that purpose, not? Run
tee gui2engine | engine | tee engine2gui
in stead of the bare engine. Or does that give problems with buffering?
I just tried and the problem remains even after moving the dialog.
One off-topic question: during CCT you mentioned the benign XBoard bug, of the error diaog not reacting to the OK button. Are you sure that this was not because there is _another_ error dialog behind it, which has somehow grabbed the mouse? When this happens again, could you just move away the non-responding dialog window, rather than closig it, to see if there is anything behind it?
Miguel
-
- Posts: 640
- Joined: Sat Jun 08, 2013 10:07 am
- Location: France
- Full name: Roland Chastain
Re: InBetween for Linux
Hello! Sorry to restart an old discussion, but I tried that trick and it works!
I created a file named spy with this content,
Code: Select all
tee gui2engine.txt | ./cheng4_linux_x64 | tee engine2gui.txt
Best regards.
Roland
Qui trop embrasse mal étreint.