Author: Jason Williamson
Date: 13:03:30 04/17/01
Go up one level in this thread
On April 16, 2001 at 17:46:18, Dieter Buerssner wrote: >I have never tried this, but I had remembered reading the following from the >faq.htm of the Xboard/Winboard distribution. I have suggested this to an >operator on FICS, who had problems with disconnections (not because of auto >logout), and he told, that it seems to work fine. > >Good luck, >Dieter > >[B.23] Can I get Zippy to automatically reconnect to ICS when its connection >breaks? >There isn't a perfect solution to this problem yet, but a pretty good one is to >write a shell script (for xboard) or .bat script (for WinBoard) that >automatically restarts the program whenever it exits. Use the -xexit flag so >that you don't get a popup dialog that must be dismissed with the OK button >before the program will exit. The gap in this solution is that your connection >to ICS can sometimes get into a state where the program does not notice that the >connection is broken until the next time it tries to send a command. Perhaps >some future version of xboard/WinBoard will have an option to send a harmless >command every five minutes or so. > >Anyway, here is a sample Windows .bat file that restarts WinBoard each time it >exits. Thanks to Jason Williamson. It assumes that you have put your computer >account's name and password in a file named logon.ini. > >REM -- >REM -- wbrecon.bat >REM -- Start WinBoard in Zippy mode, and restart it each time it exits. >REM -- Add or change parameters as needed for your application. >REM -- >:loop >start /w winboard /zp /ics /icslogon logon.ini /xexit /xautoraise >REM -- The next line is to have a short delay setup for 139 seconds. >TYPE NUL | CHOICE.COM /N /CY /TY,99 >NUL >goto loop > Wee! Hehe the script I put on the Crafty mailing list a couple of years ago is SURE getting around! ;) JW
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.