home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / misc / 23546 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.4 KB

  1. Xref: sparky comp.sys.next.misc:23546 comp.sys.next.programmer:8005
  2. Path: sparky!uunet!gatech!prism!xray.gatech.edu!cc100aa
  3. From: cc100aa@xray.gatech.edu (Ray Spalding)
  4. Newsgroups: comp.sys.next.misc,comp.sys.next.programmer
  5. Subject: Re: tipx problems - Q&A
  6. Keywords: communication, zmodem
  7. Message-ID: <79245@hydra.gatech.EDU>
  8. Date: 6 Jan 93 17:23:24 GMT
  9. References: <ntomczak.726286970@vega>
  10. Sender: news@prism.gatech.EDU
  11. Followup-To: comp.sys.next.misc
  12. Organization: Georgia Institute of Technology
  13. Lines: 58
  14.  
  15. In article <ntomczak.726286970@vega> ntomczak@vega.math.ualberta.ca (N Tomczak-Jaegermann) writes:
  16. >Here is a guide to possible troubles with tipx hacky software.
  17. >B) Everything installed fine but I am getting a floating point
  18. >   exception when I try transfers.
  19. >C) When I start 'rz' I am getting nonsensical error messages.
  20.  
  21. I have sent the following fixes and others to Michal; perhaps he would
  22. be good enough to maintain the NeXT version of tipx for all of us...
  23.  
  24. A fix for C is:
  25. diff -r uunet/tipx/cmds.c railway/nexttipx/cmds.c
  26. 658c659
  27. <   strcat(xcmd,buf + 3);
  28. ---
  29. >   if (strlen(buf) > 3) strcat(xcmd,buf + 3);
  30.  
  31.  
  32. A (kludgy) fix for B is:
  33. diff -r uunet/tipx/xfer/tiprz.c railway/nexttipx/xfer/tiprz.c
  34. 1029a1030
  35. > unsigned brate;
  36. 1034a1036,1037
  37. >   brate = Baudrate;
  38. >   if (!brate) brate = 38400;
  39. 1126c1129
  40. <           min_100 = 2L + (((Bytesleft * 11L)) * 10L) / (Baudrate * 6L);
  41. ---
  42. >           min_100 = 2L + (((Bytesleft * 11L)) * 10L) / (brate * 6L);
  43. 1132,1133c1135,1136
  44. <                   (((TotalToReceive * 11L)) * 10L) / (Baudrate * 6L);
  45. <               if(Baudrate > 4800)
  46. ---
  47. >                   (((TotalToReceive * 11L)) * 10L) / (brate * 6L);
  48. >               if(brate > 4800)
  49. 1584a1588
  50. >       printf("argc == %d, argv == '%s'\n",argc,cp);
  51. diff -r uunet/tipx/xfer/tipsz.c railway/nexttipx/xfer/tipsz.c
  52. 352a353,356
  53. >   unsigned brate;
  54. >
  55. >   brate = Baudrate;
  56. >   if (!brate) brate = 38400;
  57. 358c362
  58. <           + ((blocks * (128L + 16L)) / (Baudrate / 10));
  59. ---
  60. >           + ((blocks * (128L + 16L)) / (brate / 10));
  61. 367c371
  62. <           (FilesTotal * 2L) + (((TotalToSend * 11L)) * 10L) / (Baudrate * 6L);
  63. ---
  64. >           (FilesTotal * 2L) + (((TotalToSend * 11L)) * 10L) / (brate * 6L);
  65. 371c375
  66. <       else if(Baudrate > 4800)
  67. ---
  68. >       else if(brate > 4800)
  69. -- 
  70. Ray Spalding, Office of Information Technology
  71. Georgia Institute of Technology, Atlanta Georgia, 30332-0715
  72. Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
  73.