home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / w0rli / mb1301 / fwd.doc < prev    next >
Text File  |  1991-04-06  |  7KB  |  248 lines

  1.  
  2.  
  3.      Automatic forwarding of messages to other MailBox systems.
  4.  
  5. The file FWD.MB contains information that drives the automatic forwarding
  6. of messages. If the file does not exist, no forwarding is done. Forwarding
  7. is attempted each hour at the minute specified for the port in PORTS.MB.
  8. Forwarding will occur on those hours given in FWD.MB.
  9.  
  10. FWD.MB consist of a number of lists, and a "forwarding script" associated
  11. with each list.  Each list has the information for one MailBox to which you
  12. will forward.  The script associated with the list tells your MailBox how
  13. to connect to the MailBox you will forward to.    The list contains information
  14. that describes which messages will forward to that MailBox. Each list is
  15. terminated by "*** EOF".
  16.  
  17. I have included an example FWD.MB file.
  18.  
  19.  
  20. The overall structure of FWD.MB is thus:
  21.  
  22. Script1
  23. List1
  24. *** EOF
  25.  
  26. Script2
  27. List2
  28. *** EOF
  29.  
  30. ... etc.
  31.  
  32.  
  33.      Routing lists.
  34.  
  35.  
  36. Each list has a header line, and any number of callsigns, designators, or
  37. sublists. The header line tells the MailBox when to do the forwarding to
  38. that station, what MailBox port to use for the connection, and how to
  39. identify the list when you use the X commands. Thus, a list will look like:
  40.  
  41. fa0023w0qrm
  42. ntsmn
  43. ntssd
  44. w0qrm
  45. k0cj
  46.  
  47. fh0205w7xyz
  48. ntswa
  49. 98*
  50. w7xyz
  51. aa7abc
  52.  
  53.  
  54.        Format of the list header.
  55.  
  56. Columns     Data
  57.  
  58.   1        List type.
  59.   2        Port identifier or filler. "A" = COM1, "B" = COM2, etc.
  60.   3-4        Hour to activate this function.
  61.   5-6        Hour to de-activate this function.
  62.   7-12        Key used to select list with X or XI command.
  63.         For forwarding lists, the callsign of the MailBox to
  64.         forward to, WITHOUT SSID.
  65.         For Export/Import lists, the file name.
  66.  
  67.  
  68.       List types:
  69.  
  70.  
  71. Type        Function
  72.  
  73. E      "Answer Reverse Forward Requests"
  74. F      "Forward and Reverse Forward"
  75. H      "Forward, Reverse Forward, and Poll"
  76.  
  77. E, F, and H lists are lists of stations for whom you should forward messages.
  78. They are grouped in the list by the call of the MailBox to which the messages
  79.  
  80. An "F" list is used when you wish to initiate forwarding.
  81.  
  82. An "H" list acts the same as an "F" list, except that the
  83. connect and probe for reverse forwaring will occur even
  84. if you do not have any messages to forward.
  85.  
  86. An "E" list acts like an "F" list, except the forwarding is not done,
  87. the list is used only when someone requests reverse forwarding from you.
  88.  
  89.  
  90.      Connect Scripts.
  91.  
  92.  
  93. Connect scripts are supported through C, L, N, P, Q, R, and S items.
  94. The Connect Script precedes the list that uses it.  The following are
  95. some examples of common Connect Scripts:
  96.  
  97. For a direct connect to the MailBox you wish to forward to:
  98.  
  99. cc n7hae   <- Means "just connect to n7hae"
  100.  
  101. For a simple NET/ROM connect to the MailBox you wish to forward to:
  102.  
  103. cc k7zvv-7 <- Means "connect (uplink) to your local node"
  104. nc w7fbm-8 <- Means "using NET/ROM, connect to the distant node"
  105. nc n7hae   <- Means "Using NET/ROM, downlink to the MailBox"
  106.  
  107. For a connect to a distant MailBox using your g8bpq switch:
  108.  
  109. nc n7kmj
  110.  
  111.  
  112.       Summary of script items in FWD.MB
  113.  
  114.  
  115. C     Connect to this call.
  116. N     Connect to this call using NET/ROM.
  117. J     Connect to this call, it is a KA-node.
  118. K     Connect from this KA-node.
  119. P     Do this tnc command before connecting.
  120. Q     Do this tnc command after disconnecting.
  121. P!    Do this DOS command before connecting.
  122. Q!    Do this DOS command after connecting.
  123. L     Limit forwarding when you use this list.
  124. S     Send this text.
  125. R     Receive this text.
  126. R!    Receive any text.
  127. T     Set port timeout (in seconds) for this forward.
  128.  
  129. A C item gives the call and path to do the initial connection:
  130.  
  131.      CC W6NR-11
  132.      CC N7EQN-10 via A6DIG
  133.  
  134. N items gives the call and path to continue the connection using NET/ROM:
  135.  
  136.      NC W6NR
  137.      NC W6QRM v N6DIG
  138.  
  139.  
  140. P items give TNC commands to be executed BEFORE the connection:
  141.  
  142.      Pretry 10
  143.      Pmaxframe 3
  144.      Pfrack 8
  145.  
  146. Q items give TNC commands to be executed AFTER the disconnect:
  147.  
  148.      Qretry 3
  149.      Qmaxframe 7
  150.      Qfrack 3
  151.  
  152.  
  153. Be very careful using P and Q items. The MailBox assumes that the
  154. TNC is setup in a "standard" manner. If you change CR, CP, or SE
  155. in a script, it could cause problems.
  156.  
  157.  
  158. An L item is used to place limits on what will forward when the list is used.
  159.  
  160. L nnnn    -  Will limit the size of messages forwarded.
  161. l B    -  Will NOT forward bulletins.
  162.  
  163.   Examples:
  164.  
  165. L 5000
  166.  
  167. Would cause any message larger than 5000 bytes to NOT forward.
  168.  
  169.  
  170. S and R items come in pairs:
  171. An S item is a line to send:
  172.  
  173.      SBBS
  174.  
  175. An R item is the expected response:
  176.  
  177.      R#SBAY1:N7EQN-10} Connected to #WWORM:WB6FFC-1
  178.  
  179. In the case that ANY response is valid use:
  180.  
  181.      R!
  182.  
  183. There can only be one C item in a script, but may be as many N, P, Q, R
  184. and S items as required. As an example, the script for W0RLI
  185. in Santa Cruz using NET/ROM to connect with KA6IQA in San Diego might
  186. be (using all the possible script features).
  187.  
  188.  
  189. l 2000              <-  Don't forward messages larger than 2K
  190. t 240              <-  Use 4 minute timeout for this forward
  191. pretry 10          <-  Tough path, retry a lot.
  192. pmaxframe 3          <-  And don't send very many packets.
  193. pfrack 8          <-  And wait a long time for ACK.
  194. qretry 3          <-  Put things back to normal after this forward.
  195. qmaxframe 7          <-  Ditto
  196. qfrack 3          <-  Ditto
  197. cc w6amt          <-  Connect to the local NET/ROM
  198. nc w6amt-3          <-  Connect to the NET/ROM closest to KA6IQA
  199. nc ka6iqa v w6amt-4      <-  Connect to KA6IQA
  200. fb0023ka6iqa          <-  Use port B. All hours. List name KA6IQA.
  201. ka6iqa              <-  Forward messages TO or AT KA6IQA
  202. 91*              <-  Forward zip codes starting with 91
  203. *** EOF           <-  End of list marker. Must be upper case.
  204.  
  205.  
  206.      Wildcards and special "callsigns" in lists.
  207.  
  208.  
  209. When the designator in FWD.MB is compared to the TO or @ BBS call,
  210. the characters '?', '*', '@', '!', '+', '"' in the designator act as
  211. wildcards. See WILD.DOC for an explanation of how to use them.
  212.  
  213.  
  214.  
  215.      Sublists.
  216.  
  217.  
  218. At any place in the FWD.MB file you can refer to another file. The contents
  219. of the file is treated exactly as if it was in the FWD.MB file. This feature
  220. is very useful when you have several alternate paths to a given location.
  221. FWD.MB need only contain the onnect Script for each different path, and a
  222. list containing a reference to the file which contains the list contents.
  223. A sublist file is given by a line starting with "@". The rest of the line is
  224. the device, path, and file name of the sublist.
  225.  
  226. Example:
  227.  
  228. CC N4CHV V N6MPW-1
  229. FC0023N4CHV
  230. N4CHV
  231. @C:\BBS\HF111.FWD
  232. @C:\BBS\SILICON.FWD
  233. *** EOF
  234. CC W6CUS-1 V W6AMT-10
  235. FD0023W6AMT
  236. NI6A
  237. @C:\BBS\SILICON.FWD
  238. *** EOF
  239.  
  240.  
  241.      Entry qualifiers.
  242.  
  243. A qualifier is appended to the line it affects. There is one qualifier at
  244. this time: " /TSSEE" where SS is the start hour and EE is the end hour.
  245. This qualifier causes the line to be ignored if the current time is not
  246. within the time window.
  247.  
  248.