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

  1.  1-Jun-96  1:44:26-GMT,3545;000000000001
  2. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id VAA14253; Fri, 31 May 1996 21:44:25 -0400 (EDT)
  3. Date: Fri, 31 May 96 21:44:25 EDT
  4. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  5. To: Christine M Gianone <cmg@watsun.cc.columbia.edu>,
  6.         Jeffrey Altman <jaltman@watsun.cc.columbia.edu>,
  7.         Joe Doupnik <JRD@cc.usu.edu>,
  8.         John Chandler <JCHBN@CUVMB.CC.COLUMBIA.EDU>,
  9.         Terry Kennedy <TERRY@SPCVXA.SPC.EDU>
  10. Subject: A new field for Kermit init string
  11. Message-ID: <CMM.0.90.4.833593465.fdc@watsun.cc.columbia.edu>
  12.  
  13. Dear Committee (listed in alphabetical order :-)  --
  14.  
  15. "A small change for Kermit, a giant leap for userkind" ???
  16.  
  17. When I originally designed Attribute packets, my idea was that they could
  18. somehow be bundled with files themselves for purposes of archiving when
  19. transferring to an unlike system.  Thus the "system of origin" field went into
  20. the A packet so a file could be tagged with it if desired, and then float
  21. around to various other kinds of systems, finally find its way back the same
  22. type of system it started from, and then the attributes could be used to put
  23. it back together.
  24.  
  25. Well, that one never panned out, and I keep wishing I had the system-type
  26. attribute in the init string (S/I packet and Ack thereto), because then I'd
  27. know what kind of OS I was getting a file from (or sending it *to*) BEFORE 
  28. I received a filename, rather than after, when it's too late.
  29.  
  30. So in the interest of being nice to users, even at the expense of violating
  31. all that is holy about "common intermediate representations" in protocols, I
  32. would like to add this bit to the init string.  That way, for example, if I
  33. should get a file whose name is full of backslashes, and it is from DOS, and I
  34. am on UNIX, I can turn the backslashes around.  And vice versa.  And many
  35. other things.  For example, I could even skip record format conversion while
  36. still allowing character-set translation, thus making the code go faster.
  37.  
  38. It's information only.  The receiver of the information can do whatever s/he
  39. wants with it, including ignore it.  Obviously all correctly coded present-day
  40. Kermits will indeed ignore it, but incorrectly coded ones (like Mustang BBS)
  41. will no doubt core dump or something -- good :-)
  42.  
  43. Also we have a precedent -- ftp has been doing this for 30 years :-)
  44. That's how two UNIXes know when they hook up to transfer in binary mode.
  45. We could do that too if we wanted.  Advantage: no more accidental trashing of
  46. binary files in UNIX-to-UNIX (or any other pair that makes sense) transfers.
  47. Disadvantage: character sets won't get translated, but *usually* that's not
  48. an issue between like systems -- at least not as great an issue as the
  49. ruining of binary files (which nowadays might well be, as many people loudly
  50. claim, the bulk of all file transfers -- GIF, ZIP, Z, etc).  Perhaps best of
  51. all, VMS-to-VMS and OS/2-to-OS/2 transfers could go into labeled mode
  52. (preservation of all RMS or Extended attributes and bizarre record formats)
  53. automatically.
  54.  
  55. Clearly the implementation would want commands to turn this on and off;
  56.  
  57.   SET TRANSFER MODE { AUTOMATIC, MANUAL }
  58.   SET FILE NAMES { CONVERTED, LITERAL, AUTOMATIC }
  59.  
  60. So, wherever the init string ends these days -- right after the WHATAMI field,
  61. no? -- which is at CAPAS+8 -- let's add a length-encoded field at CAPAS+9,
  62. which is exactly the same as the length-encoded System ID attribute from the A
  63. packet.  OK?
  64.  
  65. (This one is easy -- I'm still putting off tackling the system-independent
  66. representation of file systems...)
  67.  
  68. - Frank
  69.  
  70.  1-Jun-96  2:25:19-GMT,750;000000000001
  71. Received: from GRUMPY.USU.EDU (grumpy.usu.edu [129.123.1.86]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id WAA17734 for <fdc@watsun.cc.columbia.edu>; Fri, 31 May 1996 22:25:18 -0400 (EDT)
  72. Received: from cc.usu.edu by cc.usu.edu (PMDF V5.0-5 #11556)
  73.  id <01I5D9WBM1808ZYJB9@cc.usu.edu> for fdc@watsun.cc.columbia.edu; Fri,
  74.  31 May 1996 20:25:15 -0600 (MDT)
  75. Date: Fri, 31 May 1996 20:25:15 -0600 (MDT)
  76. From: Joe Doupnik <JRD@cc.usu.edu>
  77. Subject: Re: A new field for Kermit init string
  78. To: fdc@watsun.cc.columbia.edu
  79. Message-id: <01I5D9WBRLTU8ZYJB9@cc.usu.edu>
  80. X-VMS-To: IN%"fdc@watsun.cc.columbia.edu"
  81. X-VMS-Cc: JRD
  82. MIME-version: 1.0
  83. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  84. Content-transfer-encoding: 7BIT
  85.  
  86. Frank,
  87.     Ok. Neat stuff.
  88.     Joe D.
  89.  
  90.  1-Jun-96  2:59:53-GMT,2438;000000000005
  91. 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 WAA20229; Fri, 31 May 1996 22:59:52 -0400 (EDT)
  92. Received: from CUVMB.CC.COLUMBIA.EDU by CUVMB.CC.COLUMBIA.EDU (IBM VM SMTP V2R1)
  93.    with BSMTP id 6299; Fri, 31 May 96 22:59:20 EDT
  94. Date: Fri, 1996 May 31   22:22 EDT
  95. From:  (John F. Chandler)JCHBN@CUVMB.CC.COLUMBIA.EDU
  96. To:  (Frank da Cruz)fdc@watsun.CC.COLUMBIA.EDU,
  97.          (Christine M Gianone)cmg@watsun.CC.COLUMBIA.EDU,
  98.          (Jeffrey Altman)jaltman@watsun.CC.COLUMBIA.EDU,
  99.          (Joe Doupnik)JRD@cc.usu.edu,  (Terry Kennedy)TERRY@SPCVXA.SPC.EDU
  100. Subject: Re: A new field for Kermit init string
  101. In-reply-to: fdc@watsun.cc.columbia.edu message
  102.    <CMM.0.90.4.833593465.fdc@watsun.cc.columbia.edu> of Fri, 31 May 96 21:44:25
  103.    EDT
  104. Message-id: <JCHBN.960531.222233.RC0@CUVMB.CC.COLUMBIA.EDU>
  105.  
  106. Frank and others,
  107.  
  108. > "A small change for Kermit, a giant leap for userkind" ???
  109.  
  110. Should be a small *hop*, shouldn't it??
  111.  
  112. >  I keep wishing I had the system-type
  113. > attribute in the init string (S/I packet and Ack thereto),
  114.  
  115. I guess it can't hurt, in itself, but there is a strangeness here -- this
  116. would be the first time that a *receiving* Kermit revealed its type.  It
  117. opens all kinds of possibilities for doing special processing according
  118. to the target system -- but Kermit practice has always been geared
  119. toward sending things generically and doing the special treatment at the
  120. receiving end.
  121.  
  122. > That's how two UNIXes know when they hook up to transfer in binary mode.
  123. > We could do that too if we wanted.  Advantage: no more accidental trashing of
  124. > binary files in UNIX-to-UNIX (or any other pair that makes sense) transfers.
  125.  
  126. On the other hand, we have worked very hard to implement proper
  127. character translations in Kermit.  International transfers may need to
  128. stay "manual".
  129.  
  130. I note that IBM mainframes nearly always are talking to UNlike systems.
  131. The major exception is when the mainframe is "talking to itself" as in
  132. the case of replaying a "canned" Kermit transfer to install a file.
  133. Basically, I don't see much mileage for K370 here.  Oh, well...
  134.  
  135. >  let's add a length-encoded field at CAPAS+9,
  136. > which is exactly the same as the length-encoded System ID attribute from the A
  137. > packet.  OK?
  138.  
  139. Do we include the "." that says "this is the System ID attribute"?  Or
  140. do we start with the length byte?
  141.  
  142.                                         John
  143.  
  144.  1-Jun-96  3:34:27-GMT,3370;000000000005
  145. Received: from barney.usu.edu (barney.usu.edu [129.123.1.89]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id XAA23251; Fri, 31 May 1996 23:34:26 -0400 (EDT)
  146. Received: from cc.usu.edu by cc.usu.edu (PMDF V5.0-5 #11556)
  147.  id <01I5DBYCJ84W8ZYOUN@cc.usu.edu>; Fri, 31 May 1996 21:34:17 -0600 (MDT)
  148. Date: Fri, 31 May 1996 21:34:17 -0600 (MDT)
  149. From: Joe Doupnik <JRD@cc.usu.edu>
  150. Subject: Re: A new field for Kermit init string
  151. To: JCHBN@CUVMB.CC.COLUMBIA.EDU
  152. Cc: FDC@WATSUN.CC.COLUMBIA.EDU, TERRY@SPCVXA.SPC.EDU,
  153.         CMG@WATSUN.CC.COLUMBIA.EDU
  154. Message-id: <01I5DBYCJAYQ8ZYOUN@cc.usu.edu>
  155. X-VMS-To: IN%"JCHBN@CUVMB.CC.COLUMBIA.EDU"
  156. X-VMS-Cc: 
  157.  FDC@WATSUN.CC.COLUMBIA.EDU,TERRY@SPCVXA.SPC.EDU,CMG@WATSUN.CC.COLUMBIA.EDU,JRD
  158. MIME-version: 1.0
  159. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  160. Content-transfer-encoding: 7BIT
  161.  
  162. John,
  163.     I interpreted the new material to be <count+32><ident bytes>,
  164. such as "U8  where 32+2 = " and U8 is portable MSDOS. No dot attribute
  165. introducer. I just added this to the spar/rpar S/I parsing routines in
  166. MSK. The controlling user level commands and attendent "if kith&kin then
  167. binary on them" code have not been added yet.
  168.         Yes, there is a violation of the general rules if automatic mode
  169. selection occurs via this mechanism since it zaps the character set finesse
  170. we struggled with for years. So the default mode could be to not do this,
  171. as the group wishes.
  172.         Joe D.
  173. -------
  174. Attachment: MSK client to CK server, sending file ker.lnk, receiving it,
  175. deleting the debris on the Unix side, bye. Recorded on the MSK client:
  176.  
  177.                   vvv---------- these three bytes added for MS-DOS
  178. Spack: ^A8 S~( @-#Y3~^$5% ___D"U87^M
  179. Rpack: ^A5 Y~* @-#Y3~^$5$0___E^^M
  180. Spack: ^A,!FKER.LNK-'9^M
  181. Rpack: ^A,!Yker.lnk+QK^M
  182.                     vvv------ regular place for sysid
  183. Spack: ^AN"A1#233!!1#119960407 20:28:32."U8"#AMJ*!A@ '_Q^M
  184. Rpack: ^A%"Y.5!^M
  185. Spack: ^A #D"X!msscmd+msscom+mssfil+mssker+mssrcv+m~#scp+m~#sen+m~#ser
  186. +#M#Jm~#set+m~#sho+msster+msgibm+msuibm+msxibm+msyibm+mszibm+#M#Jmsntn
  187. i+msnpdi+msntnd+msntcp+msnsed+msndns+msnarp+msnbtp+#M#Jmsnicm+msnpkt+m
  188. snlib+msnut1#M#JKermit/nodefaultlib/exepack;#M#J-_F^M
  189. Spack: ^A%$Z(,*^M
  190. Rpack: ^A%#Y/R9^M
  191. Rpack: ^A%$Y+&1^M
  192. Spack: ^A%%B 8;^M
  193. Rpack: ^A%%Y*A)^M
  194. Spack: ^A8 I~( @-#Y3~^!5% ___D"U8*^M
  195. Rpack: ^A5 Y~* @-#Y3~^$5$0___E^^M
  196. Spack: ^A* Rker.lnk2^M
  197. Rpack: ^A5 S~* @-#Y3~^$5$0___EX^M
  198. Spack: ^A8 Y~( @-#Y3~^$5% ___D"U8=^M
  199. Rpack: ^A,!FKER.LNK-'9^M
  200. Spack: ^A/!Y g:KER.LNK((>^M
  201. Rpack: ^AN"A."U1"#AMJ*!A#119960407 20:28:32!!11#228@ *UH^M
  202. Spack: ^A%"Y.5!^M
  203. Rpack: ^A #D"X!msscmd+msscom+mssfil+mssker+mssrcv+m~#scp+m~#sen+m~#ser
  204. +#M#Jm~#set+m~#sho+msster+msgibm+msuibm+msxibm+msyibm+mszibm+#M#Jmsntn
  205. i+msnpdi+msntnd+msntcp+msnsed+msndns+msnarp+msnbtp+#M#Jmsnicm+msnpkt+m
  206. snlib+msnut1#M#JKermit/nodefaultlib/exepack;#M#J-_F^M
  207. Spack: ^A%#Y/R9^M
  208. Rpack: ^A%$Z(,*^M
  209. Spack: ^A%$Y+&1^M
  210. Rpack: ^A%%B 8;^M
  211. Spack: ^A%%Y*A)^M
  212. Spack: ^A8 I~( @-#Y3~^!5% ___D"U8*^M
  213. Rpack: ^A5 Y~* @-#Y3~^$5$0___E^^M
  214. Spack: ^A, GE'ker.lnkV^M
  215. Rpack: ^A5 S~* @-#Y3~^$5$0___EX^M
  216. Spack: ^A8 Y~( @-#Y3~^$5% ___D"U8=^M
  217. Rpack: ^A+!Xdelete$1-^M
  218. Spack: ^A)!Y CON(]B^M
  219. Rpack: ^A3"A."U1"#AMJ*!A@ "P6^M
  220. Spack: ^A%"Y.5!^M
  221. Rpack: ^A #D!"-#M#JDeleting ker.lnk#M#J#M#J~$ deleted: ker.lnk#M#J#M#J
  222. 1 file deleted, 228 bytes freed#M#J#M#J-:B^M
  223. Spack: ^A%#Y/R9^M
  224. Rpack: ^A%$Z(,*^M
  225. Spack: ^A%$Y+&1^M
  226. Rpack: ^A%%B 8;^M
  227. Spack: ^A%%Y*A)^M
  228. Spack: ^A$ GL:^M
  229. Rpack: ^A# Y>^M
  230.  
  231.  
  232.  1-Jun-96 17:30:18-GMT,1799;000000000001
  233. Received: from SLEEPY.USU.EDU (sleepy.usu.edu [129.123.1.85]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id NAA14269; Sat, 1 Jun 1996 13:30:17 -0400 (EDT)
  234. Received: from cc.usu.edu by cc.usu.edu (PMDF V5.0-5 #11556)
  235.  id <01I5E55Z56CW8ZYOH5@cc.usu.edu>; Sat, 01 Jun 1996 11:30:07 -0600 (MDT)
  236. Date: Sat, 01 Jun 1996 11:30:07 -0600 (MDT)
  237. From: Joe Doupnik <JRD@cc.usu.edu>
  238. Subject: Re: auto file transfer mode
  239. To: FDC@WATSUN.CC.COLUMBIA.EDU
  240. Cc: JCHBN@CUVMB.CC.COLUMBIA.EDU, TERRY@SPCVXA.SPC.EDU,
  241.         CMG@WATSUN.CC.COLUMBIA.EDU
  242. Message-id: <01I5E55ZCX5E8ZYOH5@cc.usu.edu>
  243. X-VMS-To: FDC@WATSUN.CC.COLUMBIA.EDU
  244. X-VMS-Cc: 
  245.  JCHBN@CUVMB.CC.COLUMBIA.EDU,TERRY@SPCVXA.SPC.EDU,CMG@WATSUN.CC.COLUMBIA.EDU,JRD
  246. MIME-version: 1.0
  247. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  248. Content-transfer-encoding: 7BIT
  249.  
  250. Frank and the group,
  251.  
  252.     I tacked in the code to try the proposed automatic file transfer
  253. mode sensing scheme. It goes like this in MSK/today's-edition:
  254.     I/S packets have the system ident attached as per spec. That's
  255. "U8  where " is byte count of two, U is portable o/s, 8 is MS-DOS.
  256.     New command SET TRANSFER MODE {Automatic, Manual} has been added,
  257. with the default being manual (as we were before). SHOW PROTOCOL reveals
  258. the current setting.
  259.     If automatic mode is selected then the response to I/S packets
  260. is checked first for the sysid matching the MSK side. If it matches then
  261. automatic mode forces a "set file type binary", else manual mode skips
  262. this set file type binary operation.
  263.     The consequence is "automatic" and between like systems forces 
  264. SET FILE TYPE BINARY and it sticks that way. There is the carry over of this
  265. setting from network session to network session, alas.
  266.         I'll put a copy of MSK v3.15 1 June 96 in my watsun account as
  267. binary file msk315.exe.
  268.         Joe D.
  269.  
  270. From fdc Sat Jun  1 20:39:41 1996
  271. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id UAA00949; Sat, 1 Jun 1996 20:39:23 -0400 (EDT)
  272. Date: Sat, 1 Jun 96 20:39:22 EDT
  273. From: Frank da Cruz <fdc@WATSUN.CC.COLUMBIA.EDU>
  274. To: Joe Doupnik <JRD@cc.usu.edu>
  275. Cc: JCHBN@CUVMB.CC.COLUMBIA.EDU, TERRY@SPCVXA.SPC.EDU,
  276.         CMG@WATSUN.CC.COLUMBIA.EDU,
  277.         Jeffrey Altman <jaltman@WATSUN.CC.COLUMBIA.EDU>
  278. Subject: Re: auto file transfer mode
  279. In-Reply-To: Your message of Sat, 01 Jun 1996 11:30:07 -0600 (MDT)
  280. Message-ID: <CMM.0.90.4.833675962.fdc@watsun.cc.columbia.edu>
  281.  
  282. >     I tacked in the code to try the proposed automatic file transfer
  283. > mode sensing scheme. It goes like this in MSK/today's-edition:
  284. >     I/S packets have the system ident attached as per spec. That's
  285. > "U8  where " is byte count of two, U is portable o/s, 8 is MS-DOS.
  286. >
  287. Works just right.  I did the same in C-Kermit, but with many and varied 
  288. system ID codes for UNIX, OS/2, OS-9, VMS, AOS/VS, VOS, etc.
  289.  
  290. The associated name (e.g. "UNIX" for U1, "MS-DOS" for U8, etc) goes into
  291. the transaction log, and also gets displayed on the file transfer screen.
  292.  
  293. >     New command SET TRANSFER MODE {Automatic, Manual} has been added,
  294. > with the default being manual (as we were before). SHOW PROTOCOL reveals
  295. > the current setting.
  296. >
  297. Here too, except default is automatic.  Probably should be in MSK too, since
  298. MSK is not going to be used that often for transferring files with other MSKs.
  299.  
  300. >     If automatic mode is selected then the response to I/S packets
  301. > is checked first for the sysid matching the MSK side. If it matches then
  302. > automatic mode forces a "set file type binary", else manual mode skips
  303. > this set file type binary operation.
  304. >
  305. The criterion for MSK switching into binary mode (and literal filenames)
  306. should be not just that the other end is U8, but also UO (OS/2), UN (NT),
  307. or K2 (GEMDOS) -- they all have the same file structure and naming (give or
  308. take length of filenames).
  309.  
  310. Also, it should be stated that this business takes precedence over the WHATAMI
  311. stuff from two years ago, since it is more likely to compensate for a mis-set
  312. FILE TYPE.
  313.  
  314. >     The consequence is "automatic" and between like systems forces 
  315. > SET FILE TYPE BINARY and it sticks that way. There is the carry over of this
  316. > setting from network session to network session, alas.
  317. >
  318. So as suggested earlier, maybe binary/text mode should be sticky per network
  319. session?  (No worries about this in C-Kermit -- only one session.)
  320.  
  321. >         I'll put a copy of MSK v3.15 1 June 96 in my watsun account as
  322. > binary file msk315.exe.
  323. Using it now, works great, but still has those three key map oddities:
  324.  
  325.             Is          Should be
  326. Backspace   Undefined   \127
  327. Ctrl-SP     \0          \Knull
  328. Ctrl-@      \0          \Knull
  329.  
  330. Also, I realized that the proposed SET FILE NAMES { CONVERTED, LITERAL,
  331. AUTOMATIC } was useless -- don't need it.  Instead, it's just CONVERTED and
  332. LITERAL (as before), but bundled in with the transfer-mode switching, if any.
  333. (Remember, this is still separate from { SEND, RECEIVE } PATHNAMES.)
  334.  
  335. So far so good.  Works great UNIX-to-UNIX, UNIX/MS-DOS, UNIX/VMS, etc.
  336. For VMS/VMS and OS2/OS2 we use labeled mode, but I haven't tested this yet.
  337.  
  338. Kermit-370 probably just needs to send the system ID and nothing more.  Then
  339. at least the other Kermits can note on their display screens and/or
  340. transaction logs that the file came from MVS or VM/CMS or CICS, etc.
  341.  
  342. Having no shame, I roughed in a quick "database" for C-Kermit regarding 
  343. other system types in case we want to do something special with them:
  344.  
  345. /* Kermit system IDs and associated properties... */
  346.  
  347. struct sysdata {
  348.     char *sid_code;    /* Kermit system ID code */
  349.     char *sid_name;    /* Descriptive name */
  350.     short sid_unixlike;    /* Flag: Tree-structured directory with separators */
  351.     char  sid_dirsep;    /* Directory separator character if unixlike */
  352.     short sid_dev;    /* Filespec can start with dev: */
  353.     short sid_case;    /* Bit mapped: 1 = case matters, 2 = case preserved */
  354.     short sid_recfm;    /* Text record separator */
  355. /*
  356.    Recfm:
  357.    0 = unknown or nonstream
  358.    1 = cr
  359.    2 = lf
  360.    3 = crlf
  361. */
  362. };
  363.  
  364. Haven't used any of this yet, but maybe tomorrow I'll add a few lines of
  365. code for \ / conversion, dev: stripping, etc, and report back.
  366.  
  367. Meanwhile, here's a rough first cut at a table for some system types,
  368. probably most of them wrong in the details...
  369.  
  370. struct sysdata sysidlist[] = {        /* Add others as needed... */
  371.     "A1", "Apple II",     0, NUL,  0, 0, 3, /* fix this */
  372.     "A3", "Macintosh",    1, ':',  0, 2, 1,
  373.     "D7", "VMS",          0, ']',  1, 0, 0,
  374.     "DA", "RSTS/E",       0, ']',  1, 0, 3, /* (i think...) */
  375.     "DB", "RT11",         0, NUL,  1, 0, 3, /* (maybe...) */
  376.     "F3", "AOS/VS",       1, ':',  0, 0, 2, 
  377.     "I1", "VM/CMS",       0, NUL,  0, 0, 0,
  378.     "I2", "MVS/TSO",      0, NUL,  0, 0, 0,
  379.     "I4", "MUSIC",        0, NUL,  0, 0, 0,
  380.     "I7", "CICS",         0, NUL,  0, 0, 0,
  381.     "I9", "MVS/ROSCOE",   0, NUL,  0, 0, 0,
  382.     "K2", "Atari ST",     1, '\\', 1, 0, 3,
  383.     "L3", "Amiga",        1, '/',  1, 0, 2,
  384.     "MV", "Stratus VOS",  1, '>',  0, 1, 0,
  385.     "N3", "Apollo Aegis", 1, '/',  0, 3, 2,
  386.     "U1", "UNIX",         1, '/',  0, 3, 2,
  387.     "U8", "MS-DOS",       1, '\\', 1, 0, 3,
  388.     "UD", "OS-9",         1, '/',  0, 3, 2,
  389.     "UN", "Windows-32",   1, '\\', 1, 2, 3,
  390.     "UO", "OS/2",         1, '\\', 1, 2, 3
  391. };
  392.  
  393. I think the discerning user will love this feature; the regular user will
  394. never know about it because it will just do what was always supposed to happen
  395. anyway...
  396.  
  397. - Frank
  398.  
  399.  
  400. From fdc Sun Jun  2 10:02:37 1996
  401. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id KAA11823; Sun, 2 Jun 1996 10:02:34 -0400 (EDT)
  402. Date: Sun, 2 Jun 96 10:02:34 EDT
  403. From: Frank da Cruz <fdc@WATSUN.CC.COLUMBIA.EDU>
  404. To: Joe Doupnik <JRD@cc.usu.edu>
  405. Cc: jaltman@columbia.edu, JCHBN@CUVMB.CC.COLUMBIA.EDU, TERRY@SPCVXA.SPC.EDU,
  406.         CMG@WATSUN.CC.COLUMBIA.EDU
  407. Subject: Re: auto file transfer mode
  408. In-Reply-To: Your message of Sat, 01 Jun 1996 20:05:48 -0600 (MDT)
  409. Message-ID: <CMM.0.90.4.833724154.fdc@watsun.cc.columbia.edu>
  410.  
  411. Clarifications -- my little table of system properties has nothing to do with
  412. Kermit protocol or negotiations, and I certainly don't want to get (very much)
  413. into the n x n problems.  Didn't explain things verbosely enough yesterday,
  414. which is abnormal, I know :-)
  415.  
  416. The "unixlike" flag means that pathnames are a sequence of directory names,
  417. separated by a single character like / or \ or :, that can be easily replaced
  418. by another single char if two systems are "unixlike" but use different
  419. separators.  If "dev" is set, then the name can start with a device name and
  420. colon (as in, not only DOS and VMS, but AmigaDOS, which has an otherwise
  421. "unixlike" file system).  Thus VMS (RSTS, etc) can't be unixlike because it
  422. uses [...] pairs.  But that is not to say that a (groan) "knowledge base"
  423. can't be constructed to handle this format.  The database only says what it
  424. is, not what we'll do with it.  But hard cases like VMS can't be table-driven.
  425.  
  426. The "recfm" byte is similar.  It applies to stream-format file systems in
  427. which text records end in a particular character or sequence, such as CR, LF,
  428. or CRLF.  If they don't, this is 0, meaning "I don't understand this file
  429. format".
  430.  
  431. Jeff said:
  432.  
  433. > I was just thinking that OS type might not be enough information.  In
  434. > fact, the reality is that we really don't care much about the OS, but
  435. > instead we care about the file system type.
  436. >
  437. > On Windows-32 or OS/2 or AIX for that matter, it probably makes a
  438. > difference whether we are transfering from/to a particular file system.
  439. > OS/2 uses FAT 8.3 notation when receiving on FAT, or Novell mounted
  440. > drives;  HPFS long file names on HPFS; and NFS names on a NFS mount.
  441. >
  442. I'm not worried about this.  We already handle filename conversion.  If a
  443. long-named file whose name contains seventeen dots plus imbedded spaces and
  444. full-motion video Java objects comes in to an 8.3 FAT system, we'll shrink the
  445. name to fit -- we always have.  But the text format (lines with CRLF) is the
  446. same in all cases.  (If new plain-text formats appear, we'll have to do
  447. something about it.)
  448.  
  449. If a foreign file system is mounted on my computer, it is mapped into my local
  450. naming and formatting conventions, right?  If not, I'm not gonna worry about
  451. it now.
  452.  
  453. Joe said:
  454. >
  455. >    I didn't expect to see the NxN problem arise here and I wish it
  456. > would quietly go away. Honestly I have no faith at all in computer
  457. > programs figuring out the proper file transfer mode by themselves.
  458. >
  459. I've always felt the same way, but then again, I'm the guy who gets 500
  460. complaints a day about files that were garbaged because they were transferred
  461. in the wrong mode (not to mention the taunts from Chuck about Kermit's
  462. "default file corruption mode"), so if there is something we can do about that
  463. is relatively easy to program, easy to explain, and "failsafe", it's worth it,
  464. no?
  465.  
  466. The lesson of the 90s is that users don't want to have to know anything --
  467. not even anything as simple as "set file type binary".   They demand that
  468. software "does the right thing" because "computers are supposed to be smart".
  469.  
  470. > And, to take but one common example here, no one wants to transfer a text
  471. > file in binary mode between two VMS VAXen. That means even file system names
  472. > per se are insufficient to define matters.
  473. >
  474. That's what is so terrific about labeled transfer mode.  VMS-to-VMS transfers
  475. will go in labeled mode, and therefore *all* files, even ISAM ones, will be
  476. transferred correctly.
  477.  
  478. Anyway, let me try a few proof-in-pudding experiments today and see how this
  479. feels...  If it can't be kept simple and explainable and foolproof, it might
  480. not be worth doing.  But so far it's working out pretty well.  Maybe we don't
  481. need the table or one-sided conversions at all.
  482.  
  483. - Frank
  484.  
  485.  2-Jun-96 15:16:31-GMT,1403;000000000001
  486. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id LAA19115; Sun, 2 Jun 1996 11:16:18 -0400 (EDT)
  487. Date: Sun, 2 Jun 96 11:16:18 EDT
  488. From: Frank da Cruz <fdc@WATSUN.CC.COLUMBIA.EDU>
  489. To: Joe Doupnik <JRD@cc.usu.edu>
  490. Cc: JCHBN@CUVMB.CC.COLUMBIA.EDU, TERRY@SPCVXA.SPC.EDU,
  491.         CMG@WATSUN.CC.COLUMBIA.EDU
  492. Subject: Re: auto file transfer mode
  493. In-Reply-To: Your message of Sat, 01 Jun 1996 11:30:07 -0600 (MDT)
  494. Message-ID: <CMM.0.90.4.833728578.fdc@watsun.cc.columbia.edu>
  495.  
  496. Well now that I've had some coffee and time for a little more testing, I'm
  497. satisfied with it as it is.  Forget the table and the n x n stuff, at least
  498. for now.  Just automatically switching into binary (or labeled) and
  499. literal-filename mode based on system ID is quite enough for one weekend.
  500. It feels good, it feels right.
  501.  
  502. VMS-to-VMS transfers automatically pop into labeled mode, as they should, and
  503. the results (based on inspection plus DIRECTORY/FULL, etc) are perfect, so I
  504. assume the same will be true of OS/2-to-OS/2 transfers.  And of course (back
  505. to VMS) we don't worry that the Kermit on the other end is really Kermit-32,
  506. because it will never send its system ID in the init string.  (Putting the
  507. program name and version number in the init string would be going too far...)
  508.  
  509. The other stuff is, of course, a can of worms and best avoided.
  510.  
  511. So now on to the next thing, whatever it is...
  512.  
  513. - Frank
  514.  
  515.  2-Jun-96  0:51:37-GMT,1730;000000000001
  516. Received: from spcvxa.spc.edu (spcvxa.spc.edu [192.107.46.27]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id UAA01961 for <fdc@WATSUN.CC.COLUMBIA.EDU>; Sat, 1 Jun 1996 20:51:36 -0400 (EDT)
  517. Received: from spcvxa.spc.edu by spcvxa.spc.edu (PMDF V5.0-7 #14038)
  518.  id <01I5EOWYKMNK8WVZ9U@spcvxa.spc.edu> for fdc@WATSUN.CC.COLUMBIA.EDU; Sat,
  519.  01 Jun 1996 20:51:30 -0400 (EDT)
  520. Date: Sat, 01 Jun 1996 20:51:30 -0400 (EDT)
  521. From: "Terry Kennedy, Operations Mgr" <TERRY@spcvxa.spc.edu>
  522. Subject: Re: auto file transfer mode
  523. To: fdc@WATSUN.CC.COLUMBIA.EDU
  524. Message-id: <01I5EOWYLP8I8WVZ9U@spcvxa.spc.edu>
  525. Organization: St. Peter's College, US
  526. X-VMS-To: IN%"fdc@WATSUN.CC.COLUMBIA.EDU"
  527. X-VMS-Cc: TERRY
  528. MIME-version: 1.0
  529. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  530. Content-transfer-encoding: 7BIT
  531.  
  532. [Just to you, I'm too tired to type in the whole CC list to VMS mail 8-]
  533. > struct sysdata sysidlist[] = {        /* Add others as needed... */
  534. >     "D7", "VMS",          0, ']',  1, 0, 0,
  535.  
  536.   Note that on VMS a complete filespec like:
  537.  
  538. $1$DIA0:[SYS0.][SYSCOMMON.SYSEXE]FOO.BAR;6
  539.  
  540.   is valid, so the dirsep has to be the most right-hand occurrance of the
  541. dirsep character.
  542.  
  543. >     "DA", "RSTS/E",       0, ']',  1, 0, 3, /* (i think...) */
  544.  
  545.   Yes.
  546.  
  547.   Note that both RSTS/E and VMS support RMS files. RSTS/E also supports a
  548. native stream-ish format.
  549.  
  550.   I don't know that the refm byte is going to buy us much of anything, ex-
  551. cept in the cases of sender and recipient both being the same non-zero
  552. value, in which case binary mode ought to work just as well (except for
  553. character set conversion). Certainly a pair of 0's don't know enough to
  554. negotiate the proper type, even if they're (for example) both VMS boxes
  555. unless labeled mode is used.
  556.  
  557.     Terry
  558.  
  559.  2-Jun-96 17:43:27-GMT,2090;000000000011
  560. Received: from spcvxa.spc.edu (spcvxa.spc.edu [192.107.46.27]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id NAA02904 for <fdc@WATSUN.CC.COLUMBIA.EDU>; Sun, 2 Jun 1996 13:43:26 -0400 (EDT)
  561. Received: from spcvxa.spc.edu by spcvxa.spc.edu (PMDF V5.0-7 #14038)
  562.  id <01I5FOATE3EO8WVZ9U@spcvxa.spc.edu> for fdc@WATSUN.CC.COLUMBIA.EDU; Sun,
  563.  02 Jun 1996 13:43:20 -0400 (EDT)
  564. Date: Sun, 02 Jun 1996 13:43:20 -0400 (EDT)
  565. From: "Terry Kennedy, Operations Mgr" <TERRY@spcvxa.spc.edu>
  566. Subject: Re: auto file transfer mode
  567. To: fdc@WATSUN.CC.COLUMBIA.EDU
  568. Message-id: <01I5FOATF5ZM8WVZ9U@spcvxa.spc.edu>
  569. Organization: St. Peter's College, US
  570. X-VMS-To: IN%"fdc@WATSUN.CC.COLUMBIA.EDU"
  571. X-VMS-Cc: TERRY
  572. MIME-version: 1.0
  573. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  574. Content-transfer-encoding: 7BIT
  575.  
  576. > VMS-to-VMS transfers automatically pop into labeled mode, as they should, and
  577. > the results (based on inspection plus DIRECTORY/FULL, etc) are perfect, so I
  578. > assume the same will be true of OS/2-to-OS/2 transfers.  And of course (back
  579. > to VMS) we don't worry that the Kermit on the other end is really Kermit-32,
  580. > because it will never send its system ID in the init string.  (Putting the
  581. > program name and version number in the init string would be going too far...)
  582.  
  583.   Note that in some cases labeled->labeled will fail - if the user doesn't
  584. have the priv to set the ownership/create the file in the directory, etc.
  585. I'd suggest trying it as a non-priv'd user. If this becomes part of the
  586. regular Kermit stuff, we may want to change the defaults for some of the
  587. labeled options.
  588.  
  589.   Also, remember that in labeled mode we don't have a good way to send the
  590. real error back to the sender's Kermit because we've already said we will
  591. accept the file (there's no provision in the Kermit protocol for fancy error
  592. messages once we accept the start of the file) so if you're extending the
  593. protocol, this might be a good time to add that (we can add a "accept funky
  594. error status during transfers" flag to the just-added system type info, so
  595. we don't send errors to Kermits that can't support them).
  596.  
  597.     T.
  598.  
  599.  2-Jun-96 17:58:59-GMT,2511;000000000001
  600. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id NAA04361; Sun, 2 Jun 1996 13:58:51 -0400 (EDT)
  601. Date: Sun, 2 Jun 96 13:58:51 EDT
  602. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  603. To: "Terry Kennedy, Operations Mgr" <TERRY@spcvxa.spc.edu>
  604. Subject: Re: auto file transfer mode
  605. In-Reply-To: Your message of Sun, 02 Jun 1996 13:43:20 -0400 (EDT)
  606. Message-ID: <CMM.0.90.4.833738331.fdc@watsun.cc.columbia.edu>
  607.  
  608. > Note that in some cases labeled->labeled will fail - if the user doesn't
  609. > have the priv to set the ownership/create the file in the directory, etc.
  610. > I'd suggest trying it as a non-priv'd user.
  611. >
  612. Worked fine for me here, but who knows how priviledged I am -- not very,
  613. I don't think...
  614.  
  615. > If this becomes part of the
  616. > regular Kermit stuff, we may want to change the defaults for some of the
  617. > labeled options.
  618. Definitely, if this is likely to bite some people -- or at least recover
  619. gracefully from failure to set certain items if the needed privilege is
  620. lacking.
  621.  
  622. > Also, remember that in labeled mode we don't have a good way to send the
  623. > real error back to the sender's Kermit because we've already said we will
  624. > accept the file (there's no provision in the Kermit protocol for fancy error
  625. > messages once we accept the start of the file) so if you're extending the
  626. > protocol, this might be a good time to add that (we can add a "accept funky
  627. > error status during transfers" flag to the just-added system type info, so
  628. > we don't send errors to Kermits that can't support them).
  629. Well...  We can send a fatal error message (E packet) at any time.  There is
  630. also provision for a non-fatal information message in the data phase of a
  631. transfer (M packet) though this has never been implemented anywhere.
  632.  
  633. Speaking of privilege, do you know what the deal is with Rlogin in VMS?
  634. I've got an Rlogin client going now, but I need to "set proc/priv=all".
  635. I know that 513 is a "privileged port" in BSD sockets implementations (so
  636. therefore in all UNIXes), and I guess UCX, TGV, etc, are imitating BSD in
  637. this respect.  Exactly which privilege is needed, and is there a way for
  638. the system manager to make Rlogin clients not need privilege?
  639.  
  640. Finally, if you ever get a few spare hours there are several things badly
  641. needing attention in VMS C-Kermit, that are beyond me, and (typically) nobody
  642. else is stepping up, despite incessant cajoling :-)  I *have* accomplished
  643. some things on my own, though -- VMS C-Kermit now accepts incoming TCP
  644. connections, etc...
  645.  
  646. Thanks!
  647.  
  648. - Frank
  649.  
  650.  3-Jun-96 17:44:10-GMT,2078;000000000011
  651. 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 NAA07363; Mon, 3 Jun 1996 13:44:09 -0400 (EDT)
  652. Received: from CUVMB.CC.COLUMBIA.EDU by CUVMB.CC.COLUMBIA.EDU (IBM VM SMTP V2R1)
  653.    with BSMTP id 8930; Mon, 03 Jun 96 13:43:38 EDT
  654. Date: Mon, 1996 Jun 3   13:16 EDT
  655. From:  (John F. Chandler)JCHBN@CUVMB.CC.COLUMBIA.EDU
  656. To:  (Frank da Cruz)fdc@WATSUN.CC.COLUMBIA.EDU,  (Joe Doupnik)JRD@cc.usu.edu,
  657.         TERRY@SPCVXA.SPC.EDU, CMG@WATSUN.CC.COLUMBIA.EDU,
  658.          (Jeffrey Altman)jaltman@WATSUN.CC.COLUMBIA.EDU
  659. Subject: Re: auto file transfer mode
  660. In-reply-to: fdc@WATSUN.CC.COLUMBIA.EDU message
  661.    <CMM.0.90.4.833675962.fdc@watsun.cc.columbia.edu> of Sat, 1 Jun 96 20:39:22
  662.    EDT
  663. Message-id: <JCHBN.960603.131606.RC0@CUVMB.CC.COLUMBIA.EDU>
  664.  
  665. > it should be stated that this business takes precedence over the WHATAMI
  666. > stuff from two years ago, since it is more likely to compensate for a mis-set
  667. > FILE TYPE.
  668.  
  669. This is only one-way, though.  I.e., once it forces BINARY, there's no
  670. corresponding mechanism to go back to TEXT if the user ends one session
  671. and starts another, talking to an unlike system.  The result is to make
  672. Kermit seem more mysterious and unpredictable to the average user.
  673.  
  674. > Kermit-370 probably just needs to send the system ID and nothing more.
  675.  
  676. I've made the update.
  677.  
  678. >     "I1", "VM/CMS",       0, NUL,  0, 0, 0,
  679. >     "I4", "MUSIC",        0, NUL,  0, 0, 0,
  680.  
  681. Now, this is an interesting point.  MUSIC actually has DOS-like names
  682. nowadays, and even has "owner:" prefixes.  In principle, Kermit could
  683. send file names in the full form, rather than canonical.  However, it
  684. doesn't at present, and no one has ever requested that option.  Indeed,
  685. even CMS now has hierarchical directory structures, though the CUVMB
  686. system has made a policy of not allowing them to be used (too buggy in
  687. the early releases, I guess), and even when available, these directory
  688. named are still used only to map onto ordinary CMS disk mode letters.
  689.  
  690.                                               John
  691.  
  692.  4-Jun-96  1:36:52-GMT,3491;000000000001
  693. Received: from barney.usu.edu (barney.usu.edu [129.123.1.89]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id VAA22972; Mon, 3 Jun 1996 21:36:51 -0400 (EDT)
  694. Received: from cc.usu.edu by cc.usu.edu (PMDF V5.0-5 #11556)
  695.  id <01I5HEC1U7Y88ZZN7T@cc.usu.edu>; Mon, 03 Jun 1996 19:36:44 -0600 (MDT)
  696. Date: Mon, 03 Jun 1996 19:36:44 -0600 (MDT)
  697. From: Joe Doupnik <JRD@cc.usu.edu>
  698. Subject: Re: Auto-sense, mod to spec
  699. To: fdc@WATSUN.CC.COLUMBIA.EDU
  700. Cc: JALTMAN@COLUMBIA.EDU, CMG@WATSUN.CC.COLUMBIA.EDU,
  701.         JCHBN@CUVMB.CC.COLUMBIA.EDU, TERRY@SPCVXA.SPC.EDU
  702. Message-id: <01I5HEC1UAS28ZZN7T@cc.usu.edu>
  703. X-VMS-To: IN%"fdc@watsun.cc.columbia.edu"
  704. X-VMS-Cc: 
  705.  JALTMAN@COLUMBIA.EDU,CMG@WATSUN.CC.COLUMBIA.EDU,JCHBN@CUVMB.CC.COLUMBIA.EDU,TERRY@SPCVXA.SPC.EDU,JRD
  706. MIME-version: 1.0
  707. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  708. Content-transfer-encoding: 7BIT
  709.  
  710. > 1. We agree that whenever we enter protocol mode, we save the user's
  711. >    file-type and file-names settings, and restore them upon exit from
  712. >    protocol mode.  Thus any auto-anything that happens during protocol
  713. >    is not sticky.
  714.  
  715.     I think MSK has this characteristic already, implicitly by other
  716. means.
  717.  
  718. > 2. The system ID string should be sent only if the sender of it is
  719. >    prepared to do the automatic mode switching.
  720. >
  721. >BUT...  If it is not sent, something must be sent in its place because
  722. >the init string parameters are positional, and we need to design ahead to
  723. >allow for addition of subsequent fields.
  724. >
  725. >Since the system ID begins with a length field, then to indicate that we don't
  726. >have one, we can (a) leave it off entirely, as this is presently the rightmost
  727. >defined field (so Joe's solution is OK for now), or (b) include a length field
  728. >of 0, to indicate there is no system ID, and that the next parameter (not yet
  729. >defined) follows immediately.
  730. >
  731. >But zero translates to space, and we all know what a bad idea trailing spaces
  732. >are, and (due to the lack of foresight of whoever designed this thing
  733. >originally) the checksum on the S/I/Y packet can itself be a blank.  Thus we
  734. >could have two trailing blanks that could easily be chopped off in transit.
  735.  
  736.     Yes, I too was worried about trailing blanks, even though I stuck them
  737. in as placeholders this afternoon.
  738.  
  739. >So let us define a new "system ID" of "anonymous", and its code is "0" (zero).
  740. >And let's say that to indicate that "I am not prepared to do automatic mode
  741. >switching based on System ID" (e.g. because the user SET TRANSFER MODE
  742. >MANUAL), we send "!0" (! = length 1, 0 = anonymous system ID).
  743.  
  744.     Done (tonight).
  745.  
  746. >Let us further expand the WHATAMI specification to say that the WHATAMI
  747. >field is blank if we do not support WHATAMI, but we do support the system ID
  748. >or later fields.  (A valid WHATAMI field always has a nonzero -- i.e. not
  749. >blank -- value.)
  750.  
  751.     WHATAMI field is self describing, in that "bit 5" must be on to
  752. say valid, like this (doc clipping):
  753.  
  754. The layout of the (unencoded) WHATAMI field is:
  755.  
  756.     Bit 5    Bit 4      Bit 3      Bit 2    Bit 1    Bit 0
  757.   +--------+----------+----------+--------+--------+--------+
  758.   |     1  | FLAG3    | reserved | FNAMES | FMODE  | SERVER |
  759.   +--------+----------+----------+--------+--------+--------+
  760.  
  761.     The current MSK code says if "bit 5" is off then skip the byte
  762. and continue looking (for the auto-sense stuff today). So anything with
  763. "bit 5" turned off will do as a filler byte, and we have this byte present
  764. to keep the counting straight.
  765.  
  766. >Are we done?  :-)
  767.  
  768.     Seems that way to me.
  769.  
  770.     Joe D.
  771.  
  772.  4-Jun-96 21:28:42-GMT,1641;000000000011
  773. 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 RAA10726 for <fdc@watsun.CC.COLUMBIA.EDU>; Tue, 4 Jun 1996 17:28:41 -0400 (EDT)
  774. Received: from CUVMB.CC.COLUMBIA.EDU by CUVMB.CC.COLUMBIA.EDU (IBM VM SMTP V2R1)
  775.    with BSMTP id 1704; Tue, 04 Jun 96 17:26:36 EDT
  776. Date: Tue, 1996 Jun 4   17:15 EDT
  777. From:  (John F. Chandler)JCHBN@CUVMB.CC.COLUMBIA.EDU
  778. To:  (Frank da Cruz)fdc@watsun.CC.COLUMBIA.EDU,  (Joe Doupnik)JRD@cc.usu.edu,
  779.         CMG@WATSUN.CC.COLUMIBA.EDU, JALTMAN@COLUMBIA.EDU, TERRY@SPCVXA.SPC.EDU
  780. Subject: Re: Auto-sense, mod to spec
  781. In-reply-to: fdc@watsun.cc.columbia.edu message
  782.    <CMM.0.90.4.833846184.fdc@watsun.cc.columbia.edu> of Mon, 3 Jun 96 19:56:24
  783.    EDT
  784. Message-id: <JCHBN.960604.171512.RC0@CUVMB.CC.COLUMBIA.EDU>
  785.  
  786. > OK, two clarifications to the proposal:
  787. >
  788. >  1. We agree that whenever we enter protocol mode, we save the user's
  789. >     file-type and file-names settings, and restore them upon exit from
  790. >     protocol mode.
  791.  
  792. That sounds about right, although there is a possible exception for
  793. server mode.  E.g., the server can be given a REMOTE SET or
  794. REMOTE KERMIT SET.  It's not entirely clear to me that those should be
  795. erased upon leaving server mode, but it's a minor point.
  796.  
  797. >  2. The system ID string should be sent only if the sender of it is
  798. >     prepared to do the automatic mode switching.
  799.  
  800. As for Kermit-370, I think we agree that no mode switching will actually
  801. be appropriate, but it might as well send the system ID anyway, since
  802. that won't hurt anything.  Or will it??
  803.  
  804.                                            John
  805.  
  806.  4-Jun-96 21:35:37-GMT,1993;000000000005
  807. Received: (from jaltman@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id RAA11681; Tue, 4 Jun 1996 17:35:36 -0400 (EDT)
  808. Date: Tue, 4 Jun 96 17:35:36 EDT
  809. From: Jeffrey Altman <jaltman@watsun.CC.COLUMBIA.EDU>
  810. Reply-To: jaltman@columbia.edu
  811. To: JCHBN@CUVMB.CC.COLUMBIA.EDU
  812. Cc: fdc@watsun.CC.COLUMBIA.EDU, JRD@cc.usu.edu, CMG@WATSUN.CC.COLUMIBA.EDU,
  813.         TERRY@SPCVXA.SPC.EDU
  814. Subject: Re: Auto-sense, mod to spec
  815. In-Reply-To: Your message of Tue, 1996 Jun 4 17:15 EDT
  816. Message-ID: <CMM.0.90.4.833924136.jaltman@watsun.cc.columbia.edu>
  817.  
  818. > > OK, two clarifications to the proposal:
  819. > >
  820. > >  1. We agree that whenever we enter protocol mode, we save the user's
  821. > >     file-type and file-names settings, and restore them upon exit from
  822. > >     protocol mode.
  823. > That sounds about right, although there is a possible exception for
  824. > server mode.  E.g., the server can be given a REMOTE SET or
  825. > REMOTE KERMIT SET.  It's not entirely clear to me that those should be
  826. > erased upon leaving server mode, but it's a minor point.
  827.  
  828. I agree that Kermit-370 REMOTE KERMIT SET should be a permanent
  829. change.  Whereas, REMOTE SET should be for the current SERVER session.
  830.  
  831. > >  2. The system ID string should be sent only if the sender of it is
  832. > >     prepared to do the automatic mode switching.
  833. > As for Kermit-370, I think we agree that no mode switching will actually
  834. > be appropriate, but it might as well send the system ID anyway, since
  835. > that won't hurt anything.  Or will it??
  836.  
  837. Kermit-370 should send the ID so that it can be reported to the user
  838. in C-Kermit and MS-DOS Kermit.  However, no mode changes would occur
  839. with Kermit-370 unless two Kermit-370s were talking to one another.
  840.  
  841.  
  842. Jeffrey Altman * PO Box 220415 * Great Neck, NY * 11022-0415 * (516) 466-5495
  843.                * 612 West 115th St #716 * New York, NY * 10025 * (212) 854-1344
  844.   C-Kermit 5A(191) for OS/2:   http://www.columbia.edu/kermit/cko191.html
  845.   Kermit 95 for Windows 95 :   http://www.columbia.edu/kermit/k95.html
  846.  
  847.  4-Jun-96 22:40:34-GMT,1839;000000000001
  848. Received: (from fdc@localhost) by watsun.cc.columbia.edu (8.7.5/8.7.3) id SAA22084; Tue, 4 Jun 1996 18:40:29 -0400 (EDT)
  849. Date: Tue, 4 Jun 96 18:40:29 EDT
  850. From: Frank da Cruz <fdc@WATSUN.CC.COLUMBIA.EDU>
  851. To: Joe Doupnik <JRD@cc.usu.edu>
  852. Cc: JCHBN@CUVMB.CC.COLUMBIA.EDU, CMG@WATSUN.CC.COLUMBIA.EDU,
  853.         TERRY@SPCVXA.SPC.EDU, JALTMAN@COLUMBIA.EDU
  854. Subject: Re: Auto-sense, mod to spec
  855. In-Reply-To: Your message of Tue, 04 Jun 1996 16:32:19 -0600 (MDT)
  856. Message-ID: <CMM.0.90.4.833928029.fdc@watsun.cc.columbia.edu>
  857.  
  858. >     I think it's unwise to advertise a capability (sic) that one is
  859. > not prepared to implement. No telling what the other side will do in
  860. > response. Yesterday's modification to the protocol said if the Kermit will
  861. > not perform auto-sensing then it should either put no system ident in the
  862. > I/S/Y packets or put a !0 placeholder there (meaning, I understand and I
  863. > decline on this point). The placeholder is necessary to accomodate future
  864. > I/S/Y additions which would appear after this field, and thus !0 is the
  865. > recommended change for Kermit-370.
  866. Strictly speaking, this is all correct.  In practice (and from a PR point
  867. of view), however, it's OK for Kermit 370 to send its ID, because Kermit-370
  868. can never talk to itself (if that ever changes, then we will have to go
  869. back and enforce the rule), and so therefore sending its true ID has the same
  870. effect on the protocol as sending !0.
  871.  
  872. Meanwhile, there is something to be said for the dramatic impact of seeing the
  873. remote operating system name in the file transfer display and transaction log.
  874. Nobody else can do (or does) that, especially not when IBM mainframes are
  875. involved.  So I'd favor pandering to the Gee-Whiz crowd; no sense letting a
  876. perfectly good chance at harmless promotion go to waste :-)  These days we
  877. need all the boosts we can get...
  878.  
  879. - Frank
  880.  
  881.  
  882.  4-Jun-96 23:58:29-GMT,1447;000000000001
  883. 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 TAA12340; Tue, 4 Jun 1996 19:58:29 -0400 (EDT)
  884. Received: from CUVMB.CC.COLUMBIA.EDU by CUVMB.CC.COLUMBIA.EDU (IBM VM SMTP V2R1)
  885.    with BSMTP id 2001; Tue, 04 Jun 96 19:57:57 EDT
  886. Date: Tue, 1996 Jun 4   19:45 EDT
  887. From:  (John F. Chandler)JCHBN@CUVMB.CC.COLUMBIA.EDU
  888. To:  (Joe Doupnik)JRD@cc.usu.edu, FDC@WATSUN.CC.COLUMBIA.EDU,
  889.         CMG@WATSUN.CC.COLUMBIA.EDU, TERRY@SPCVXA.SPC.EDU, JALTMAN@COLUMBIA.EDU
  890. Subject: Re: Auto-sense, mod to spec
  891. In-reply-to: JRD@cc.usu.edu message <01I5IMRSKZ0I987ZSZ@cc.usu.edu> of Tue, 04
  892.    Jun 1996 16:32:19 -0600 (MDT)
  893. Message-id: <JCHBN.960604.194505.RC0@CUVMB.CC.COLUMBIA.EDU>
  894.  
  895. >     I think it's unwise to advertise a capability (sic) that one is
  896. > not prepared to implement. No telling what the other side will do in
  897. > response.
  898.  
  899. Well, yes, but...  Since no variant of K-370 supports dial-out, and the
  900. CMS variant is the only one that even implements communication through
  901. any device other than the terminal, there's a great deal of development
  902. needed before K-370 could actually talk to itself (even leaving aside
  903. the fact that the IBM mainframe-style communication won't allow a
  904. CONNECT mode for K-370).  All in all, it's pretty safe to say that I'm
  905. prepared to implement the mode-switching capability as soon as it makes
  906. any sense.
  907.                                       John
  908.  
  909.