home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / dsptchb1.zip / Dispatch.DOC < prev    next >
Windows Setup INFormation  |  1997-06-09  |  12KB  |  306 lines

  1.  
  2.  
  3. Dispatch is a compiled OREXX program.  It will only run under Warp 4.0 or
  4. on a system with Object REXX installed and active.
  5.  
  6. It uses REXXLIB utilities and two shareware packages for mime and
  7. uuencoding.  It also uses the excellent SofTouch TCPIP functions.  Both
  8. DLL's are licensed, so I will have to charge for the registered version of
  9. Dispatch.  This version will stop working eventually -- as it will inform
  10. you.  The DLL's included here are also time limited.  The registered
  11. version removes these limitations.
  12.  
  13. There are three distinct parts to the command line:
  14.  
  15. DISPATCH FUNCTION PARAMETERS
  16.  
  17. DISPATCH is, of course, the name of the command file:  dispatch.cmd.
  18.  
  19. FUNCTION is one of the following:
  20.  
  21. M for SMTP mail out CM to create a mail config file IM to do interactive
  22. mail Q to send queued mail [This will be MQ in version 2]
  23.  
  24. N for newsgroup posting CN to create a news config file IM for interactive
  25. posting [Version 2 will have a NQ]
  26.  
  27. T for file transfer using FTP CT to create an FTP config file IT for
  28. interactive FTP V for version info
  29.  
  30. Anything else for function help
  31.  
  32. MAIL
  33.  
  34. PARAMS for M, mail, take the form of a dash and a single letter followed,
  35. in most cases by some information.  There must be a space before the dash.
  36. There is no space between the parameter identifier and the information that
  37. follows.  For example:  -Ac:\test.tst adds an attachment named test.txt
  38. located on the c drive to outgoing mail.  Avoid using any other space dash
  39. combinations within the command line!  The -?  param will list out a list
  40. of parameters for the function specified:  dispatch M -?
  41.  
  42. MAIL PARAMETERS
  43.  
  44. -T the To Address -- Dispatch M -Tsomeone@somewhere.com 
  45. -S Subject -- Dispatch M-SWhat is this about?  
  46. -C Config File Dispatch M -Cdispatch.mle
  47. -A TextFile -- Dispatch M -Ac:\textfile.txt 
  48. -A* Binary File -- Dispatch M -A*c:\binary.tif 
  49. -F From Addr -- Dispatch M -Fsomeone@somewhere.com 
  50. -Z TimeZone -- Dispatch M -Z-0500 
  51. -H Host Machine -- Dispatch M -HMyHost.domain.com 
  52. -M Mail Server -- Dispatch M -Mmailhost.domain.com 
  53. -Y Reply-To -- Dispatch M-Ysomeone@somewhere.com 
  54. -W Write This Config -- M -Wmyconfig.cfg
  55.  
  56. I do not think you can use a '<' or '>' on the command line.  So, if you
  57. want any address to be in the format:  Chris Barr<cbarr@ibm.net> you must
  58. enter it as cbarr@ibm.net(Chris Barr) and the program will redo it.
  59.  
  60. The Reply-To address defaults to the same address as the From address
  61. unless overridden.
  62.  
  63. -A designates files to be attached.  The first file attached is the
  64. 'note'itself.  Subsequent files are all attachments.
  65.  
  66. -A by itself designates a plain text file to be appended without encoding.
  67. The first file must be of this type and is treated as the 'note.
  68. 'Subsequent text files are attached without base64 encoding and with their
  69. filenames indicated.
  70.  
  71. -A* designates a binary file that requires encoding in base64.  You may
  72. attach as many files as you can fit on the command line.
  73.  
  74. The time zone defaults to GMT if not entered.
  75.  
  76. The mail server must be entered by name and not by IP address.
  77.  
  78. MAIL PARAMETERS AND CONFIG FILES
  79.  
  80. Dispatch remembers its last settings.  When you fire up mail for the second
  81. time, it will load in the same defaults it had loaded the previous session.
  82. Defaults are only those parameters, like From and Server, that do not
  83. usually change from session to session.  If you type -?  for mail, you will
  84. see a list of commands available and the settings of any parameters from
  85. the last session.
  86.  
  87. You can also specify a config file in the command line with the -C
  88. parameter.  The entries in the config file will overwrite and supersede the
  89. recalled settings.  The config file is not an ASCII file -- it has the same
  90. format as the stored "remembered" settings.  (There is a command to allow
  91. you to create these config files.)
  92.  
  93. Parameters are loaded in the order received.  The last value for any
  94. setting is the active one.  You should, therefore, always specify any
  95. config file fist on the command line, since otherwise it will overwrite any
  96. values for duplicate parameters you set on the command line.
  97.  
  98. The order goes like this:
  99.  
  100. The remembered settings are loaded.
  101.  
  102. If a config file is specified on the command line, those values replace the
  103. remembered values.
  104.  
  105. If any specific values are set by parameter on the command line, those are
  106. set.  They replace any already set.
  107.  
  108. NEWS
  109.  
  110. PARAMS for N, news, take the form of a dash and a single letter followed,
  111. in most cases by some information.  There must be a space before the dash.
  112. There is no space between the parameter identifier and the information that
  113. follows.  For example:  -Ac:\test.tst adds an attachment named test.txt
  114. located on the c drive to the news post.  Avoid using any other space dash
  115. combinations within the command line!  The -?  param will list out a list
  116. of parameters for the function specified:  dispatch N -?
  117.  
  118. NEWS PARAMETERS
  119.  
  120. -C Config File -- Dispatch M -Cdispatch.nws 
  121. -N NewsServer -- Dispatch M -Snetnews.isp.net 
  122. -F FromAddr -- Dispatch M -Fsomeone.domain.com 
  123. -G News Groups -- Dispatch M -Gcomp.os.os2.announce,*comp.os.os2.mail-news
  124. -A Text File -- Dispatch M -Ac:\newspost.txt 
  125. -A* BinaryFile -- Dispatch M -A*c:\picture.jpg 
  126. -H HostName -- Dispatch M -Hmachinename 
  127. -D Domain -- Dispatch M-Ddomain.com 
  128. -S Subject -- Dispatch M -SThis is a posting 
  129. -O Organization -- Dispatch M -OTeamOS/2 
  130. -L External News Group List -- Dispatch M -Los2nws.txt 
  131. -W Write config -- Dispatch M -Wnwsconfig.cfg
  132.  
  133. The notes to MAIL also generally apply to NEWS.
  134.  
  135. The newsserver is the name and not the IP address of the newsserver.
  136.  
  137. The Newsgroups are entered in one continuous stream separated by commas.
  138. The Follow/Up group(s) default to the same as the post to groups, but can
  139. be overridden by specifying more specific groups.  This is done by placing
  140. an '*' before the name of the group.
  141.  
  142. One text file and one uuencoded file are allowed.
  143.  
  144. The hostname is the machine name with no domain.
  145.  
  146. The external list of newsgroups is an ASCII file with one group per line.
  147. No commas.  An '*' should be prepended to a group that will be a followup
  148. group.  No blank lines.
  149.  
  150. NEWS PARAMETERS AND CONFIG FILES
  151.  
  152. Dispatch remembers its last settings.  When you fire up news for the second
  153. time, it will load in the same defaults it had loaded the previous session.
  154. Defaults are only those parameters, like From and Server, that do not
  155. usually change from session to session.  If you type -?  for news, you will
  156. see a list of commands available and the settings of any parameters from
  157. the last session.
  158.  
  159. You can also specify a config file in the command line with the -C
  160. parameter.  The entries in the config file will overwrite and supersede the
  161. recalled settings.  The config file is not an ASCII file -- it has the same
  162. format as the stored "remembered" settings.  (There is a command to allow
  163. you to create these config files.)
  164.  
  165. Parameters are loaded in the order received.  The last value for any
  166. setting is the active one.  You should, therefore, always specify any
  167. config file fist on the command line, since otherwise it will overwrite any
  168. values for duplicate parameters you set on the command line.
  169.  
  170. The order goes like this:
  171.  
  172. The remembered settings are loaded.
  173.  
  174. If a config file is specified on the command line, those values replace the
  175. remembered values.
  176.  
  177. If any specific values are set by parameter on the command line, those are
  178. set.  They replace any already set.
  179.  
  180.  
  181. FTP
  182.  
  183. PARAMS for T, FTP, take the form of a dash and a single letter followed, in
  184. most cases by some information.  There must be a space before the dash.
  185. There is no space between the parameter identifier and the information that
  186. follows.  For example:  -Fc:\upload.tst names the file to transfer.  The -?
  187. param will list out a list of parameters for the function specified:
  188. dispatch T -?
  189.  
  190. FTP PARAMETERS
  191.  
  192. -U Logon User -- Dispatch T -Uyourname 
  193. -P Password -- Dispatch T -Ppassword
  194. -Q PutUnique?  -- Dispatch T -Q 
  195. -A Account -- Dispatch T -Aaccountname (usually not required) 
  196. -D RemoteDir -- Dispatch T -Dpub/incoming 
  197. -R RemoteName -- Dispatch T-Rdispatch.zip 
  198. -F LocalFile -- Dispatch T -Fc:\upload\dispatch.zip 
  199. -H FTPHost-- Dispatch T -Hhobbes.mnsu.com
  200.  
  201. The same rules apply as for mail and news.
  202.  
  203. If you do not specify a remote file name, the local name (without path)
  204. will be used instead.
  205.  
  206. FTP PARAMETERS AND CONFIG FILES
  207.  
  208. Dispatch remembers its last settings.  When you fire up ftp for the second
  209. time, it will load in the same defaults it had loaded the previous session.
  210. Defaults are only those parameters that do not usually change from session
  211. to session.  If you type -?  for FTP, you will see a list of commands
  212. available and the settings of any parameters from the last session.
  213.  
  214. You can also specify a config file in the command line with the -C
  215. parameter.  The entries in the config file will overwrite and supersede the
  216. recalled settings.  The config file is not an ASCII file -- it has the same
  217. format as the stored "remembered" settings.  (There is a command to allow
  218. you to create these config files.)
  219.  
  220. Parameters are loaded in the order received.  The last value for any
  221. setting is the active one.  You should, therefore, always specify any
  222. config file fist on the command line, since otherwise it will overwrite any
  223. values for duplicate parameters you set on the command line.
  224.  
  225. The order goes like this:
  226.  
  227. The remembered settings are loaded.
  228.  
  229. If a config file is specified on the command line, those values replace the
  230. remembered values.
  231.  
  232. If any specific values are set by parameter on the command line, those are
  233. set.  They replace any already set.
  234.  
  235. MAKE CONFIG FILES
  236.  
  237. You make config files in one of three ways.
  238.  
  239. You find the backup for the last session and copy it to another name.  The
  240. files are named D*lst.var.
  241.  
  242. You use the -W switch on the command line with a file name.  Dispatch will
  243. also create a config file of that name when it "remembers" its settings.
  244.  
  245. You can start the config maker utility by using
  246.  
  247. Dispatch CM, CN or CT.  Enter data as prompted.
  248.  
  249. INTERACTIVE SESSIONS
  250.  
  251. These are started using the Dispatch IM, Dispatch IN or Dispatch IT
  252. commands.
  253.  
  254. Each is slightly different.  You will first be prompted for certain
  255. settings.  Then, after being given a chance to approve or correct the data,
  256. you will be prompted for more.
  257.  
  258. For example, in mail, all settings except attachments are done first.  You
  259. then add attachments until you signify you are done by entering a blank
  260. line.
  261.  
  262. With news, it is the newsgroups that are entered free form at the end.
  263.  
  264. With FTP, when the transfer is complete, you can enter another file name
  265. without going through all the steps again.
  266.  
  267. With main, '*' is used for binary files, as on the command line.
  268.  
  269. For news, '*' designates a follow up group, as on the command line.
  270.  
  271. For news, 'NONE' must be typed for a file type if there is none.
  272.  
  273. The entry fields are filled in with templates to guide you or with default
  274. settings.  You delete and overwrite these.  The value in the field does get
  275. sent to the program unless overwritten.  If it is already correct, leave
  276. it.
  277.  
  278. You can load in your own defaults by putting a config file name after the
  279. command -- no switch:
  280.  
  281. Dispatch IN hobbes.cfg would load in these defaults for editing.
  282.  
  283. MAILQ
  284.  
  285. If the mail file is created but not sent -- you are not online or there is
  286. a network error -- it is queued in a folder called MAILQ.  The file will be
  287. a complete mail file, including attachments.  There is also a parameter
  288. file containing the Dispatch settings in effect when the attempt was made.
  289. If you enter Dispatch Q it will process all files in the queue, using the
  290. defaults in the parameter files for each note.
  291.  
  292. SENTMAIL
  293.  
  294. Sent mail is stored in this folder.
  295.  
  296. NEWSQ
  297.  
  298. If a posting fails, it is stored here, as with mail.  The command to
  299. process the queue is not yet available.
  300.  
  301. POSTED
  302.  
  303. This folder contains the posted news files.
  304.  
  305.  
  306.