Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ut-sally.UUCP Path: utzoo!linus!decvax!ucbvax!ucdavis!lll-crg!seismo!ut-sally!brian From: brian@ut-sally.UUCP (Brian H. Powell) Newsgroups: net.micro.mac Subject: Re: binhex/macterminal/macget bug? Message-ID: <3231@ut-sally.UUCP> Date: Fri, 18-Oct-85 20:39:59 EDT Article-I.D.: ut-sally.3231 Posted: Fri Oct 18 20:39:59 1985 Date-Received: Mon, 21-Oct-85 06:34:42 EDT References: <8510170947.AA22363@kim> Organization: U. Texas CS Dept., Austin, Texas Lines: 64 > As I've started to upload large programs to net-sources-mac I've consistently > encountered a problem: at the very end of uploading a binhex-ed file with > macterminal -0.5 and macget the transfer bombs with error -39, and the upload > file is incomplete. I've noticed this too. If you click ok to the error dialog fairly quickly, the file will transfer okay. If you wait too long, the last part (sector?) won't make it. (NOTE: The dialog always comes up at/near the end of the transfer.) I have no proof, but I think it happens to me more when all of the following are true: 1) The file is text (macget -u) 2) The file is large 3) The baud rate is fast (9600). (It almost always happens when I upload a 100K-200K PostScript file to our Vax or Sequent at 9600 baud for eventual LaserWriting.) (You want to be quick with the OK box to avoid having to redo the transfer.) > > I discovered that if I use a text editor to add a screenful of carriage > returns to the end of the file then I still get the error message but the > resulting uploaded file xbins correctly. That's only because it's losing the CR's, not the important stuff. > > Could binhex 4.0 be guilty of incorrectly setting the logical EOF on the > upload file? I don't think it's a binhex problem. As I said, it happens to me with other text files (PostScript files). I think you're close, though. > Is there some macget fix that I missed? I've applied every macget fix I've seen. I don't think macget is the problem either. ************ MY POINT *************** Which leads me to the conclusion that it's MacTerminal's fault. I think MacTerminal may be screwing up the logical/physical EOF stuff. Has anybody done this with pure Mac to Mac transfers? That would rule out macget. If I get a chance, I'll try it myself. ************************************** > > In any event I suggest that: > > 1) If you upload large files using binhex/macterminal/macget you > should add some carriage returns to the end of the ascii upload > file produced by binhex before uploading with macterminal and macget. Or be quick with your OK click. > > 2) Always verify that the upload xbin's correctly before posting a > program. ALWAYS!! > > --Gordon Hamachi Brian H. Powell UUCP: {ihnp4,seismo,ctvax}!ut-sally!brian ARPA: brian@sally.UTEXAS.EDU U.S. Mail: Southwestern Bell P.O. Box 5899 345-0932 Austin, TX 78763-5899 AT&T (512) 345-0932