home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / oct93 / comm / 4d-bbsdemo.lha / 4D-BBSDemo / Docs / 14.Network_Multiline < prev    next >
Text File  |  1993-07-02  |  4KB  |  94 lines

  1. Chapter 14:
  2.  
  3.  
  4.                    Networking and Multi-Line
  5.  
  6.  
  7.  
  8. 14.1.0  Overview
  9.  
  10.      4D-BBS has the ability to handle multiple callers at the same time.
  11. This is accomplished by running multiple copies of the program, each
  12. services a specific line.  These can be dedicated null modem, normal
  13. dial up modem, or local.  Following is information on the specifics
  14. needed to run multiple copies of 4D-BBS.
  15.  
  16.  
  17. 14.2.0  Startup
  18.  
  19.      When you start up each copy for multi-line operation, you must
  20. specify different serial devices to use for each invocation of 4D-BBS.
  21. If you run two copies of 4D-BBS with the same serial device, they will
  22. confuse each other, and neither of them will be able to use the serial
  23. device.
  24.  
  25.      To specify an alternative serial device, use the -s and -u
  26. command line paramaters.  For example, if you have a A2232 multi
  27. serial board, you can start two lines by using the following example.
  28.  
  29. run 4D-BBS     <NIL: >CON:12/382/700/50/4D-BBS0_Window/INACTIVE"
  30. run 4D-BBS -u2 <NIL: >CON:12/432/700/50/4D-BBS1_Window/INACTIVE"
  31.  
  32.  
  33.      The first line does NOT need the -u clp, and will be using the
  34. internal serial port.  The second line specifies serial.device unit
  35. 2 should be used.  Both of these when ran will open up a window on the
  36. workbench to display their status to.  This is not necessary, but can
  37. come in handy for problem solving when used with the verbose CLP.
  38.  
  39.  
  40. 14.3.0  Data File Conflicts
  41.  
  42.      4D-BBS will try up to 30 times to open a file when a dos error of
  43. 202 (file is in use) occurs.  4D-BBS was written to only have a file
  44. lock open for as short a time as possible, but errors can still arise.
  45. We are still addressing this problem, and could handle this situation
  46. different in the future.
  47.  
  48.  
  49. 14.4.0  Running a Local Only Copy of 4D-BBS
  50.  
  51.      Using the -os command line parameter, you can run a local onetime
  52. copy of 4D-BBS.  This will NOT open any serial devices, and terminate
  53. after the local user logs off.  This command can be ran while another
  54. user is on the BBS without disturbing the on-line user.
  55.  
  56. 14.5.0  Communications and scripts
  57.  
  58.      When someone logs onto 4D-BBS, the BBS itself will look to see if
  59. any other copies of the BBS are running WITH THE SAME BASE AREXX PORT
  60. NAME AS ITSELF.  This is a very important concept to understand.  When
  61. you want to run multi-line, and have each line aware of the other, you
  62. MUST use the same ARexx name when staring up each copy.  4D-BBS itself
  63. will handle changing the ARexx port names so each BBS has a unique
  64. ARexx port name.  Failure to do this will result in each copy of
  65. 4D-BBS not recognizing another copy.
  66.  
  67.      If you want to log on locally without a user knowing, you can
  68. change your ARexx port name to something different, and the user will
  69. not be notified of your actions.
  70.  
  71.      Below is a list of actions which will trigger the BBS to send out
  72. commands to other copies of the BBS running concurrently.
  73.  
  74. Action                 Command
  75. --------------------   --------------------------------------
  76. Posting a message      Update high pointer for that sub-board
  77.  
  78. User Logs On           Annouce user's logon
  79.                        Update system call information
  80.  
  81.  
  82.  
  83. 14.5.1  Scripts
  84.  
  85.      Certain functions automatically execute a specific ARexx script
  86. whenever that function is successfully completed.   Currently this
  87. list is small, but new functions and scripts will be added on demand.
  88.  
  89.  
  90. Function               Rexx Script Name
  91. --------------------   ------------------
  92. Posting a message      AfterPost.Rexx
  93.  
  94.