home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / new / comm / bbs / 4d-bbsdemo / docs / text / 14.network_multiline < prev    next >
Text File  |  1993-12-28  |  3KB  |  86 lines

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