home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / old / misc / prime / prime800.bwr < prev    next >
Internet Message Format  |  2020-01-01  |  7KB

  1. Date: Sat, 20 Jan 90 20:21:12 EST
  2. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  3. To: Steve Jenkins <pdsoft%uk.ac.lancs.cent1@nsfnet-relay.ac.uk>
  4. Subject: New Prime Kermit
  5.  
  6. Some of the source lines are quite long, up to 144 characters, which makes
  7. BITNET network distribution problematic.  Can you ask the contributor, John
  8. Horne, if there are some rules I can apply to shorten long lines?  For
  9. example, in "call" statements, can the arguments be broken onto multiple
  10. lines?  Is there a generally valid line continuation mechanism?  Thanks!
  11. - Frank
  12.  
  13. ------------------------------
  14.  
  15. Date: Wed, 31 Jan 90 14:27:35 EST
  16. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  17. To: John Horne <C20211@prime-a.poly-south-west.ac.uk>
  18. Cc: Steve Jenkins <pdsoft%uk.ac.lancs.cent1@nsfnet-relay.ac.uk>
  19. Subject: Prime Kermit 8.00
  20.  
  21. John,
  22.  
  23. As you may know by now, the new Prime Kermit has been installed and announced
  24. on Info-Kermit.  But I just got a call from a guy named Matthew Sutter
  25. somewhere in the American midwest, who says that he has added a lot of
  26. features to version 7.57, including dialout capability.  So I just sent him a
  27. tape containing 8.00 so that he can merge his changes in.  I don't know if you
  28. were planning to do any more work on Prime Kermit, but if you are, you might
  29. want to wait until I get the new version back from Matthew and install it.
  30. I also asked Matthew if he could do something about getting the source code
  31. lines to fit within the BITNET mail limit of 80 characters.
  32.  
  33. - Frank
  34.  
  35. P.S. Steve, I don't know if I can mail directly to John Horne, so you might
  36. need to forward this message.  Thanks!
  37.  
  38. ------------------------------
  39.  
  40. Date: Fri, 02 Feb 90 11:17:31
  41. From: C20211%prime-a.poly-south-west.ac.uk@NSFnet-Relay.AC.UK
  42. Subject: Prime Kermit version 8.00
  43. To: fdc <@NSFnet-Relay.AC.UK:fdc@watsun.cc.columbia.edu>
  44.  
  45. >From : John Horne, Principal Computing Officer,
  46.  
  47.        Systems and Operations Support,
  48.        Computing Service,
  49.        General Teaching Block,
  50.        Polytechnic South West,
  51.        Drakes Circus,
  52.        Plymouth. U.K.
  53.        PL4 8AA
  54.  
  55. Phone : 0752 - 233921         Fax : 0752 - 233922
  56.  
  57. Email : C20211 @ UK.AC.POLY-SOUTH-WEST.PRIME-A    (UK.AC.PSW.PA)
  58.  
  59.     Frank,
  60.  
  61.     I received some mail from Lancaster University (U.K.) regarding
  62.     version 8.00 of Kermit for Prime Computers.
  63.  
  64.     First of all it is possible that the version you have may have a
  65.     corrupted line of source code. If Lancaster sent you the source via
  66.     tape then it should be okay. Unfortunately when I sent the source code
  67.     up to Lancaster I was unaware that the Primes couldn't receive this line
  68.     of code (using FTP) because of the octal characters it contains! I have
  69.     corrected the code (but Lancs haven't put it on-line yet, 2nd Feb '90).
  70.  
  71.     In your version the line of code is : (Line 33 of XFER_MODE.PLP)
  72.  
  73.          CALL ERKL$$ (K$WRIT, 'ab', 'cd', CODE);
  74.  
  75.     Where a,b,c, and d are octal characters entered in directly using
  76.     an Editor. There values are a = :000, b = :210, c = :000, and d = :377.
  77.  
  78.     Secondly, the CONVERT command in this version of Kermit is incorrect,
  79.     i.e. it doesn't work. It has been corrected and, if you receive this mail
  80.     okay then, I could send you the corrected version directly if that is
  81.     acceptable. Obviously I would send it to Lancaster as well.
  82.  
  83.     Now finally your original request regarding long line lengths. (I didn't
  84.     realise that this was going to be sent to the States, so I didn't worry
  85.     too much about line lengths!)
  86.  
  87.     In PLP (Prime's version of PL/1) lines are of free format. There is no
  88.     line continuation character since lines are only delimited by a
  89.     semicolon (';'). Arguments to subroutine calls may be spread over several
  90.     lines. Obviously variable names may not be split across lines.
  91.  
  92.     E.g.
  93.            CALL SUBR1 (ABC, DEF);            /* This is okay. */
  94.            CALL SUBR1 (ABC,
  95.                        DEF);                 /* So is this. */
  96.            CALL SUBR1 (AB
  97.                        C,D
  98.                        EF);                  /* This is NOT okay. */
  99.  
  100.     Comments are begun by the character sequence '/*' and are ended by the
  101.     sequence '*/'. They may be spread over several lines, or even embedded
  102.     in source lines.
  103.  
  104.     E.g.     /* This is a valid comment - no semicolon needed to end it. */
  105.              /* This is also a valid comment
  106.                 occupying two lines. */
  107.              CALL SUBR1 (A, B, /* This is an embedded comment
  108.                          using two lines */ C, D);
  109.  
  110.     Unfortunately literal character strings cannot be spread over several
  111.     lines, since the compiler will include all the spaces as part of the
  112.     string.
  113.  
  114.     E.g.          CALL SUBR1 ('ABCDEF');     /* The string here is ABCDEF */
  115.                   CALL SUBR1 ('ABC           /* But in this case the string */
  116.                                DEF');        /* is ABC followed by a lot of
  117.                                                 spaces then DEF */
  118.  
  119.     To get around this problem it will be neccessary to assign the character
  120.     string to a variable initially. This can then be split over several
  121.     lines using the concatenation operator ('||').
  122.  
  123.     E.g.          X := 'ABC' ||          /* This assignment statement */
  124.                        'DEF';            /* uses two lines. */
  125.                   CALL SUBR1 (X);
  126.  
  127.     I shall go through the code myself and shorten the lines to 80 characters
  128.     or less. Since this will make things easier in the future. Again this will
  129.     be sent to Lancaster at some future date. (It won't take long to do the
  130.     work, but I don't want to plague Lancaster with copies of Kermit!)
  131.  
  132.     Hope this mail gets through,
  133.          Mail me (via Lancaster if neccessary) if you have any more problems,
  134.  
  135.                                 John Horne.
  136.  
  137. ------------------------------
  138.  
  139. Date: THU, JUN 28 1990 15:43:15
  140. From: TFLORY%BRIJWATR.BITNET@VTVM2.CC.VT.EDU
  141. Subject: Prime Kermit Version 8.00 bug
  142. Keywords: Prime Kermit
  143.  
  144. We have been using Prime Kermit Version 8.00 since March 1990 with mostly
  145. good results.  However, we have been having occasional problems with
  146. corrupted files particularly when using sliding windows.  I asked one
  147. of my student assistants to look into the problem.  After some investigation,
  148. we have made a correction to the DUPLX$ call in XFER_MODE.PLP.
  149.  
  150. We changed the line which reads:
  151.  
  152.    addr (code) -> bit16_based = duplx$ ('A000'b4);  /* Set to half duplex. */
  153.  
  154. to
  155.  
  156.    addr (code) -> bit16_based = duplx$ ('E000'b4);  /* Set to half duplex. */
  157.  
  158. The problem we were seeing was a series of extraneous linefeed characters
  159. scattered throughout the packets being received at the PC.  These extra LF
  160. characters were corrupting some of the received packets.  The DUPLX$ call
  161. with the 'A000' argument causes Primos, even in half-duplex mode, to echo
  162. all received CR characters back to the PC as LF characters.  Setting the
  163. DUPLX$ argument to 'E000' suppresses the echo of the LF chars.  This fix
  164. significantly improves both the reliability and performance of Kermit 8.00.
  165.  
  166. I looked back at version 7.57 and find the same bug present there!
  167. I find it difficult to believe that ANYONE could be using Kermit reliably
  168. with this bug present.  But perhaps this is old news since I am a new
  169. participant on Info-Kermit.  I hope this information is helpful.
  170.  
  171.  
  172. Ted Flory  (703) 828-2501  TFLORY@BRIJWATR.BITNET
  173. Manager of the Computing Center
  174. Bridgewater College
  175. Bridgewater, Virginia 22812-1599
  176. USA
  177.