home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / HR / HR007.ZIP / NOTES.DOC < prev    next >
Text File  |  1986-01-18  |  29KB  |  776 lines

  1. WA7MBL MailBox - Version 2.04 - 01/17/86
  2.  
  3.  
  4. [These notes have not been updated to fully describe all of the latest
  5.  commands - Better documentation is coming!]
  6.  
  7.  
  8. This is an adaptation of the W0RLI MailBox and GateWay for the IBM PC
  9. series of computers and compatibles.  The W0RLI system is written in
  10. Z-80 assembly language for use on the Xerox 820 computer under CP/M.
  11.  
  12. Version 2.04 is released for the purpose of BETA testing to selected sites.
  13. It is not intended for general distribution at this time.  
  14.  
  15. Source code is NOT available at this time.
  16.  
  17.  
  18.  
  19.             Jeff Jacobsen, WA7MBL
  20.             1400 E 900 N
  21.             Logan, UT  84321
  22.  
  23. I may also be contacted by the following methods:
  24.  
  25.     BITNET -   BOBW @ USU
  26. Compuserve -   72446,2557
  27.      Phone -   801-753-0099
  28.  
  29. -------------------------------------------------------------------
  30.  
  31. Distribution is now being handled by:
  32.  
  33.              Arizona Packet Radio Association (AzPRA)
  34.              PO Box 8642
  35.              Scottsdale, AZ  85252-8642
  36.  
  37.       Phone: 602-947-0362   (Wes Morris, K7PYK)
  38.              602-946-8356   (Answering Machine)
  39.  
  40. UPS address: Wes Morris
  41.              7422 E McKinley St.
  42.              Scottsdale, AZ  85257
  43.  
  44.  
  45.  
  46. ACKNOWLEDGEMENTS
  47.  
  48. I used the following as a starting point for this translation:
  49.  
  50. W0RLI MailBox/GateWay - Version 10.2 - W0RLI
  51. The W0RLI Mailbox Sysop Documentation - Revision 10.2.0 - WB2MNF
  52. Log File Analyzer - WB7DCH
  53.  
  54. ..........
  55.  
  56. The W0RLI system for the Xerox 820 was written by:
  57.  
  58.             Hank Oredson, W0RLI
  59.             19 North Hill Road
  60.             Westford, MA 01886
  61.  
  62. ..........
  63.  
  64. The SYSOP Manual was written by:
  65.  
  66.             Jon Pearce, WB2MNF
  67.             109 Pine Cone Trail
  68.             Medford, NJ 08055
  69.  
  70. ..........
  71.  
  72. The log file analyzer was written by:
  73.  
  74.             Tom Hogan, WB7DCH
  75.             26911 S E 456 St.
  76.             Enumclaw, WA 98022
  77.  
  78. ...........
  79.  
  80. The Tucson Amateur Packet Radio Corporation (TAPR) has helped support this
  81. effort.  If you are not already a member, I suggest that you join.  (TAPR, Box
  82. 22888, Tucson, AZ  85734.)
  83.  
  84. I would like to thank Robert Wood, WA7MXZ for help in local testing
  85. and for the use of his BITNET account.
  86.  
  87. I would also like to thank all Beta testers.  A list of current beta
  88. test sites will be included on the distribution diskette as SITE.DOC
  89. Many of them made financial contributions which helped make this possible.
  90.  
  91. Finally, I would like to thank Randy Forgaard, a regular on the CompuServe
  92. Borland SIG, for offering routines to solve problems associated with the
  93. Turbo Database Access Tools.
  94.  
  95. RELEASE NOTES:
  96.  
  97. For the present time, I assume that all Users are familiar with the W0RLI
  98. system.  This documentation will therefore be quite skimpy and will mainly
  99. detail the differences between this verision and the original W0RLI version.
  100.  
  101. To speed development of this system, I used the TURBO Access B-tree
  102. routines available in TURBO DATABASE TOOLBOX from Borland International.
  103. These routines are used to keep both the User records and the Mail
  104. header records.
  105.  
  106. The mail messages themselves are kept as seperate files rather than
  107. as one big file.  This was also done in the interest of getting a
  108. system up and running rapidly.  It may prove to be a problem with a
  109. large number of messages (it certainly would be a limitation if an
  110. attempt was made to modify this code to run under CP/M.)  The files
  111. are stored under the names MSG00001.MAI etc.  I have not yet written
  112. anything to renumber the messages & files, so if you approach message
  113. # 32000 too soon, you may find yourself in a bit of a bind.
  114.  
  115. To keep the mail and download/upload files seperate from everything
  116. else, I recommend that each be placed in seperate subdirectories.  The
  117. path names for both may be specified in the BBSxxx.CNF file.  The 
  118. sub-directories must exist, BBS will not create them.
  119.  
  120. I use the following setup (with the main program in a subdirectory
  121. called \BBS) on my hard disk:
  122.  
  123. \BBS\
  124.   BBS.COM
  125.   BBSxxx.CNF
  126.   FWD.TNC
  127.   LOG.TNC
  128.   MESSAGES.DAT
  129.   MESSAGES.IDX
  130.   USERS.DAT
  131.   (etc)
  132. \BBS\MAIL\
  133.   MSG00001.MAI
  134.   MSG00002.MAI
  135.   (etc)
  136. \BBS\FILES\
  137.   BBS.DOC
  138.   GT851112.TXT
  139.   TNC2.MOD
  140.   (other user uploaded/downloadable files)
  141.  
  142. If you want the users to be able to download LOG.TNC, FWD.TNC, etc, place them
  143. in the FILES\ subdirectory and set the files names in BBSxxx.CNF accordingly.
  144. For the present, BBSxxx.CNF must reside in the current directory.  If you want
  145. users to be able to download it, you will have to place a copy into FILES\.
  146. The recommended setup parameters for the TNCs are in .SET files,
  147. TNC1.SET for a tnc1, TNC2.SET for a tnc2.
  148.  
  149. RELEASE NOTES (Cont):
  150.  
  151. The file BBSxxx.CNF is a text file that contains all site-specific
  152. parameters. Edit it to have the proper parameters for your site.
  153.  
  154.  'F' qualifier (applies to commands D, F, M, U and W)
  155.  
  156.   When a remote user uses any of the file commands (D, U or W) the
  157.   "file" path from CONFIG.TNC will be added to the file name entered,
  158.   thus D BBS.DOC will refer to \BBS\FILES\BBS.DOC.
  159.   The path name is not added in sysop mode unless the qualifier 'F'
  160.   is specified, thus W will do a directory listing of the current
  161.   subdirectory (in my case \BBS) while WF will do a directory list of
  162.   \BBS\FILES (the same listing a remote user will get by typing just W).
  163.   The 'F' qualifier may be a 2nd qualifier in the case of the F or M
  164.   commands (ie FAF <msg#> <filname>  or  MPF W1XX <filname>).
  165.  
  166. Killed traffic does not generate a Service Message at this time.   
  167.  
  168. Flags in User record for Local User, Mail Drop, and Call Back are
  169. not used or set at this time.
  170.  
  171. Configuration file name may be specified on command line
  172.  
  173. BBS may be started with the command line BBS /a which will bypass the hit
  174. any key prompt and go immediately into answer mode (use for batch file
  175. start ups)
  176.  
  177. The W command has been modified to allow WN (Whats New) which lists only the
  178. files that are new since the last log on.  Perhaps it should be changed in
  179. the future so the W command (like the L command) only lists what is new and
  180. perhaps a WA (all) command is required to list all files (comments...??)
  181.  
  182. The W command also now lists free space.
  183.  
  184. The 'Is BBS' flag has been added to the user record.  Users who have the Is
  185. BBS flag set (Use the EU <call> command and enter a Y at the appropriate
  186. question to set it) can do the following:
  187.  
  188.   1 - Use the *** LINKED to <call> to change users
  189.   2 - Use the < FROM with the S command (ignored from non BBS stations)
  190.   3 - Max # of digipeaters is ignored for BBS stations
  191.  
  192. Also, allow connect from BBS only on TNCA or TNCB may be set in the Config
  193. file (thus keeping non BBS stations off of one or both ports)
  194.  
  195. RELEASE NOTES (Cont):
  196.  
  197. CTS/RTS handshaking is used to/from the TNC.
  198.  
  199. Early versions of the TAPR TNC contain a 6551 chip which has a
  200. problem with hardware handshaking: one character may get trashed
  201. when it is told to stop sending. 
  202.  
  203. If using only one TNC, it may be used on either COM1 or COM2.
  204.  
  205. The cable should have pins 1-8 and 20 connected.  The same
  206. cable (straight through) should work on both the TNC1 & TNC2.
  207.  
  208. Configure the TNCs as shown in the appropriate .SET file,
  209. TNC1.SET for a tnc1, TNC2.SET for a tnc2. Note that several of
  210. the parameters differ depending on which type of tnc you have
  211. on the port. You can send the parameters to the tnc using
  212. the BA or BB commands, for example BA TNC2.SET.
  213.  
  214. I have tried both the TNC1 and TNC2 v1 and both seem to work ok.
  215. In one instance when downloading a file using a TNC2 on the BBS,
  216. the TNC2 decided to stop handshaking correctly halfway through
  217. the file transfer and hung the system.  I could not duplicate
  218. the problem later.  I was using 9600 baud to communicate with
  219. the TNC at the time.
  220.  
  221. System development was done on an IBM PC/AT under PC DOS 3.1
  222. using TURBO PASCAL version 3.01A from Borland International.
  223.  
  224. The software uses interrupts for input from the TNC's.  It also
  225. uses timer tick interrupts from the PC.  Thus interrupt vectors $0B,
  226. $0C, and $1C are modified when the program starts.  On most errors
  227. the interrupt vectors are restored before the program is exited, but
  228. it is possible that they will not be reset.  If not restored, the
  229. vectors will still be pointing to where the program used to reside and
  230. if you try to run another program you may hang the system.
  231.  
  232.  
  233. LOCAL COMMANDS
  234.  
  235. The following commands are on the local menu only. The local menu
  236. also allows the same set of message commands as the remote menu.
  237.  
  238. See BBS.DOC for a list of remote menu commands.
  239.  
  240.        B - Send a file to the TNC.
  241.              Qualifier: TNC to send file to (A or B).
  242.              Argument:  Name of file to send.
  243.  
  244.        C <call> - Connect to user.
  245.  
  246.        D - Display a file.
  247.              Qualifier: P - Page mode. (local mode only)
  248.                         U - List the user file.
  249.          2nd Qualifier: F - Use File path.
  250.              Argument: File name.
  251.  
  252.            (Legal commands are D, DF, DP, DPF, and DU)
  253.  
  254.        E - Edit a message header, or user record.
  255.              Qualifier: U - Edit a user record.
  256.              Argument: Message number or user call.
  257.  
  258.        F - Make a file from a message.
  259.              Qualifier: A - Append to existing file.
  260.          2nd Qualifier: F - Use File path.
  261.              Arguments - <message number> <file name>
  262.  
  263.            (Note: the 2nd qualifier may appear in place of the
  264.             qualifier or in addition, thus the following
  265.             commands are legal:
  266.  
  267.              F 6 TEST.TXT     create TEST.TXT in current subdir
  268.              FA 6 TEST.TXT    append to TEST.TXT in current subdir
  269.              FF 6 TEST.TXT    create FILES\TEST.TXT
  270.              FAF 6 TEST.TXT   append to FILES\TEST.TXT  )
  271.  
  272.        G - Enable / Disable GateWay.
  273.              Qualifier: Y - Enable, N - Disable.
  274.  
  275.        H - Toggle short / long local menu.
  276.  
  277.        M - Make a message from a file.
  278.              See 'S' command.
  279.              Arguments: <call> <file name> [@ call]
  280.  
  281.            (This also allows a 2nd qualifier of 'F' to specify
  282.             that the file is in the upload/download area.
  283.             Note: The case of MF will create a message with
  284.             a blank message type (normal) from the file area
  285.             rather than a message type of 'F'.  MFF will create
  286.             a message type F from the file area.  If you really
  287.             need to create a message type F from outside the file
  288.             area, you can always use something like MA to create
  289.             message type A, then edit the message header.
  290.  
  291. LOCAL COMMANDS - Cont
  292.  
  293.        P - Enable Sysop Paging
  294.              Qualifier  Y-Allow it  N-Sysop not Available
  295.  
  296.        P <call> - Display last connect path.
  297.  
  298.        Q - Quit (return to DOS).
  299.  
  300.        T - Go to terminal mode.
  301.              Qualifier selects TNC (A or B).
  302.  
  303.        U - Upload a file from the console.
  304.              Qualifier: A - Append to existing file.
  305.                         F - Use File path.
  306.  
  307.            (UAF is an allowed form of this command)
  308.  
  309.        X - Trigger an auto-forward.
  310.              Qualifier: I - Ignore times in FWD.TNC
  311.              Argument: If present, call of station to forward to.
  312.                        Other entries in FWD.TNC ignored.
  313.  
  314.        Y - Set file name - Allows switch of forwarding file.
  315.              Qualifier: F - FWD.TNC
  316.              Argument: <file name>
  317.  
  318.        Z - Delete a file.
  319.              Argument: <file name>
  320.              Qualifier: F - Use File path.
  321.  
  322.  
  323. REMOTE SYSOP
  324.  
  325. The commands D,E,F,G,M,Y,Z are available to the remote sysop.
  326.  
  327.        @ - Switch remote user between the standard remote menu
  328.            and the remote sysop commands. Must have S privilege.
  329.  
  330.  
  331.  
  332. FILE LAYOUTS
  333.  
  334.     The Configuration File - BBSxxx.CNF (xxx = current version #)
  335.  
  336. The file BBSxxx.CNF is a text file that contains all site-specific
  337. parameters. Edit it to have the proper parameters for your site.
  338.  
  339. The form $x is a variable text field. The "$x" is replaced by
  340. the current value for that text.
  341.  
  342.  
  343. $A - @ BBS of the current message.
  344. $B - Bell - insert an ASCII BEL (CTL-G).
  345. $C - Next available message number.
  346. $D - The current date.
  347. $E - Version number.
  348. $F - Clear Screen.
  349. $G - TO of the current message.
  350. $H - Hang at end of line (suppress carriage return).
  351.      Use at end of line only. DO NOT USE on lines that go to tnc.
  352. $I - Users name, from user file.
  353. $J - Date from current msg header
  354. $K - Time from current msg header.
  355. $L - Number of the last message.
  356. $M - Message number from current msg header.
  357. $N - Number of active messages.
  358. $O - Call of system owner.
  359. $P - FROM from current msg header.
  360. $Q - (Unused)
  361. $R - Call in a "connect request:" from either TNC.
  362. $S - Call of the end node station connected via the slave TNC.
  363.      Seen initially in "*** CONNECTED to:" when the adjacent node
  364.      connects, may be seen in "*** LINKED to:" from the adjacent node.
  365. $T - The current time.
  366. $U - Call of the end node station connected via the master TNC.
  367.      Seen initially in "*** CONNECTED to:" when the adjacent node
  368.      connects, may be seen in "*** LINKED to:" from the adjacent node.
  369. $V - Owners name.
  370. $W - Wait to send - adds a SYN before CR so packet not sent.
  371.      Use at end of line only.
  372. $X - Date user last logged in.
  373. $Y - Time user last logged in.
  374. $Z - Last message number when user last logged in.
  375.  
  376.  
  377.  
  378. FILE LAYOUTS
  379.  
  380.            The Configuration File - Cont
  381.  
  382.  
  383.  If the following documentation varies from the version of BBSxxx.CNF
  384.  included on the distribution diskette, use BBSxxx.CNF as a starting
  385.  point.  I may make last minute changes and forget to change this
  386.  documentation. 
  387.  
  388. [Items marked UNUSED are included for use in future versions]
  389.  
  390. The first section (to the first *** EOF) is the short message of the day.
  391. The next section (to the next *** EOF) is the Newuser message of the day.
  392. The next section (to the next *** EOF) is the info text.
  393. The next section (to the next *** EOF) is the short MailBox menu.
  394. The next section (to the next *** EOF) is the long MailBox menu.
  395. The next section (to the next *** EOF) is the short GateWay menu.
  396. The next section (to the next *** EOF) is the long GateWay menu.
  397. The next section (to the next *** EOF) is the short local menu.
  398. The next section (to the next *** EOF) is the long local menu.
  399. The next section (to the next *** EOF) is the remote Sysop menu.
  400. The next line is your call.
  401. The next line is your name.
  402.  
  403. The next line is the file name to use for the list of all calls heard
  404. The next line is the file name to use for the auto-forwarding file.
  405. The next line is the file name to use for the log file.
  406. The next line is the file name to use for the "J" list save file 
  407. The next line is the path for files
  408. The next line is the path for mail
  409. The next line is the file name to use for mail headers.
  410. The next line is the file name to use for the mail header index.
  411. The next line is the file name to use for the user file.
  412. The next line is the file name to use for the user file index.
  413.  
  414. The next line is YES to exclude users with illegal calls.
  415. The next line is YES to exclude non BBS stations on TNCA.
  416. The next line is YES to exclude non BBS stations on TNCB.
  417. The next line is max # digipeats user can use on TNCA.
  418. The next line is max # digipeats user can use on TNCB.
  419. The next line is baud rate on COM1
  420. The next line is baud rate on COM2
  421. The next line is YES if TNCA is on COM1, NO if TNCA on COM2
  422. The next line is YES if both ports have TNCs, "NO" if only TNCA
  423. The next line is the "no activity" timeout in minutes.
  424. The next line is the "waiting for disconnect" timeout in seconds.
  425. The next line is the USER routine calling period.  [UNUSED]
  426.  
  427. The next line is the maximum number of calls allowed in the monitor mode
  428. calls heard list (CALLS.TNC) [decrease this if you have limited memory]
  429. The next line is the number of calls on the recently heard 'J' lists.
  430. The next line is YES to monitor beacons, NO to ignore them. 
  431. The next line is YES to recognize bells, NO to filter them. 
  432. The next line is YES is Sysop is available, NO to ignore chat requests. 
  433.  
  434. The next line is YES to activate the GateWay code, NO to inactivate it.
  435.  
  436. The next five lines control logging. (what goes into LOG.TNC).
  437. YES to turn on logging. Connects/disconnects logged.
  438. YES to turn on GateWay event logging.
  439. YES to turn on file transfer logging.
  440. YES to turn on message event logging.
  441. YES to turn on logging of local commands.
  442.  
  443. The next line is the "bye bye" message.
  444. The next line is the header for the list of calls recently heard.
  445.  
  446. The next lines appear locally only:
  447. The control character to use to kick user off system.
  448. The control character to use to return from talk.
  449. The control character to use to interrupt and go to talk.
  450. The control character to use to take the MailBox off-line.
  451. Message to send to console on entry to terminal mode.
  452.  
  453. Prompt if file exists. Erase and start new, or not.
  454. Prompt before continue at end of page of output.
  455. Prompt when enter terminal mode and user is connected.
  456. Message when going into auto answer mode.
  457. Message to send user when get *** LINKED to
  458.  
  459. The next group of lines (to *** EOF) is what to send the tnc to
  460. turn it "off".
  461. The next group of lines (to *** EOF) is what to send the tnc to
  462. turn it "on".
  463. The next group of lines (to *** EOF) is what to send the tnc to
  464. put it in "remote sysop" mode.
  465. The next group of lines (to *** EOF) is what to send the tnc to
  466. remove it from "remote sysop" mode.
  467. The next group of lines (to *** EOF) are the commands that will be
  468. sent to TNCA at startup.
  469. The next group of lines (to *** EOF) are the commands that will be
  470. sent to TNCB at startup.
  471. The next line is the beacon rate for the TNCA.
  472. The next line is the beacon rate for the TNCB.
  473. The next line is the beacon rate while the MailBox is in use.
  474.  
  475. The next line is the beacon to send when the MailBox is inactive,
  476. or B E 0 for no beacon when inactive.
  477. The next line is the beacon to send when the MailBox is active,
  478. but contains no messages.
  479. The next line is the beacon to send when the MailBox is active
  480. and has messages. It will be followed by a list of calls of stations
  481. who have unread messages.
  482.  
  483. The next line is sent to the console each time a menu is sent
  484. to the user.
  485. The next line is sent to the user when a connect request occurs.
  486.  
  487. The next line is the message to send when
  488. you break into a MailBox session to talk to the user.
  489. The next line is the response to the user when he wants to talk to you.
  490. The next line is the message to send when
  491. you do not respond to the request to talk.
  492. The next line is the message to the console when the user wants
  493. to talk to you.
  494. The next line is the message to send when you are not available
  495. to talk to the user.
  496.  
  497. The next section, one line per message, is the GateWay messages:
  498. Message when GateWay not available.
  499. Message going into unproto mode.
  500. Message when user does not specify call for connect.
  501. Message when attempting a connect.
  502. Message when connect fails.
  503. Message to master tnc when connect succeeds.
  504. Message when connect attempt aborted by user.
  505. Message to send to console at gateway menu.
  506. Message to send to slave tnc on connect.
  507. Message to send to master tnc on connect.
  508. Message to send to local console while link in progress.
  509. (Displayed about every 10 lines)
  510. Message to send on incorrect # of paramaters.
  511.  
  512. The next section, one line per message, is the message and file prompts.
  513. Prompt for call of addressee.
  514. Prompt for title of message.
  515. Prompt for message text.
  516. Prompt for message number.
  517. Message to send at login if user has new mail.
  518. Message list header. Observe columns if change.
  519. Line to pre-pend to a forwarded message.
  520. Prompt to edit TO.
  521. Prompt to edit FROM.
  522. Prompt to edit AT BBS.
  523. Prompt to edit TITLE.
  524. Prompt to edit message status.
  525. Prompt to edit TYPE.
  526. Status message to send to console on startup.
  527. Prompt for first name.
  528. Minute of the hour to attempt forwarding.
  529. Max # of calls in "unread mail" list.
  530. YES to keep partial message (interrupted due to timeout or disconnect)
  531. YES to enable auto-kill of messages auto-forwarded (NO leaves
  532. the message with status set to 'F').
  533. YES to generate a service message on KT. [NOT YET IMPLEMENTED]
  534.  
  535. Prompt for file name.
  536. Prompt for file text.
  537.  
  538. Header for list of user records.
  539. Prompt to delete user record.
  540. Prompt to change user call in user record.
  541. Prompt to change user SSID.
  542. Prompt to change user privilege level.
  543. Prompt to change user name in user record.
  544. Prompt to specify this users tnc port (A or B).
  545. Prompt to change user path.
  546. Prompt to change "local user" flag.
  547. Prompt to change "mail drop" flag.
  548. Prompt to change "call back" flag.
  549. Prompt to change "is BBS" flag.
  550. Error message if trying to change callsign to another existing one.
  551.  
  552. The next section, one line per message, is the error/status messages:
  553. Message for error in file name.
  554. Message for I/O error.
  555. Message for "can't find it".
  556. Message for protection violation (tried to read private msg etc.).
  557. Message for "file exists, and you can't erase it".
  558. Message for timout.
  559. Message for "I didn't understand the command you gave".
  560. Message for done (command completed).
  561.  
  562. The final section (to the *** EOF) is the text for the help command.
  563.  
  564.  
  565.  
  566. FILE LAYOUTS
  567.  
  568.            The Forwarding File  (unchanged from W0RLI 10.2)
  569.  
  570.  
  571.      Automatic forwarding of messages to other MailBox systems.
  572.  
  573.      The file FWD.TNC contains information that drives the
  574. automatic forwarding of messages. If the file does not exist,
  575. no forwarding is done. The file contains four kinds of information:
  576.  
  577. "F" or "G" lists are lists of stations for whom you should forward mail.
  578. They are grouped by the call of the MailBox to which their mail 
  579. should be forwarded. The header of each list looks like:
  580.  
  581. Columns     Data
  582.   1         "F" or "G"
  583.   2         TNC identifier. "A" = TNC on COMM port, "B" = PRINTER port.
  584.   3-4       Hour to activate forwarding to this station.
  585.   5-6       Hour to de-activate forwading to this station.
  586.   7-end     The text to send to the TNC to do the connet.
  587.  
  588. A "G" list is the same as an "F" list, except the MailBox will 
  589. add "< FROM" when it sends the message. This is only compatible with
  590. target MailBoxes running version 10.0 and above.
  591. Forwarding will occur at the minute given in CONFIG.TNC, on those
  592. hours given in FWD.TNC.
  593.  
  594. The "U" list is a list of your local users. These are the stations
  595. that wish to receive mail at your MailBox.
  596.  
  597. "I" lists contain only the header line. These items trigger the
  598. inquiry of adjacent MailBoxes for their local user list.
  599.  
  600. "P" lists are commands to be sent to the TNC. The character after
  601. the P is which TNC (PA or PB). The list is terminated with
  602. "*** EOF". One of these lists might preceed each "F" list to
  603. set the TNC parameters to be used for the forward attempt.
  604. There should be a "P" list at the end of the FWD.TNC file to
  605. reset TNC parameters back to default.
  606.  
  607. In this release the "I" and "U" lists are not used. They are here
  608. for future enhancement: the automatic construction of "F" lists
  609. by downloading the FWD.TNC files from the remote MailBoxes.
  610.  
  611. The following is an example of FWD.TNC for W0RLI:
  612.  
  613. (Forward to K1BC every hour)
  614. FA0023C K1BC VIA KD2S-1 <Function, TNC ID, Time, MailBox and path>
  615. W1XR             <Call of station whose mail should be forwarded>
  616. N1AWX
  617. K1BC
  618. *** EOF          <Marks the end of list>
  619. PB               <Set TNC params for K7PYK connection>
  620. FRACK 6
  621. MAXFRAME 2
  622. *** EOF
  623. (Forward to K7PYK only from 1200 to 0259 GMT)
  624. GB1202C K7PYK     <The next MailBox to forward to>
  625. K7PYK
  626. W7KB
  627. *** EOF
  628. (Inquire K1BC's FWD.TNC only between 0300 and 0359 GMT)
  629. IA0303C K1BC VIA KD2S-1 <MailBox to inquire users from>
  630. IB1200C K7PYK           <Another MailBox to inquire users from>
  631. PB                      <Set TNC params back to normal>
  632. FRACK 4
  633. MAXFRAME 4
  634. *** EOF
  635. U                       <Start of list of local users>
  636. W0RLI
  637. WB2OSZ
  638. K1OJH
  639. *** EOF
  640.  
  641.  
  642.      There is no limit to the number of lists or the number of
  643. calls in each list. Your MailBox will do the connect and send the 
  644. messge onward. It will either delete it or mark it with 'F' status
  645. depending on the setting of the YES/NO (Kill on forward) flag in
  646. CONFIG.TNC. Auto forwarding is attempted each hour at the minute
  647. specified in CONFIG.TNC, or when you use the "X" menu item.
  648.  
  649.      The special call "*" (a single *) can be used to force the
  650. forwarding of all mail not addressed to the system owner. This
  651. could be used by someone who would like to run this software, but
  652. would not like to maintain an active MailBox. They would get all
  653. their own mail locally, but any mail deposited onto their system
  654. would be automatically forwarded.
  655.  
  656.      The forwarding of messages counts on the remote MailBox
  657. behaving correctly. It must have a menu with '>' at the end
  658. of the last line. The command for sending messages must have the
  659. form "Sx call". It must prompt for message title, and then prompt
  660. for message text. Message text is terminated by ^Z.
  661.  
  662.  
  663.  
  664. FILE LAYOUTS
  665.  
  666.  
  667.      Files used by the MailBox.
  668.  
  669. - Source Code (Not distributed at this time)
  670.  
  671. BBS.PAS       - Main program.
  672. CLKIBM.INC    - Clock/Date routines (IBM specific)
  673. BBSUSER.INC   - Routines dealing with the user file
  674. CNFIGVAR.INC  - Declarations for variables loaded from Configuration file
  675. IOIBM.INC     - Character I/O routines (IBM specific)
  676. BBSIO.INC     - General Character I/O routines.
  677. PARSE.INC     - Command line parser
  678. BBSMAIL.INC   - Mailbox routines
  679. CNFIG.INC     - Routine to read Configuration file
  680. DIR.INC       - Disk directory code
  681. LOG.INC       - Logging routine
  682. MISC.INC      - Odds & Ends
  683. FILEIO.INC    - File I/O
  684. FWD.INC       - Auto-forwarding
  685. GATE.INC      - Gateway code
  686. DIR.INC       - Disk directory code
  687. ERRHAN.INC    - Run Time error handler
  688.  
  689. - Object Code
  690.  
  691. BBS.COM       - The Mailbox
  692. BBS.000       - The Mailbox (overlay file)
  693.  
  694. - Documentation
  695.  
  696. BBS.DOC       - Description of how to use the MailBox (W0RLI called this
  697.                 file DOC.TNC)
  698. NOTES.DOC     - Release notes, tech notes, installation notes, etc.
  699.  
  700. - Data files
  701.  
  702. BBSxxx.CNF    - Text file. Configuration data, message of the day,
  703.                 help command text, error message text, etc.
  704.  
  705. FWD.TNC       - The routing tables for forwarding messages.
  706.  
  707. LOG.TNC       - The station log.
  708.  
  709. MON.TNC       - The saved "J" lists. 
  710. CALLS.TNC     - List of all calls seen in monitor mode. 
  711.  
  712.  
  713. - The disk that is running the MailBox requires only:
  714.  
  715. PC/DOS 2.x or 3.x (or equivalent).
  716. BBS.COM    - The MailBox.
  717. BBS.000    - The MailBox overlay.
  718. BBSxxx.CNF - Configuration data used by TNC.COM
  719. FWD.TNC    - Routing tables, required ONLY if automatic forwarding
  720.              is to be used.
  721.  
  722. You must create a subdirectory if specified for the File area and
  723. the Mail area.
  724.  
  725. The following files are created and used by the MailBox:
  726.  
  727. MESSAGES.DAT  - The mail headers.
  728. MESSAGES.IDX  - The mail header index.
  729.  
  730. Mail messages are stored as individual files using the Mail path
  731. specified in BBSxxx.CNF as MSG00001.MAI, etc.
  732.  
  733. USERS.DAT  - The user database.
  734. USERS.IDX  - The user database index.
  735. CALLS.TNC  - Text file. List of all calls seen in monitor mode.
  736. MON.TNC    - The saved "J" lists.
  737. LOG.TNC    - The log file. A text file that contains the user log.
  738.              (events to be logged are specified in CONFIG.TNC)
  739.  
  740.    Each line in the log file contains an event code, the date and time,
  741.    followed by further information about the event.
  742.  
  743.    'C' - User connected to system.
  744.       'A' - User connected on TNC on COMM port.
  745.       'B' - User connected on TNC on PRINTER port.
  746.       'E' - Local user took MailBox off line.
  747.       'I' - Local user initial login.
  748.       'L' - User was linked via the station that just connected.
  749.  
  750.    'G' - GateWay event.
  751.       'A' - Connection attempted and failed. Path shown.
  752.       'C' - Connection attempted and obtained. Path shown.
  753.       'E' - End of GateWay event, or use.
  754.       'S' - Start of GateWay use.
  755.       'U' - Entry to unprotocol mode.
  756.  
  757.    'X' - Exit.
  758.       'A' - Local user put MailBox on line.
  759.       'B' - User said good bye.
  760.       'D' - User disconnected.
  761.       'E' - Excluded user attempted connect.
  762.       'F' - User forced off by system owner.
  763.       'Q' - Local user exited to DOS.
  764.       'T' - Timeout, forced disconnect.
  765.  
  766.    'F' - File event. Command line shown as user entered it.
  767.  
  768.    'M' - Message event. Message number always shown.
  769.       'F' - Message has been forwarded. Connect path shown.
  770.       'K' - Message has been killed.
  771.       'L' - Message headers listed.
  772.       'R' - Message has been read.
  773.       'S' - Message has been sent.
  774.  
  775.    'E' - Run time error.
  776.