Does anyone know if there's a way to do "softquit" with xboard (in Zippy mode) like icsDrone?
It tells the GUI to quit after the current game.
Also, is it possible to send commands to the engine from another account without password, with a whitelist of handles to accept commands from?
Thanks
xboard softquit
Moderators: hgm, Rebel, chrisw
-
- Posts: 793
- Joined: Sun Aug 03, 2014 4:48 am
- Location: London, UK
xboard softquit
Disclosure: I work for DeepMind on the AlphaZero project, but everything I say here is personal opinion and does not reflect the views of DeepMind / Alphabet.
-
- Posts: 27790
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: xboard softquit
For ICS play I guess you could do that by aliasing "gameend" on the ICS to "logout".matthewlai wrote:Does anyone know if there's a way to do "softquit" with xboard (in Zippy mode) like icsDrone?
It tells the GUI to quit after the current game.
No, but it doesn't even allow you to send commands to the engine in local mode. It only allows you to operate the menus. And not many of the menu items make sense when in zippy mode on an ICS. (Mostly those which just issue an ICS command, like "draw" or "resign", and saving games on a local file.) I think the zippy password allows you to force sending arbitrary commands to the ICS, not the engine.Also, is it possible to send commands to the engine from another account without password, with a whitelist of handles to accept commands from?
And why would a list of empowered accounts be a better solution than a password? I am not sure which application you have in mind.
-
- Posts: 793
- Joined: Sun Aug 03, 2014 4:48 am
- Location: London, UK
Re: xboard softquit
The problem is that I am using zippyGameEnd to send out new seeks, so it's not sending gameend. I suppose I can add gameend as the last command, and if it's not set, I'll just get an error.hgm wrote:For ICS play I guess you could do that by aliasing "gameend" on the ICS to "logout".matthewlai wrote:Does anyone know if there's a way to do "softquit" with xboard (in Zippy mode) like icsDrone?
It tells the GUI to quit after the current game.
Ah sorry I meant to the ICS, not the engine.No, but it doesn't even allow you to send commands to the engine in local mode. It only allows you to operate the menus. And not many of the menu items make sense when in zippy mode on an ICS. (Mostly those which just issue an ICS command, like "draw" or "resign", and saving games on a local file.) I think the zippy password allows you to force sending arbitrary commands to the ICS, not the engine.Also, is it possible to send commands to the engine from another account without password, with a whitelist of handles to accept commands from?
And why would a list of empowered accounts be a better solution than a password? I am not sure which application you have in mind.
Well, the advantage over password is that I wouldn't have to type a password with every command. I guess I can also do that with an alias on my personal account.
Disclosure: I work for DeepMind on the AlphaZero project, but everything I say here is personal opinion and does not reflect the views of DeepMind / Alphabet.
-
- Posts: 27790
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: xboard softquit
Indeed.matthewlai wrote:The problem is that I am using zippyGameEnd to send out new seeks, so it's not sending gameend. I suppose I can add gameend as the last command, and if it's not set, I'll just get an error.
You could take a very short password. Or alias 'x' to "tell Giraffe PASSWORD". Or configure the ICS Text Menu from the XBoard you are watching from to write "xtell Giraffe PASSWORD" in the input field of the ICS Interaction window when you press the corresponding button, and then complete the line with the intended command before you send it.Well, the advantage over password is that I wouldn't have to type a password with every command. I guess I can also do that with an alias on my personal account.
-
- Posts: 793
- Joined: Sun Aug 03, 2014 4:48 am
- Location: London, UK
Re: xboard softquit
That's a good idea. I'll do that.hgm wrote:Indeed.matthewlai wrote:The problem is that I am using zippyGameEnd to send out new seeks, so it's not sending gameend. I suppose I can add gameend as the last command, and if it's not set, I'll just get an error.
You could take a very short password. Or alias 'x' to "tell Giraffe PASSWORD". Or configure the ICS Text Menu from the XBoard you are watching from to write "xtell Giraffe PASSWORD" in the input field of the ICS Interaction window when you press the corresponding button, and then complete the line with the intended command before you send it.Well, the advantage over password is that I wouldn't have to type a password with every command. I guess I can also do that with an alias on my personal account.
Now I can alias something on my account to tell Giraffe to send "alias gameend logout" to ICS so it will softquit!
Then I'll just have to unset gameend in my login file!
I should have learned about aliases way earlier!
Disclosure: I work for DeepMind on the AlphaZero project, but everything I say here is personal opinion and does not reflect the views of DeepMind / Alphabet.