home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / protocol / retrieve.txt < prev    next >
Text File  |  2020-01-01  |  9KB  |  180 lines

  1. 18-Aug-96  0:38:17-GMT,1885;000000000001
  2. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id UAA17051; Sat, 17 Aug 1996 20:38:14 -0400 (EDT)
  3. Date: Sat, 17 Aug 1996 20:38:14 -0400 (EDT)
  4. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  5. Message-Id: <199608180038.UAA17051@watsun.cc.columbia.edu>
  6. To: jrd@cc.usu.edu
  7. cc: peprbv@cuvmb.cc.columbia.edu
  8. Subject: New Kermit protocol thing
  9.  
  10. As you know, C-Kermit has a MOVE command, which is just like SEND except
  11. it deletes the source file(s) if and only if they are sent successfully.
  12. This turns out to be very useful to a lot of our more serious users --
  13. companies that use Kermit for real transaction processing, etc, because it's
  14. atomic.
  15.  
  16. MOVE is trivial to implement -- it calls the SEND parsing routine and then
  17. just sets a flag; the routine that closes the input file checks to see if the
  18. flag is set, and if so, and the file was sent successfully, it deletes the
  19. file.  Takes about 5 minutes to implement.
  20.  
  21. Now it seems some of these same users need the same thing in the opposite
  22. direction: they want the client to tell the server to send files and then
  23. delete them iff they were sent ok.  This requires addition of a new packet
  24. type -- I chose "H" -- and a new top-level command.  There's no good word for
  25. this, so I chose RETRIEVE.
  26.  
  27. On the client side, RETRIEVE calls the same parsing routine as GET and REGET,
  28. but it invokes the protocol module in such a way as to let it know that it
  29. should send an H packet, rather than an R or J packet (all three of these have
  30. the same format).
  31.  
  32. On the server side, when the server gets an H packet, it does exactly what it
  33. does when it gets an R packet, except it sets the very same flag that is used
  34. when the MOVE command is given -- "I should delete each file after I send, iff
  35. it was sent successfully".  And obviously, it must remember to RESET this flag
  36. after each transaction.
  37.  
  38. That's about it...
  39.  
  40. - Frank
  41.  
  42. 20-Aug-96  0:05:34-GMT,2052;000000000011
  43. Received: from CUVMB.CC.COLUMBIA.EDU (cuvmb.cc.columbia.edu [128.59.40.129]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with SMTP id UAA17973; Mon, 19 Aug 1996 20:05:33 -0400 (EDT)
  44. Received: from CUVMB.CC.COLUMBIA.EDU by CUVMB.CC.COLUMBIA.EDU (IBM VM SMTP V2R1)
  45.    with BSMTP id 5221; Mon, 19 Aug 96 20:05:09 EDT
  46. Date: Mon, 19 Aug 1996   20:04 EDT
  47. From: "John F. Chandler"   <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  48. To: Frank da Cruz   <fdc@watsun.CC.COLUMBIA.EDU>
  49. cc: Joe Doupnik   <jrd@watsun.CC.COLUMBIA.EDU>
  50. Subject: Re: New Kermit protocol thing
  51. In-reply-to: fdc@watsun.cc.columbia.edu message
  52.    <CMM.0.90.4.840328830.fdc@watsun.cc.columbia.edu> of Sat, 17 Aug 96 20:40:30
  53.    EDT
  54. Message-id: <JCHBN.960819.200456.RC0@CUVMB.CC.COLUMBIA.EDU>
  55.  
  56. Frank,
  57.  
  58. > As you know, C-Kermit has a MOVE command, ...
  59. > This turns out to be very useful to a lot of our more serious users --
  60. > companies that use Kermit for real transaction processing, etc, because it's
  61. > atomic.
  62.  
  63. While I can see how this is useful, I also cringe at the thought of using
  64. it -- deciding what is a successful transfer is not a purely objective
  65. thing.  I guess the IBM mainframe world has more avenues to misleadingly
  66. "successful" transfers, so I'm especially sentitive to this.  Things like
  67. the LONGLINE setting, which permits the user to choose whether to fold
  68. lines that are too long for the available LRECL, or to (gasp!) truncate,
  69. as well as to halt.  In fact, truncate is the default!  Then, too, there
  70. is the RECFM issue, not to mention the possibility of inappropriate
  71. character translations for text files.  I really wonder if it would ever
  72. be a good idea to implement MOVE in K370.
  73.  
  74. >  This requires addition of a new packet
  75. > type -- I chose "H" -- and a new top-level command.  There's no good word for
  76. > this, so I chose RETRIEVE.
  77.  
  78. How about SEIZE or STEAL, or even CONFISCATE?  Surely, you can do better
  79. than to use a word that is more-or-less synonymous with GET.  Of course,
  80. if TAKE weren't already in use, it would be ideal...
  81.  
  82.                                                  John
  83.  
  84. 20-Aug-96  0:12:15-GMT,800;000000000011
  85. Received: (from jrd@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id UAA18513; Mon, 19 Aug 1996 20:12:14 -0400 (EDT)
  86. Date: Mon, 19 Aug 96 20:12:13 EDT
  87. From: "Joe R. Doupnik" <jrd@watsun.cc.columbia.edu>
  88. To: "John F. Chandler" <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  89. Cc: jrd@watsun.cc.columbia.edu, fdc@watsun.cc.columbia.edu
  90. Subject: Re: New Kermit protocol thing
  91. In-Reply-To: Your message of Mon, 19 Aug 1996 20:04 EDT
  92. Message-ID: <CMM.0.90.4.840499933.jrd@watsun.cc.columbia.edu>
  93.  
  94. John,
  95.     Confiscate appeals to me, but we expect too many typos. So I
  96. guess it's down to SEIZE, being politically correct. Goodness, what
  97. would happen to our command syntax if the lawyers got involved?
  98.     My reaction was similar to yours, but I added Move and Retrieve
  99. to MSK 3.15. The latter is disabled by default.
  100.     Joe D.
  101.  
  102. 20-Aug-96  0:13:32-GMT,459;000000000011
  103. Received: (from jrd@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id UAA18636; Mon, 19 Aug 1996 20:13:31 -0400 (EDT)
  104. Date: Mon, 19 Aug 96 20:13:31 EDT
  105. From: "Joe R. Doupnik" <jrd@watsun.cc.columbia.edu>
  106. To: fdc@watsun.cc.columbia.edu
  107. Cc: jrd@watsun.cc.columbia.edu
  108. Subject: MSK 3.15 again
  109. Message-ID: <CMM.0.90.4.840500011.jrd@watsun.cc.columbia.edu>
  110.  
  111. Frank,
  112.     I fixed INPUT/MINPUT to work again. The msk315.exe file is on
  113. watsun as of 1800 MDT.
  114.     Joe D.
  115.  
  116. 20-Aug-96  0:14:37-GMT,2326;000000000001
  117. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id UAA18721; Mon, 19 Aug 1996 20:14:36 -0400 (EDT)
  118. Date: Mon, 19 Aug 96 20:14:36 EDT
  119. From: Frank da Cruz <fdc@watsun.CC.COLUMBIA.EDU>
  120. To: "John F. Chandler" <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  121. Cc: Joe Doupnik <jrd@watsun.CC.COLUMBIA.EDU>
  122. Subject: Re: New Kermit protocol thing
  123. In-Reply-To: Your message of Mon, 19 Aug 1996 20:04 EDT
  124. Message-ID: <CMM.0.90.4.840500076.fdc@watsun.cc.columbia.edu>
  125.  
  126. > While I can see how this is useful, I also cringe at the thought of using
  127. > it -- deciding what is a successful transfer is not a purely objective
  128. > thing.  I guess the IBM mainframe world has more avenues to misleadingly
  129. > "successful" transfers, so I'm especially sentitive to this.  Things like
  130. > the LONGLINE setting, which permits the user to choose whether to fold
  131. > lines that are too long for the available LRECL, or to (gasp!) truncate,
  132. > as well as to halt.  In fact, truncate is the default!  Then, too, there
  133. > is the RECFM issue, not to mention the possibility of inappropriate
  134. > character translations for text files.  I really wonder if it would ever
  135. > be a good idea to implement MOVE in K370.
  136. Well, nobody has ever asked for it...  But they do ask for it in the other
  137. Kermits.  It's entirely up to you whether to add it -- but obviously it's got
  138. to be documented in such a way that they know what they are getting into.
  139. And the server end of it should be disabled by default, so they have to ENABLE
  140. it first (but then, DELETE was always enabled, right?)...
  141.  
  142. > How about SEIZE or STEAL, or even CONFISCATE?  Surely, you can do better
  143. > than to use a word that is more-or-less synonymous with GET.  Of course,
  144. > if TAKE weren't already in use, it would be ideal...
  145. I know -- I thought about lots of different words, but there is no word that
  146. means "send me your copy of the file and then delete your copy of it after
  147. sending it to me".  So in the absence of a compelling argument against (or a
  148. clearly superior alternative to) RETRIEVE, we might as well stick with it.
  149.  
  150. As we add more and more commands to Kermit, we just simply run out of good
  151. words for them.  For that matter, MOVE -- although it gets the idea across --
  152. still lacks directionality.  It could mean anything.  For that matter so
  153. could SEND (who sends it to whom?).
  154.  
  155. - Frank
  156.  
  157. 20-Aug-96  0:17:13-GMT,910;000000000001
  158. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id UAA18999; Mon, 19 Aug 1996 20:17:13 -0400 (EDT)
  159. Date: Mon, 19 Aug 96 20:17:13 EDT
  160. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  161. To: "Joe R. Doupnik" <jrd@watsun.cc.columbia.edu>
  162. Subject: Re: New Kermit protocol thing
  163. In-Reply-To: Your message of Mon, 19 Aug 96 20:12:13 EDT
  164. Cc: John Chandler <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  165. Message-ID: <CMM.0.90.4.840500233.fdc@watsun.cc.columbia.edu>
  166.  
  167. > Confiscate appeals to me, but we expect too many typos. So I
  168. > guess it's down to SEIZE, being politically correct. Goodness, what
  169. > would happen to our command syntax if the lawyers got involved?
  170. Words like STEAL, SEIZE, and CONFISCATE all have emotional overtones
  171. and connotations we should avoid.  Just like "abort" -- whatever you
  172. think about abortion, the word "abort" simply makes some people cry.
  173. I know, I've seen it happen.
  174.  
  175. - Frank
  176.  
  177.