🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #27992

ZMDM update

#27992
From: bammi
Date: Fri, 21 Aug 1987 00:31
30 lines
1354 bytes
Thanks to ncoast!bsrjr and mist!hakanson for pointing out the
following bug that crept into ZMDM. At baud rates <= 2400 baud, when
transmitting a file using zmodem protocol, the count that is displayed
is incorrect. The files however are transferred fine, just the visual
counter on the screen shows the counts incorrectly.

To fix, patch SZ.C as follows (add lines marked with `+'):

*** osz.c	Thu Aug 20 19:14:35 1987
--- sz.c	Thu Aug 20 19:18:27 1987
***************
*** 1190,1195 ****
--- 1190,1200 ----
  			e = ZCRCG;
  		zsdata(secbuf, c, e);
  		Txpos += c;
+ 		if(e == ZCRCG)
+ 		{
+ 			tcount += c;
+ 			lreport(tcount);
+ 		}
  
  		if (e == ZCRCW)
  			goto waitack;
-- 
usenet: {decvax,cbosgd,sun}!cwruecmp!bammi	jwahar r. bammi
csnet:       bammi@cwru.edu
arpa:        bammi@cwru.edu
compuServe:  71515,155
Technical Details
Message-ID: <2225@cwruecmp.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!cwruecmp!bammi

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!cwruecmp!bammi
From: bammi@cwruecmp.UUCP
Newsgroups: comp.sys.atari.st
Subject: ZMDM update
Message-ID: <2225@cwruecmp.UUCP>
Date: Thu, 20-Aug-87 20:31:52 EDT
Article-I.D.: cwruecmp.2225
Posted: Thu Aug 20 20:31:52 1987
Date-Received: Sat, 22-Aug-87 18:08:55 EDT
Reply-To: bammi@cwruecmp.UUCP (Jwahar R. Bammi)
Distribution: world
Organization: Case Western Reserve University
Lines: 30