From owner-freebsd-ports Tue Jan 30 13:46:33 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02387 for ports-outgoing; Tue, 30 Jan 1996 13:46:33 -0800 (PST) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id NAA02348 for ; Tue, 30 Jan 1996 13:46:10 -0800 (PST) Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id WAA27704 for ; Tue, 30 Jan 1996 22:36:48 +0100 Received: (from wosch@localhost) by localhost (8.6.9/8.6.9) id WAA01357; Tue, 30 Jan 1996 22:29:19 +0100 Date: Tue, 30 Jan 1996 22:29:19 +0100 From: Wolfram Schneider Message-Id: <199601302129.WAA01357@localhost> To: ports@freebsd.org Subject: Seyon with status label in seconds Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-ports@freebsd.org Precedence: bulk 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