Evert wrote:Doesn't the UCI spec say engines should ignore unknown input? In other words, the engine would not respond at all to xboard/protover.
That seems to be the case, but apparently Stockfish is non-compliant in this respect. I don't know if this is common amongst UCI engines.
The specs are a bit vague on this topic, however; it seems an unknown token is not so much ignored, as well as resetting the parser to its 'start-of-line' state. And ot even that, as it explicitly states that "debug joho on" has an
undefined effect.
I know people are bitching about having options, but I would prefer an option to configure X/WinBoard to use autodetect/cecp/uci by default...
This was certainly my plan, because I of course also have to deal with USI and UCCI engines, which in general are extremely intolerant to anything uncommon, and sending them 'uci' instead of 'usi' is often enough to make them exit immediately. So for distributions where Shogi is configured as the default variant, I would want to switch the auto-detection off.
gbtami wrote:This explains why this bug is there, but the bug is remaining a bug until it's not fixed
Bugs are by defiition unintended behavior, so intended behavior can never be a bug. It is a desig choice. You could of course argue that it is a design flaw. I agree that when auto-detection can be done reliably it would be better to have it. But not everything that can be improved on is automatically a design flaw.