Changed keepAlive. Suggesting it be in next Winboard release
Posted: 17 Sep 2010, 23:53
The current -keepAlive M command will send the date command to fics every M minutes. The purpose is to keep your connection with fics alive.
The problem is the ICS interaction window get's clutters up with date replies.
example:
personA(50): dialog
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
personA(50): dialog
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
personA(50): dialog
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
personB(50): dialog
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Instead of sending the date command to fics every M minutes send a newline '\n'. This keeps the same functionality of keeping your connection alive. The following example is the same scenario as above except with '\n' being sent to ics instead of date. You can see below how much more clear the ICS interaction window is.
example:
personA(50): dialog
personB(50): dialog
fics% fics%
personA(50): dialog
fics%
personB(50): dialog
fics% fics% fics% fics%
line of code to change in backend.c KeepAlive method:
SendToICS("date\n"); to SendToICS("\n");
I have tested and verified that my change works. I would like to submit my change. What are winboard's policies and rules for new developers who want to submit to the repository?
The problem is the ICS interaction window get's clutters up with date replies.
example:
personA(50): dialog
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
personA(50): dialog
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
personA(50): dialog
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
personB(50): dialog
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Local time - Fri Sep 17, 15:45 PDT 2010
Server time - Fri Sep 17, 15:45 PDT 2010
GMT - Fri Sep 17, 22:45 GMT 2010
Instead of sending the date command to fics every M minutes send a newline '\n'. This keeps the same functionality of keeping your connection alive. The following example is the same scenario as above except with '\n' being sent to ics instead of date. You can see below how much more clear the ICS interaction window is.
example:
personA(50): dialog
personB(50): dialog
fics% fics%
personA(50): dialog
fics%
personB(50): dialog
fics% fics% fics% fics%
line of code to change in backend.c KeepAlive method:
SendToICS("date\n"); to SendToICS("\n");
I have tested and verified that my change works. I would like to submit my change. What are winboard's policies and rules for new developers who want to submit to the repository?