Date: Tue, 30 Jan 1996 22:29:19 +0100 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: ports@freebsd.org Subject: Seyon with status label in seconds Message-ID: <199601302129.WAA01357@localhost>
next in thread | raw e-mail | index | archive | help
Old behavoir Hour:Min. New behavoir Hour:Min:Sec, Sec updated in 5 seconds intervals. --- SeSubsX.c Mon Jan 29 01:51:45 1996 +++ /usr2/home/wosch/current/ports/comms/seyon/work/seyon/SeSubsX.c Sun Apr 11 06:54:29 1993 @@ -49,19 +49,6 @@ onlineTime = 0; startTime = time((time_t*)0); } - -/* German Telecom sucks */ -#if 1 - if ((online = oldState[0])) - onlineTime = (time((time_t*)0) - startTime); - - if (onlineTime != oldOnlineTime) { - oldOnlineTime = onlineTime; - sprintf(buf, "%02d:%02d:%02d", - onlineTime / 3600, (onlineTime / 60) % 60, onlineTime % 60); - SeSetLabel(statusWidget[0], buf); - } -#else if ((online = oldState[0])) onlineTime = (time((time_t*)0) - startTime) / 60; @@ -70,7 +57,6 @@ sprintf(buf, "%02d:%02d", onlineTime / 60, onlineTime % 60); SeSetLabel(statusWidget[0], buf); } -#endif if (clientData) XtAppAddTimeOut(app_con, qres.modemStatusInterval * 1000, --- Seyon.ad Sun Jan 28 21:59:28 1996 +++ /usr2/home/wosch/current/ports/comms/seyon/work/seyon/Seyon.ad Wed Apr 21 03:33:30 1993 @@ -251,8 +251,7 @@ *statusBox.Toggle.Translations: #replace *statusBox.Toggle.state: off -! *statusBox.dcd.label: 00:00 -*statusBox.dcd.label: 00:00:00 +*statusBox.dcd.label: 00:00 *statusBox.dtr.label: DTR *statusBox.dsr.label: DSR *statusBox.rts.label: RTS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601302129.WAA01357>