Article View: comp.sys.next.misc
Article #4731Re: tipx problems - Q&A
From: Ray Spalding
Date: Wed, 06 Jan 1993 17:23
Date: Wed, 06 Jan 1993 17:23
58 lines
2469 bytes
2469 bytes
In article <ntomczak.726286970@vega> ntomczak@vega.math.ualberta.ca (N Tomczak-Jaegermann) writes:
>Here is a guide to possible troubles with tipx hacky software.
>B) Everything installed fine but I am getting a floating point
> exception when I try transfers.
>C) When I start 'rz' I am getting nonsensical error messages.
I have sent the following fixes and others to Michal; perhaps he would
be good enough to maintain the NeXT version of tipx for all of us...
A fix for C is:
diff -r uunet/tipx/cmds.c railway/nexttipx/cmds.c
658c659
< strcat(xcmd,buf + 3);
---
> if (strlen(buf) > 3) strcat(xcmd,buf + 3);
A (kludgy) fix for B is:
diff -r uunet/tipx/xfer/tiprz.c railway/nexttipx/xfer/tiprz.c
1029a1030
> unsigned brate;
1034a1036,1037
> brate = Baudrate;
> if (!brate) brate = 38400;
1126c1129
< min_100 = 2L + (((Bytesleft * 11L)) * 10L) / (Baudrate * 6L);
---
> min_100 = 2L + (((Bytesleft * 11L)) * 10L) / (brate * 6L);
1132,1133c1135,1136
< (((TotalToReceive * 11L)) * 10L) / (Baudrate * 6L);
< if(Baudrate > 4800)
---
> (((TotalToReceive * 11L)) * 10L) / (brate * 6L);
> if(brate > 4800)
1584a1588
> printf("argc == %d, argv == '%s'\n",argc,cp);
diff -r uunet/tipx/xfer/tipsz.c railway/nexttipx/xfer/tipsz.c
352a353,356
> unsigned brate;
>
> brate = Baudrate;
> if (!brate) brate = 38400;
358c362
< + ((blocks * (128L + 16L)) / (Baudrate / 10));
---
> + ((blocks * (128L + 16L)) / (brate / 10));
367c371
< (FilesTotal * 2L) + (((TotalToSend * 11L)) * 10L) / (Baudrate * 6L);
---
> (FilesTotal * 2L) + (((TotalToSend * 11L)) * 10L) / (brate * 6L);
371c375
< else if(Baudrate > 4800)
---
> else if(brate > 4800)
--
Ray Spalding, Office of Information Technology
Georgia Institute of Technology, Atlanta Georgia, 30332-0715
Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
Technical Details
Message-ID:
<79245@hydra.gatech.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!prism!xray.gatech.edu!cc100aaReferences:
<ntomczak.726286970@vega>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!prism!xray.gatech.edu!cc100aa From: cc100aa@xray.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Re: tipx problems - Q&A Keywords: communication, zmodem Message-ID: <79245@hydra.gatech.EDU> Date: 6 Jan 93 17:23:24 GMT References: <ntomczak.726286970@vega> Sender: news@prism.gatech.EDU Followup-To: comp.sys.next.misc Organization: Georgia Institute of Technology Lines: 58