home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / PR_RA110.ZIP / PROTO_RA.TXT < prev    next >
Text File  |  1991-11-05  |  15KB  |  335 lines

  1.  
  2.                 P r o t o _ R A   1 . 1 0
  3.  
  4. Tue  11-05-1991  17:10:56
  5.  
  6. This is a compendium on the use of external protocols with
  7. RemoteAccess.  With this are sample PROTOCOL.RA that must
  8. be modified for use with your system.  One using DSZ.COM is
  9. named PROTOCOL.DSZ and another using GSZ.EXE is named
  10. PROTOCOL.GSZ.  Rename the one which you want to use to
  11. PROTOCOL.RA before modifying it for your system.  All
  12. protocols must be set up first according to their own
  13. documentation.  Any special notes are included below, but
  14. the basic thing to remember is that you MUST set up the
  15. protocol to write a log file, and it must (of course) be the
  16. same name as the log file used in PROTOCOL.RA.
  17.  
  18. The PROTOCOL.RA samples assume you are running single node,
  19. with all protocols in the system directory.  They require a
  20. complete path if elsewhere, or (of course) if you run
  21. multinode.  With a few changes in commands, all will have
  22. enough space to fit the path in, with the exception of
  23. SZModem.  Since it MUST have the /CFGPATH parameter with
  24. version 1.50, and /DORINFO 1 in version 1.60, there is not
  25. enough room for any path, except for c:\ with 1.60 <grin> .
  26.  
  27. Note that these are set for locked bps (mine is at 38400),
  28. and must be edited for other systems.  TEST ALL PROTOCOLS;
  29. what works on one system may not work on another, and vice
  30. versa!
  31.  
  32. I have also included a sample .cfg file for FileDoor 2.03.
  33.  
  34. 1) Protocols that work with BPS locked at 38400:
  35.  
  36.  A) DSZ, GSZ
  37.  
  38. These work in all modes, except (in RA 1.01) for single file
  39. protocol modes (Xmodem and derivatives) for uploads.  This
  40. problem is due to RA passing only the path as # on the
  41. command line, and is fixed in RA 1.10.
  42.  
  43. The only difference between DSZ and GSZ is the name of the
  44. executable (DSZ.COM or DSZ.EXE versus GSZ.EXE) and that for
  45. display speed you may want to add pV1 just before the
  46. protocol command (e.g., pV1 sz).  GSZ.EXE and DSZ.COM
  47. support file sharing; DSZ.EXE does not.  DSZ.EXE and GSZ.EXE
  48. support up to a 16k pB buffer command, while DSZ.COM is
  49. limited to 4k.  My recommendation is to use the default
  50. unless, as Chuck Forsberg says, you are bloody well sure you
  51. need the pB command!
  52.  
  53. They will also only work for uploads if you have them
  54. registered, as the unregistered versions will not accept a
  55. received file into a pathed directory.  See PCZ and ZSX
  56. below for alternatives if you do not have a registered copy
  57. of DSZ and/or GSZ.
  58.  
  59. You must set DSZLOG in your environment as well, and use the
  60. log for PROTOCOL.RA.
  61.  
  62. Some special modes are not practical, but will work.  These
  63. are the modes that DSZ uses only to recieve.  Among these
  64. are ro (Overthruster), rx -g (Xmodem-k-g) and rb -g
  65. (Ymodem-g).  This also includes rc (Xmodem CRC/Xmodem-k
  66. CRC), but rx will also receive CRC.  Now, the thing to do is
  67. use the more generic form to send, and assume the receiver
  68. knows he must use the proper form to get the protocol
  69. desired.  For ro, use sx; for rx -g use sx -k; for rb -g,
  70. use sb -k.  An example for Xmodem Overthruster, with the
  71. proper windowing for packet-switched networks, is included.
  72.  
  73. Another oddball is Zmodem compressed, as it is set on the
  74. SENDING side with sz -Z.  Use the standard rz to receive.
  75.  
  76.  B) MPt (formerly Puma)
  77.  
  78. Works just fine, but you must set the DSZ-type log in
  79. MPTSET.  I suggest using MPT.LOG myself, to separate it
  80. from DSZ.  No real other comments!
  81.  
  82.  C) TASY
  83.  
  84. You must set TLOG in your environment, and use version 4.19
  85. of TASY.  This is a error correcting connection protocol
  86. only, and should be so set.  Later versions do not seem to
  87. work right, and earlier ones had no log.  Seems very fast!
  88.  
  89.  D) SZModem
  90.  
  91. READ THE DOCS and set this one up only after you have them
  92. mastered!  It will use whatever you have set for DSZLOG in
  93. the environment, and the /CFGPATH must point to where the
  94. szmodem.cfg resides.  1.42 and up are the best to use, as
  95. they work more as they should in regards to the /cfgpath and
  96. DSZ environmental variables.  SZModem as of version 1.50
  97. still uses only uppercase Z to indicate transfers in either
  98. direction, rather than the correct z for send and Z for
  99. receive.
  100.  
  101. Occasional modems or conditions will result in status
  102. Unknown transfers, which return no transfer.  Perhaps the
  103. author will reverse this and assume success rather than
  104. failure on such transfers in the future, as for the most
  105. part they ARE successful, and users will be able to leech a
  106. file or two as is once in a while <grin>.
  107.  
  108. SZModem 1.60, just released, fixes the DSZ.LOG problem.  It
  109. also stores all config data in the executable.  The
  110. dorinfo1.def processing, though, has to be specified on the
  111. commandline, though the path is set in the configuration.
  112. For multinode, this may well allow such use, as the default
  113. dir will be the place SZModem will look for the dorinfo1.def
  114. file.  The examples given in the sample PROTOCOL.?SZ files
  115. use this new version; for other version's commandlines, see
  116. the FileDoor.Cfg (though you will have to eliminate the
  117. /FIDOAREA for lack of room).
  118.  
  119.  E) SKHST
  120.  
  121. Though SuperK will also work, this is easier to set up and
  122. has new features to make it work a LOT better as a BBS
  123. protocol.  If you do not register, it will die after 30
  124. days.  DO REGISTER it, but if you need more time, you can
  125. reinstall after deleting a hidden file in the root dir of
  126. your hard disk that it creates (name looks like ascii
  127. garbage).
  128.  
  129. The single modes will not work for ULs in RA 1.01 for the
  130. same reason as some DSZ modes, the # character not passing
  131. the path AND filename to the protocol.  Fixed in RA 1.10.
  132.  
  133. With version 1.06, SKHST will try on the receiving end to
  134. match the batch mode send of the remote.  This means if they
  135. make a mistake and use the wrong mode, it will still receive
  136. the file.  Since it cannot match the other way, you still
  137. need the sending modes you want to support.  I recommend the
  138. modes I have in PROTOCOL.RA as they support the ProComm
  139. brain-dead WXModem (whoever heard of a window of 1 block?),
  140. and the old SuperK batch modes.
  141.  
  142. YOU MUST set up SKHST to NOT delete its transfer file!  The
  143. default is to delete it, and since RA tries to delete it as
  144. well, this does not work well!  If you have SHARE loaded,
  145. you will get a violation and a crash.  Also be sure to set
  146. the full path of the log and xfer files in the protocol
  147. setup and in PROTOCOL.RA.  The xfer list file can be
  148. XFER.TXT with the path, or some other; the commandline
  149. overrides the protocol's set xfer list name.  I use
  150. XFER.TXT, myself.
  151.  
  152. By the way, the Jmodem mode of SKHST does not work for me,
  153. for whatever reason, neither in FileDoor nor in RA's
  154. externals.  If it did, it could replace the "real" Jmodem
  155. that does not write a log and thus cannot be used at
  156. present.
  157.  
  158.  F) PCZ
  159.  
  160. The freeware PCZ works well, with some limitations.  The
  161. zmodem mode will accept a DL path, unlike unregistered DSZ.
  162. There is no Ymodem-g or Xmodem-k-g mode, but it does include
  163. an implementation of SEAlink in addition to xmodem,
  164. xmodem-1k, and ymodem.
  165.  
  166. Do not use the DIRXX setting, at least not with the 4.09.90
  167. version of PCZ.  The commandline does not reliably override
  168. the set command.  Do use the Set PCZLOG variable, and use
  169. normal DOS methods (e.g., set pczlog=c:\ra\pcz.log).  Locked
  170. at 38400, the internal flow control seems to break down with
  171. the lower speeds, so the F (fossil) setting is needed.  You
  172. should then, if the fossil is locked, pass the DCE as *b to
  173. the protocol so the time calculations are correct.  You may
  174. wish to advise your users of this as well, and tell them to
  175. load BNU and lock the port, run PCZ, and unload BNU, if they
  176. run at 38400.
  177.  
  178. The only other problem is that the logging PCZ does is
  179. ambiguous to RA's scanning method.  If an aborted transfer
  180. takes place with exactly 1 error, RA will find the 1 for the
  181. logged error, assume the xfer went ok, report it as
  182. complete, and then find the day of the week as the filename.
  183. No harm done, but rather confusing to the user.  The author
  184. is being made aware of this, and either it will be fixed or
  185. perhaps RA can scan for a string including spaces (1  sz for
  186. a zmodem send, for example) in a future version to make it
  187. unambiguous.
  188.  
  189. One other note concerns PCZ's errorlevel generation, not
  190. directly of concern for PROTOCOL.RA use.  The zmodem and
  191. ymodem (not sure about xmodem and xmodem-1k) work correctly,
  192. but the SEAlink seems to always return an errorlevel of 1
  193. (failure).  This has to do with its correctly sending the
  194. EOF, but not the EOT, I believe, or not responding correctly
  195. to the receiving end.  The SEAlink implemention also does
  196. not include SLO (SEAlink Overdrive) and is not very reliable
  197. at 9600 DCE rates.  However, it is MORE reliable than ZSX at
  198. 2400 and below, especially with a non-error correcting
  199. connection.  I have used it therefore for SEAlink.  I have
  200. also used it for Super_Z, a variant similar to DSZ's
  201. MobyTurbo, a faster zmodem than usual CRC32 is.
  202.  
  203.  G) ZSX
  204.  
  205. ZSX includes xmodem, xmodem-1k, ymodem, ymodem-g, zmodem,
  206. SEAlink, and SLO (SEAlink Overdrive).  It is not crippled in
  207. any way, and uses the fossil for all communications.  It
  208. uses the DSZLOG environmental variable.  All modes use the
  209. lowercase protocol letter to log success (that is, s for
  210. SEAlink and SLO, z for zmodem, g for ymodem-g, etc.).  The
  211. limitations I have found to date are that it will not accept
  212. the new v.32bis rates as the speed parameter (since it uses
  213. the locked fossil, there is really no reason this must be
  214. this way, and perhaps will be changed in the future) and it
  215. sometimes sends some characters to the remote after a
  216. tranfer is complete, so the user may find themselves not
  217. where they thought once in a while ;-)
  218.  
  219. For whatever reason, it does NOT seem to work well at lower
  220. speeds without error correction in SEAlink mode, at least
  221. not when locked at 38400 bps.  The SLO mode, on the other
  222. hand, works ok, except at 2400/ARQ on uploads.  Thus, I have
  223. used it for SLO, but disabled it in the samples.  It *may*
  224. work just fine on another system, though!
  225.  
  226. The other modes do not seem to share the SEAlink problems,
  227. although my testing has been somewhat limited.  Have fun!
  228.  
  229. Registration is a postcard to the author.  If you cannot
  230. register DSZ, this is a viable alternative as well!
  231.  
  232.  H) Hyperprotocol
  233.  
  234. An odd log file is created by Hyperprotocol, but it can be
  235. read by RA in most cases.  The actual outcome is in TWO
  236. "words", the first and last, so aborts may not always be
  237. recognized by RA.  The bigger problem is that it can only be
  238. used to upload to a specific directory, as RA replaces #
  239. with the upload directory WITH a trailing backslash, and
  240. this confuses Hyperp, which will lock up the machine at
  241. times.  IF you only use a single upload directory, this will
  242. work fine; otherwise, wait until Hilgraeve fixes it!  The
  243. latest I know about, 1.1f, has this problem.  You must have
  244. an option file like HYP.OPT for it to work, in the same dir
  245. as the hyper.exe:
  246.  
  247. DISPLAY:OFF
  248. HANDSHAKE:RTS/CTS
  249. LOGFILE:C:\RA\HYP.LOG
  250.  
  251.  
  252. 2) Random notes on a lot of other protocols:
  253.  
  254. Protocols that do not write a log will not work.  Perhaps
  255. this can be added to RA at some time, to use errorlevel 0
  256. for success and 1 for failure in lieu of a log file.  Some
  257. good ones are in this group, including Jmodem.  Translink
  258. and HyperDrive would appear also to work if I can find
  259. versions with bugs fixed (the former limits the path an
  260. filename to about 16 characters, the latter I cannot find a
  261. whole copy!).  These all work with 38400 locking as well.
  262.  
  263. Tmodem, the X, Y, Z, and Zmax cousins of Tmodem, and Zyrion
  264. all are to avoided, in my opinion.  They will work at 38400
  265. locked, and do write log files.  However, (except Zyrion)
  266. they all ask for an odd -b parameter.  This seems to be the
  267. DCE rather than the DTE, which must be set in the
  268. environment with a set COMx= command.  With v.32bis CONNECT
  269. codes, this breaks down.  They seem to demand 9600 as the
  270. "baud" rate, which is neither the DTE of 38400 nor the DCE
  271. of 14400.  Appeals for explanation and help have netted
  272. nothing, and I am a registered Tmodem user.  In addition,
  273. Tmodem has several incompatible versions (under 2.0,
  274. 2.0-3.x, 5.0-6.3, 6.4, and now 7.0, NONE of which work with
  275. any others outside their own group), and now that is
  276. extended to the X, Y, Z, and Zmax versions as well.  In
  277. versions under 7.0, the log is written in the default
  278. directory only, which could present problems.  The basic
  279. support does not exist unless registered, and if you
  280. register, the support consists of telling you it works fine
  281. with Isis/Osiris (being as nice as I can be here!).
  282.  
  283. rC-Modem does not work at 38400, or any locked BPS, as far
  284. as I can tell.  NModem does not either, but I am not too
  285. sure if it works at all.  I have been unable to get it to
  286. work, in any case.
  287.  
  288. PC-Kermit barely works as 19200, dies at 38400, and does not
  289. write a log.  Megalink works at 19200, not at 38400, and
  290. also does not write a log.  Clink works fine at 38400, but
  291. does not write a log, and will not accept a path to receive
  292. a file, making it useless even if errorlevel support is
  293. added someday.  It does work with FileDoor, though, if you
  294. do not have philosophical objections to running it at all!
  295.  
  296. Punter does not work locked, not write a log.  Quicktran is
  297. the same, and is terribly slow with archived files anyway.
  298.  
  299. The old Friel Imodem is not even supported by Qmodem any
  300. more, so I suggest you do the same!  Odds are it does not
  301. work locked at 38400, and I know it does not write a log
  302. file.  It also is slower for error correcting transfers than
  303. other g protocols.
  304.  
  305. MSKermit is an OK terminal package, but a horror to use as
  306. an external protocol.  It likes to claim the comm ports as
  307. its own, a bad thing when running under a BBS!
  308.  
  309. I have not tried all the Opus specific protocols, but see
  310. little there to get excited about.  For the sake of
  311. completeness, I will do it someday.  I have tested oKermit
  312. 1.04, which would not work for me at all, though Peter
  313. Janssen runs it.
  314.  
  315. While not an exhaustive list of protocols, I think this
  316. reflects most of those available today.  I think the
  317. internal RA external protocol support could easily work with
  318. all reliable protocols with the addition, some day, of
  319. errorlevel support to the logfile support it has now.
  320.  
  321. I hope this is of use to someone!  Comments, additions, and
  322. all are welcome.  Hopefully this can be the beginning of an
  323. ongoing project to provide protocol installation information
  324. for RA.
  325.  
  326. The files herein contained are only guaranteed to occupy
  327. diskspace, and blah blah (usual disclaimer).
  328.  
  329. Bob R.
  330. 1:154/40@fidonet.org
  331. The Anonymous BBS
  332. Fussville, WI
  333. 414-251-2580
  334.  
  335.