A CECG chess GUI (e.g. xboard) can control the engine output with the commands "post" and "nopost".
Now I have two questions:
1) When the engine didn't receive neither "post" nor "nopost" (.e.g. from command line), what is the expected engine behaviour? Post or NoPost?
2) What is the corresponding UCI command? With "info" the information is sent to GUI, but how can one control this output (switch on/off)?
OliverBr wrote: ↑Mon Sep 28, 2020 5:46 pm
2) What is the corresponding UCI command?
There is no corresponding UCI command because it wouldn't make sense. CECP is a mixture between interactive terminal mode and engine-GUI protocol, and switching off the output is only useful for interactive terminal play.
UCI on the other hand is designed as pure GUI interface protocol and not suited for interactive terminal play. If the user doesn't want to see the engine output, it's the GUI's job not to display it. That's the correct design for a pure engine-GUI protocol because the engine should not be concerned with the presentation layer.