home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c / appolo.bwr < prev    next >
Internet Message Format  |  2020-01-01  |  6KB

  1. Date: Fri 14 Nov 86 10:34:23-PST
  2. From: Ted Shapin <BEC.SHAPIN@USC-ECL.ARPA>
  3. Subject: Bug in Apollo Pascal Kermit
  4. Keywords: Apollo Kermit
  5.  
  6. We found that the Pascal kermit for the Apollo inserts extra line feeds
  7. every 256 characters if there is no line feed carriage return in the file.
  8. We traced it to the I/O in the Pascal program which can only read 256 byte
  9. lines.
  10.  
  11. ------------------------------
  12.  
  13. Date: 27 May 1987 16:35-EDT
  14. From: CDAVIS@A.ISI.EDU
  15. Subject: Kermit on Apollo
  16. Keywords: Apollo Kermit, C-kermit
  17.  
  18. 1. C-Kermit: Many of the problems associated with running C-Kermit on the
  19. apollo went away with the new release of the DOMAIN/IX operating system
  20. (i.e., SR9.5).  Although I do not have an unadulterated version of C-Kermit,
  21. I think that the only change which needs to be made in the standard release
  22. is to modify the following statement in ckutio.c.
  23.  
  24. if(ioctl(ttyfd,TIOCFLUSH,&n) <0) perror("flush failed");
  25.  
  26. Although I am not an expert C or UNIX programmer, the documentation seems to
  27. indicate that the argument to ioctl is ignored when TIOCFLUSH is used at
  28. SR9.2.3.  At SR9.5, however, the documentation says:
  29.  
  30. " If the int pointed to by arg has a zero value, all characters waiting in
  31. input or output queues are flushed.  Otherwise the value of int is treated
  32. as the logical OR of the FREAD and FWRITE defined in <sys/file.h>; if the
  33. FREAD bit is set, all characters waiting in the input queues are flushed,
  34. and if the FWRITE bit is set all characters waiting in the output queues are
  35. flushed."  (From tty(4)).
  36.  
  37. This statement notwithstanding, the only way I could get it to transfer
  38. files was to use the following substitute code:
  39.  
  40. if(ioctl(ttyfd,TIOCFLUSH,0)<0) perror("flush failed");
  41.  
  42. 2. Apollo-kermit: I can't get the new Pascal code for Apollo-kermit which is
  43. supposed to make it possible to transfer binary files to compile at all.
  44. Below are the error messages I get.
  45.  
  46. $ pas kermitb.pas -l
  47.  (0567)    myqbin := '';      {[2.8]}
  48. ******** Line 567: [Error 079]  Assignment statement expression is not 
  49. compatible with the assignment variable.
  50.  (0577)    theirqbin := '';   {[2.8]}
  51. ******** Line 577: [Error 079]  Assignment statement expression is not 
  52. compatible with the assignment variable.
  53.  (0850)    checksum := makechar((s + ((s  8#300) DIV 8#100))  8#77);
  54. ******** Line 850: [Error 116]  Improper expression (192).
  55.  (1267)            IF (xmtbuffer.len > 0) AND (file_type = ascii)
  56. ******** Line 1267: [Warning 256]  > becomes <>.
  57.  (1282)            IF ORD (ch)  16#80 <> 0           {[2.8]+}
  58. ******** Line 1282: [Error 116]  Improper expression (128).
  59.  (1442)       theirqbin := ''; (*  is the default *)    {[2.8]+}
  60. ******** Line 1442: [Error 079]  Assignment statement expression is not
  61.          compatible with the assignment variable.
  62.  (2178)                         THEN { empty out the rcvbuffer }
  63. ******** Line 2178: [Warning 256]  > becomes <>.
  64.  (3040)                               THEN { a session file has been defined }
  65. ******** Line 3040: [Warning 256]  > becomes <>.
  66.  (3600)                                   THEN CLOSE(transactfile);
  67. ******** Line 3600: [Warning 256]  > becomes <>.
  68.  (3650)                                   THEN CLOSE(sessionfile);
  69. ******** Line 3650: [Warning 256]  > becomes <>.
  70. 5 errors, 5 warnings, Pascal Rev 7.1452
  71.  
  72. Not being a Pascal programmer, I don't know how to go about fixing these
  73. proglems.
  74.  
  75. Charles Davis
  76.  
  77. ------------------------------
  78.  
  79. Date: 8-JUN-1987 14:20:28
  80. From:  JDLee1@UK.AC.LOUGHBOROUGH.MULTICS
  81. Via: SYSKERMIT%vax1.central.lancaster.ac.uk@Cs.Ucl.AC.UK
  82. Subject: Bugs in Apollo Kermit 2.8
  83.  
  84. Two problems/bugs that I have come across with apollo kermit 2.8 First, the
  85. apollo seems to store ascii files with just a newline between records, and
  86. apollo kermit 2.8 does not map newline into CR LF when sending files.
  87. However it does the correct translation when receiving files.  Second,
  88. apollo kermit 2.8 does not correctly implement 8 bit prefixing.  If the
  89. other system says that it cannot 8 bit prefix it puts an N in the packet in
  90. place of the 8 bit prefix character requested by apollo 2.8 This is wrongly
  91. interpreted by apollo kermit as a request to use the N character as the
  92. prefix character with the result that all N characters in the file become
  93. Control-N at the destination file.
  94.  
  95. Tim Lee Pafec Ltd, Strelley Hall, Strelley, Nottingham
  96. phone 0602 390649 ext 556
  97.  
  98. ------------------------------
  99.  
  100. Date:     Fri, 18 Sep 87 14:12:18 +0200 (Central European Sommer Time)
  101. From:     XBR4D715@DDATHD21.BITNET (KLaus D. Schmitt THD Inst. f. EEV FB17)
  102. Subject:  kermit v2.8a for Apollo
  103. To:       sy.fdc@cu20b.columbia.edu
  104.  
  105.         Dear Sirs !
  106.  
  107.         Some time ago I got Kermit for Apollo from Netlib.
  108.         We installed this version, but had some trouble with
  109.         SEND command (nothing could be send from Apollo !).
  110.  
  111.         We examined the sources from Netlib and corrected them
  112.         with the result, that all works quite well on our
  113.         DN 3000 communicating with some PC's and VAXen.
  114.  
  115.         We would like to send you the improved sources (V2.8a)
  116.         if you wish. Please contact me, so I can mail you the
  117.         sources for inclusion in Netlib.
  118.  
  119.         Please note, that the source includes kermitio.pas in the
  120.         file kermit.pas. existf.c is no longer needed !
  121.  
  122.         Greetings from Europe
  123.         Klaus D. Schmitt
  124.         Inst. for El. Power Supply
  125.         Tecnical University Darmstadt
  126.         F R G
  127.  
  128. [Ed. - Kermit 2.28a replaces APOLLO.PAS in Kermit Distribution.  Meanwhile,
  129. if anybody knows the difference between APOLLO.* and APLKER.* (both Pascal
  130. Kermits for the Apollo), let us know!  If they can be reconciled into a
  131. single version, we could free some space and alleviate some confusion.]
  132.  
  133. ------------------------------
  134.  
  135.