home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / pcboard / pcbmult.zip / PCBMULT.TXT < prev   
Text File  |  1992-09-11  |  152KB  |  3,099 lines

  1.                                   
  2.                                    
  3.                                    
  4.                                    
  5.                                    
  6.                                    
  7.                                    
  8.                                    
  9.                                    
  10.                                    
  11.                                    
  12.                                    
  13.                       PCBoard And Multiple Nodes
  14.                                    
  15.        A guide to setting up PCBoard in a multinode environment
  16.      
  17.      
  18.      
  19.      
  20.      
  21.    
  22.      
  23.      
  24.      
  25.      
  26.  
  27.      
  28.      
  29.      
  30.      
  31.      
  32.      
  33.      
  34.      
  35.      
  36.      
  37.      
  38.      
  39.      
  40.      
  41.      
  42.      
  43.      
  44.      
  45.      
  46.      
  47.      
  48.      
  49.    
  50.      
  51.      
  52.      
  53.      
  54.      
  55.      The entire  contents of this document are Copyright (C) 1992  by
  56.      Clark Development Company, Inc.
  57.      
  58.      
  59.      DISCLAIMER
  60.      
  61.      The  information  provided in this document  is  provided  as  is
  62.      without any warranty of any type or guarantee of fitness of  use.
  63.      The  configurations detailed in this document have  been  tested,
  64.      however  results may vary from system to system  and  you  assume
  65.      full  responsibility  for trying any of the above suggestions  on
  66.      your system.  It is suggested that before you attempt any of  the
  67.      suggestions listed that you completely back-up your system.
  68.      
  69.      PCBoard  is a registered trademark of Clark Development  Company,
  70.      Inc.
  71.      386MAX is a registered trademark of Qualitas
  72.      Lantastic is a registered trademark of Artisoft, Inc.
  73.      Microsoft   Windows  is  a  registered  trademark  of   Microsoft
  74.      Corporation.
  75.      NetWare is a registered trademark of Novell, Inc.
  76.      QEMM and DESQview are trademarks of Quarterdeck Office Systems.
  77.  
  78. Table of Contents
  79. =================
  80.           
  81. Overview                                                 
  82.      What Is Needed to Run More Than One Node?           
  83.      What is Multitasking                                
  84.  
  85. Multiple Nodes Using Multitasking Software               
  86.      Topics covered in this section:                     
  87. Getting Started                                          
  88.      Recommended Hardware:                               
  89.      Necessary Software:                                 
  90. Modifying System Files                                   
  91.      CONFIG.SYS                                          
  92.      AUTOEXEC.BAT                                        
  93. Installing Additional Nodes                              
  94.      Creating the NODE Subdirectories                    
  95. Setting Up PCBoard                                       
  96.      PCBSetup                                            
  97.      Modifying BOARD.BAT                                 
  98. Setting Up Your Nodes Under a Specific Multitasker       
  99.      DESQview                                            
  100.      Microsoft Windows v3.1                              
  101. Automatically Loading The Nodes at Bootup                
  102.      DESQview                                            
  103.      Windows v3                                                                                         
  104. Setting Up PCboard v14.5a And Local Area Netwoks         
  105.      Topics covered in this section                      
  106. Getting Started                                          
  107.      Required Hardware                                   
  108.      Required Software                                   
  109.      Types of Networks Supported                         
  110.      Testing Network Compatibility                       
  111. Planning Your Network Setup and File Locations           
  112.      What Type of Computers Should I Use On My Network?  
  113.      Where Should I Store The PCBoard Files?             
  114. Configuring The Network Drives                           
  115. Modifying Your System Files                              
  116.      CONFIG.SYS                                          
  117.      AUTOEXEC.BAT                                        
  118. Installing Your Other Nodes                              
  119.      Dial-In Nodes                                       
  120.      Local/In-House Nodes                                
  121. Optimizing A Network Setup                               
  122. Special Considerations For Novell Networks               
  123. Possible IRQ Conflicts                                   
  124.      Multitasking                                        
  125.      Networking                                          
  126.  
  127. Modifying DOOR Batch Files for a Multinode Setup         
  128. Setting Up Events                                        
  129. Third Party Software Setup Recommendations               
  130.      DSZ (ZMODEM TRANSFER PROTOCOL)                      
  131.      DOORWAY                                             
  132. Answers to Common Multinode Questions                    
  133.      
  134.  
  135. Overview
  136. --------
  137.      
  138.      PCBoard was designed with multiple user access to a system in
  139.      mind.  Each user that accesses the system must log in through a
  140.      node.  A node refers to a copy of PCBoard that is running on a
  141.      network, multitasker, or some other system that has the ability
  142.      to share resources through shared file access.  Users may access
  143.      the system remotely through a modem or locally through a network
  144.      or local node.
  145.      
  146.      
  147.   What Is Needed to Run More Than One Node?
  148.      
  149.      There are two different ways to run multiple nodes with PCBoard -
  150.      multitasking and networking.  Each method has various advantages
  151.      and disadvantages but they all have one thing in common - the
  152.      ability to share files.
  153.      
  154.   What is Multitasking
  155.      
  156.      Multitasking is a method of running more than one task at a time
  157.      on a single machine.  When multitasking you are not actually
  158.      running all of the tasks at the same time as the CPU is not
  159.      capable of doing so.  Instead, the multitasking software manages
  160.      the resources of the CPU and switches VERY QUICKLY between each
  161.      task.  Of course, since you are switching back and forth between
  162.      each task having a faster CPU will make each task run more
  163.      smoothly.  To really be effective in running multiple nodes you
  164.      will need to use an 80386 based machine or higher.  The internal
  165.      capabilities of the 80386 and higher class CPU were better
  166.      designed for multitasking than any of the previous processors
  167.      (80286, 8086, 8088) and are therefore strongly recommended for
  168.      multitasking.
  169.      
  170.      What is a Network?
  171.      
  172.      A network allows several different computers to share resources
  173.      (hard drives, printers, etc.) among one another.  In order for a
  174.      resource to be considered "sharable" it must be stored on a
  175.      computer that is referred to as a server.  The workstations
  176.      (other computers in the network) can then use the resources
  177.      located on the server just as if they had been installed on the
  178.      workstation computer.
  179.      
  180.      The most popular network is called a Local Area Network (LAN).
  181.      All communications in a LAN is done between cabling which is
  182.      hooked into each machine.  Another network is also called a Wide
  183.      Area Network (WAN).  The machines in these networks are so far
  184.      apart that you could not use cabling to connect them.  Instead,
  185.      alternate methods like dedicated phone lines are used to send
  186.      data across the network.
  187.      
  188.      As an example of shared resources, if you had a 1.2 gigabyte
  189.      drive on one machine and you hooked up a LAN then the server is
  190.      the computer with the large hard drive and the workstation is the
  191.      computer that will access that drive via the network.  The drive
  192.      can then be accessed from the workstation just as if it was
  193.      installed on the workstation itself.
  194.      
  195.      Should I Use a Network or a MULTITASKER?
  196.      
  197.      There are a few questions you need to ask yourself when you are
  198.      considering your multinode setup.  These questions will help you
  199.      get a better feel if you should use a network, a multitasker, or
  200.      a combination of both.
  201.      
  202.      How many nodes do I plan to run?
  203.      
  204.      There is a limit on how many COM ports you can put in a single
  205.      machine that uses unique base addresses and unique IRQs for each
  206.      port.  Because of this limitation you are limited on how many
  207.      nodes you can run on one single machine using a multitasker.  If
  208.      you want to remain compat ble with the majority of third party
  209.      software then you cannot run more than 4 nodes on a single
  210.      machine.  Sure, you can run more than four nodes on a multitasker
  211.      but it requires that you use the upper IRQs (8-15) which very few
  212.      third party programs support.  If you need more than four nodes
  213.      you should invest in a network.
  214.      
  215.      A network allows expandability beyond four nodes because you can
  216.      keep adding workstations to your network to add more nodes.  Of
  217.      course a drawback to a network that runs one node per workstation
  218.      is that it requires quite a bit of space for all of the computers
  219.      on the network.
  220.      
  221.      How important is performance?
  222.      
  223.      In order to multitask four nodes on a single machine you do pay a
  224.      price -- performance.  Because you are running four copies of
  225.      PCBoard, it is almost like running four computers off of one
  226.      processor.  Of course you can get a faster processor so that the
  227.      speed seems about the same as a stand alone machine.  If
  228.      performance is very important to you then a network is probably
  229.      what you should choose with one node per machine.  A network
  230.      would be pointless though from the performance angle if you were
  231.      to use slow machines like XTs as your workstations.  Using XTs
  232.      for your workstations would defeat the purpose and it would be
  233.      better if you used a fast 386/486 for a multitasking machine
  234.      instead.
  235.      
  236.      How much money is in the budget?
  237.      
  238.      How much money you have to spend is usually a direct reflection
  239.      on the speed of the machine(s) you can afford.  Of course if you
  240.      need to run more than four nodes then a network will be involved
  241.      but the faster the machines are that you use for your server(s)
  242.      and for your workstation(s) the better the overall network
  243.      performance will be.
  244.      
  245.      As an example let's say that you need to run five nodes and
  246.      performance is rather important to you.  What you could do is
  247.      setup a three machine network with one server and two
  248.      workstations.  On each of the workstations you could multitask
  249.      two nodes using a 386/486.  Running two nodes on a workstation
  250.      means less computers in your network and it also means lower
  251.      overall cost.
  252.      
  253.      How much room is available for computer equipment?
  254.      
  255.      Another valid concern about your multinode setup is how much
  256.      physical room it is going to take.  This is especially true of a
  257.      setup which uses a network because there are multiple machines in
  258.      the network.  If space is very tight and you are using a network
  259.      then perhaps you will want to multitask on your workstations to
  260.      reduce the number of machines that are required on your network.
  261.      
  262.      Can I fit all of the storage space on one machine?
  263.      
  264.      Another item you will need to plan for is how much file storage
  265.      space will you have online and will it all fit on one machine.
  266.      For example if you wanted to put 8 gigabytes online then it would
  267.      be very difficult to do so inside of one machine.  In a situation
  268.      like that you would have to go to a network setup with multiple
  269.      servers to accomodate all of the storage space.
  270.      
  271.      In summary, here is a short list of the advantages and
  272.      disadvantages of multitasking, networking, and running a
  273.      multitasker on the workstations of a network:
  274.      
  275.      Multitasking:
  276.      
  277.      Advantages:
  278.      
  279.           You can run more than one node on a single computer
  280.           Less hardware cost per node (hard drives, monitors, etc.)
  281.           Multiple nodes are a keyboard away
  282.      
  283.      Disadvantages:
  284.      
  285.           System is harder to tune; lockups may occur
  286.            A  system which uses more serial ports other than  COM1  or
  287.        COM2 may find that not all third party program that access  the
  288.        COM ports will work on 'non-standard' COM ports.
  289.      
  290.      
  291.      
  292.      Networking:
  293.      
  294.      Advantages
  295.      
  296.        Each node uses a dedicated CPU instead of sharing the CPU by
  297.        multitastking.  This can dramatically increase performance
  298.        especially if you are using high-speed modems.
  299.        You can run more than four nodes.  A network allows you to
  300.        share resources (drives, printers, etc.) with all connection
  301.        machines.  Therefore it is possible to run several hundred
  302.        nodes in a network configuration.
  303.        In a multitasking system if the computer goes down so do all
  304.        of the nodes on the computer.  However, in a networking
  305.        configuration chances are that if a node goes down the others
  306.        will remain active.
  307.        You are not hampered by memory shortages that are experienced
  308.        when using multitasking software and trying to squeeze several
  309.        programs into memory at the same time.
  310.      
  311.      Disadvantages
  312.      
  313.      Cost.  A LAN configuration requires both hardware and software.
  314.      You must have a network card and proper cabling in addition to
  315.      the network software for each machine on the network.  Most
  316.      "starter kits" for LANs cost a few hundred dollars.  These kits
  317.      contain everything you need to start a LAN and connect two
  318.      machines together.
  319.      
  320.      
  321.      Networking With Multitasking Workstations
  322.      
  323.      Advantages:
  324.      
  325.        More than one node can be run from one computer while still
  326.        retaining all of the advantages of a network.
  327.        More economical than running one node per workstation
  328.        Saves space because you do not use a workstation for each node
  329.        
  330.        Disadvantages:
  331.        
  332.        Requires that both your multitasking setup and network setup
  333.        are well tuned because you are running a multitasker on top of
  334.        a network configuration
  335.      
  336.      
  337.      The remaining sections of this document will cover in detail
  338.      setup for a multiple nodes using either a multitasker or a
  339.      network.  The remaining sections will also cover topics common to
  340.      any multiple node setup such as DOORs and events.  Please refer
  341.      to the appropriate section for the method you have choosen to
  342.      implement your multiple node setup.
  343.  
  344. Multiple Nodes Using Multitasking Software
  345. ------------------------------------------
  346.      
  347.   Topics covered in this section:
  348.      
  349.      Getting Started:  Details what type of hardware and software  you
  350.      will need to run multiple nodes on a single computer.  Everything
  351.      from the type of CPU and serial port board you should use to  the
  352.      type  of  multiasking software and BBS software you will need  is
  353.      discussed.
  354.      
  355.      Modifying  your  System Files:  Two of the most important  system
  356.      files  on  your  system are AUTOEXEC.BAT and CONFIG.SYS.   It  is
  357.      quite likely that you will need to modify either or both of these
  358.      files to operate properly under a multitasking environment.
  359.      
  360.      Setting  Up PCBoard:  In your setup of PCBoard you will  need  to
  361.      modify  a  few things.  For example you will need to specify  how
  362.      each  copy of PCBoard will know what node number it is.  You will
  363.      also need to modify your batch file to run PCBoard.
  364.      
  365.      Setting Up Your Nodes Under A Specific Multitasker:  This section
  366.      details how to setup multiple nodes under a specific multitasker.
  367.      For  example, specific instructions are included for DESQview and
  368.      Windows.
  369.  
  370. Getting Started
  371. ---------------
  372.      
  373.      Using a multitasker and a fast 386 (25 mhz or higher) you can run
  374.      a recommended maximum of 4 nodes nodes on as on a single machine.
  375.      This  type  of  setup may seem complicated at  first,  but  after
  376.      reading  this  explanation the majority of your  questions  about
  377.      setting up a multinode system should be answered.
  378.      
  379.   Recommended Hardware:
  380.      
  381.       80386/486 based computer with 2 megabytes plus 512k of  RAM  for
  382.        each node.
  383.       I/O  card using NS16550AFN UARTs.  If you plan to run more  than
  384.        two nodes you may wish to look into an I/O card or a special  3
  385.        or  4  port serial card that will let you use configurable  IRQ
  386.        settings (preferably one that uses IRQs 2-7)
  387.      Floppy drive (5 1/4" or 3 1/2")
  388.      Hard drive
  389.      Monitor and video card
  390.      Modem for each phone line (external preferable)
  391.      
  392.      If  you  cannot find a 4 port serial card you can use an existing
  393.      COM port and plug in a 3 port serial card.  This will give you up
  394.      to 4 COM ports.  One other option to get four COM ports is to use
  395.      two  serial boards then have two COM ports on each.  Look for COM
  396.      ports that either come with 16550 UARTs already installed or have
  397.      socketed UART chips so you can replace the existing UART  with  a
  398.      16550 UART.
  399.      
  400.      When  you  are  searching for a serial card  keep  in  mind  that
  401.      PCBoard  requires that each COM port have a unique  base  address
  402.      and  IRQ setting.  "Intelligent" serial boards that allow several
  403.      COM  ports  to  communicate  through one  IRQ,  or  that  require
  404.      drivers,  will  not  work since PCBoard  talks  directly  to  the
  405.      hardware.
  406.      
  407.      
  408.   Necessary Software:
  409.      
  410.      MS-DOS (V3.3 or higher)
  411.      Multitasking Software (e.g. DESQview or Windows v3.1)
  412.      PCBoard V14.5a (/E3 or higher)
  413.      Disk caching software
  414.      
  415.      NOTE:  If the amount of memory you will have available is  a
  416.      concern  you  may wish to look into using the VROOM  overlay
  417.      version  of  PCBoard  which uses less memory.   The  overlay
  418.      version  uses less memory by storing part of the program  on
  419.      disk.   By using the overlay version of PCBoard there  is  a
  420.      slight  performance  penalty because some  of  the  code  is
  421.      loaded from disk rather than stored in memory.
  422.  
  423. Modifying System Files
  424. ----------------------
  425.      
  426.      There  are  a  few changes you will likely have to make  to  your
  427.      AUTOEXEC.BAT  and  CONFIG.SYS system files.  You  should  already
  428.      have  an  AUTOEXEC.BAT  and CONFIG.SYS on  your  system  so  this
  429.      section details what you must have in these files in order to run
  430.      a multiple node setup using a multitasking software properly.  If
  431.      you  have other items in these files do not worry as they may  be
  432.      necessary for your setup.
  433.      
  434.   CONFIG.SYS
  435.      
  436.      At  this point, you should make sure you have the following items
  437.      in your CONFIG.SYS:
  438.      
  439.      DEVICE=[memory manager] [optional parameters]
  440.      DEVICE=[disk cache program]
  441.      FILES=nn
  442.      BUFFERS=nn
  443.      STACKS=0,0
  444.      SHELL=C:\DOS\COMMAND.COM C:\DOS\ /E:512 /P
  445.      FCBS=n,n (This line is optional)
  446.      
  447.      DEVICE=[memory  manager]:   On this line  you  should  load  your
  448.      memory  manager  (e.g.  QEMM, 386MAX,  etc.)   Your  installation
  449.      program  for  your memory manager should place this already  here
  450.      for you.  If not, please consult the instructions for your memory
  451.      manager  for  proper  installation  instructions.   Almost  every
  452.      memory manager has parameters that you can use to customize  what
  453.      memory  will be used.  Unless you have a good reason  to  specify
  454.      different parameters, leave them as is.  If you do have  to  make
  455.      changes, be sure to consult your manual.
  456.      
  457.      DEVICE=[disk cache program]:  A good disk cache will  do  wonders
  458.      for  your system performance.  A disk cache is like a dynamic ram
  459.      disk.  The most frequently accessed files are stored in memory so
  460.      that  if  they are accessed again they can be pulled from  memory
  461.      instead of the hard disk.  If your system does not already have a
  462.      disk  cache installed you should check your DOS manual to see  if
  463.      one was included with your package.
  464.      
  465.      Some   disk   caches  load  through  AUTOEXEC.BAT   rather   than
  466.      CONFIG.SYS.  You should check the manual for your disk  cache  to
  467.      see if you should load it through AUTOEXEC.BAT or CONFIG.SYS.
  468.      
  469.      Some  people  may ask why not use a ram disk instead  of  a  disk
  470.      cache.   If  you use a ram disk instead of a disk cache  you  are
  471.      more likely to loose data if the power goes down and you may  not
  472.      really  be putting the files in the ram disk that will  give  the
  473.      biggest  performance boost to your system.  A ram disk does  have
  474.      one  major advantage.  If you use a program that creates numerous
  475.      temporary files then a ramdisk might be beneficial.  The best bet
  476.      is to use a disk cache instead of a ram disk.
  477.      
  478.      FILES=nn:  On  this  line  you  need  to  replace  'nn'  with  20
  479.      multiplied by the number of nodes you are planning to  run.   For
  480.      example if you are planning on running 3 nodes you would set this
  481.      value to 60 (20*3).
  482.      
  483.      BUFFERS=nn:  For optimum performance, this value should be set to
  484.      equal  the size of your hard disk clusters.  The easiest  way  to
  485.      determine what your hard disk cluster is to run CHKDSK.  You will
  486.      see  a  line  that says nnnn bytes in each allocation  unit   The
  487.      number at the beginning of that line is how big your cluster size
  488.      is  for  the  drive  you ran CHKDSK on.  To  determine  how  many
  489.      kilobytes  that is just divide the number of bytes by 1024.   For
  490.      example,  if your hard disk cluster size is 2048 bytes  then  use
  491.      BUFFERS=4.   Since each buffer is 512 bytes - four buffers  would
  492.      equal 2048 bytes which is your desired setting.
  493.      
  494.      All  of  the buffer recommendations assume that you are  using  a
  495.      disk  cache.  If you are not using a disk cache you can  increase
  496.      the  number  of buffers to help make up for the lack  of  a  disk
  497.      cache.
  498.      
  499.      STACKS=0,0:    This   is  necessary  when  running   multitasking
  500.      software.  By doing this you will also free up additional memory.
  501.      On  some systems, using no interrupt stacks may cause lockups  or
  502.      other  unexplained problems.  If you are experiencing any strange
  503.      problems  or  your system becomes unstable you may  want  to  try
  504.      setting your STACKS= statement to 9,128.
  505.      
  506.      FCBS=n,n: FCBs were only used in older DOS programs so if you are
  507.      not  running old programs that use FCBs then you may be  able  to
  508.      omit  this line.  The first parameter is the number of  FCBs  you
  509.      want, and the second number is the number to lock.  If you do not
  510.      need  FCBs  then you can set this to 1,0 and free  up  even  more
  511.      memory for your multitasker.
  512.      
  513.      SHELL=C:\DOS\COMMAND.COM:  Increases  the  available  environment
  514.      space  to  512  bytes.  This should be plenty  of  room  for  the
  515.      environment variables that PCBoard V14.5a will create along  with
  516.      any  other variables that you or any other programs you  run  may
  517.      create.
  518.      
  519.   AUTOEXEC.BAT
  520.      
  521.      1.   The  path  to  locate  your  PCBoard  V14.5  executable  and
  522.      utilities   must   be   in   your  PATH=  statement.    (Example:
  523.      PATH=C:\PCB)
  524.      
  525.      2.   Make  sure  that  SHARE.EXE  is  being  loaded  inside  your
  526.      AUTOEXEC.BAT.  Reports have indicated that loading SHARE in  high
  527.      memory can slow system performance.  It is up to you whether  you
  528.      load  it  in  high memory or in conventional memory.  The  actual
  529.      difference in system performance may be minute.
  530.      
  531.      3.   Add  a  line at the end of your AUTOEXEC.BAT that will  load
  532.      your  multitasker.  Whatever multitasker you choose it should  be
  533.      able  to  automatically bring up your nodes when  you  load  your
  534.      multitasker.  If your multitasker does not have this ability then
  535.      your  system will not be able to load up the nodes again  if  the
  536.      power goes out.  Examples on how to load your nodes automatically
  537.      are  provided for DESQview and Microsoft Windows in Automatically
  538.      Loading Your Nodes at Bootup later in this section.
  539.      
  540.      An example AUTOEXEC.BAT  might look like this:
  541.      
  542.      @ECHO OFF
  543.      C:\DOS\SHARE.EXE
  544.      PATH=C:\PCB;C:\DOS;C:\UTILITY
  545.      PROMPT=$P$G
  546.      
  547.      If  you  are using DESQview you would add the following lines  to
  548.      your AUTOEXEC.BAT:
  549.      
  550.       CD\DV
  551.       DV
  552.      
  553.      If you are using Windows you would add
  554.      
  555.       CD\WINDOWS
  556.       WIN
  557.      
  558.      Now  that you have modified AUTOEXEC.BAT and CONFIG.SYS  you  are
  559.      ready to install additional PCBoard nodes.
  560.  
  561. Installing Additional Nodes
  562. ---------------------------
  563.      
  564.      NOTE:   If  you have not already installed PCBoard you should  do
  565.      that  first.  Next, get all of your files created and  make  sure
  566.      that  the  single  node  is running properly.   It  will  make  a
  567.      multiple node setup MUCH easier.
  568.      
  569.   Creating the NODE Subdirectories
  570.      
  571.      You  need to create a SEPARATE subdirectory for each PCBoard node
  572.      you plan to run.
  573.      
  574.      For  node 1 create a subdirectory off of your C:\PCB subdirectory
  575.      and  call  it  NODE1.   To do this, just  change  to  the  C:\PCB
  576.      subdirectory and type MD NODE1.  Do this for each node  you  want
  577.      to  add (e.g. for node 3's subdirectory you would type MD NODE3).
  578.      From  here  on,  these directories will be referred  to  as  NODE
  579.      subdirectories.
  580.      
  581.      Now  you should have a directory structure that looks like figure
  582.      1.
  583.                             
  584.                             ╔══════════════════════╗
  585.                             ║                      ║
  586.                             ║  C:\                 ║
  587.                             ║   │                  ║
  588.                             ║   └───PCB            ║
  589.                             ║        │             ║
  590.                             ║        ├────NODE1    ║
  591.                             ║        │             ║
  592.                             ║        ├────NODE2    ║
  593.                             ║        │             ║
  594.                             ║        ├────NODE3    ║
  595.                             ║        │             ║
  596.                             ║        └────NODE4    ║
  597.                             ║                      ║
  598.                             ╚══════════════════════╝
  599.  
  600.                      Figure 1:  An example directory tree for
  601.                      a multinode system.
  602.      
  603.      
  604.      Now,  copy the following files from the C:\PCB subdirectory  into
  605.      each NODE directory:
  606.      
  607.      BOARD.BAT
  608.      EVENT.SYS
  609.      PCBERR.OLD
  610.      PCBOARD.DAT
  611.      REMOTE.SYS
  612.      
  613.      For  example:  COPY C:\PCB\BOARD.BAT C:\PCB\NODE1.   Repeat  this
  614.      step for each file and each node.
  615.      
  616.      Once  you have copied the above list of files to each of the NODE
  617.      directories,  delete  the  files listed  above  from  the  C:\PCB
  618.      directory.   If you do not delete these files then there  is  the
  619.      chance that you could load a node using the wrong setup files.
  620.  
  621. Setting Up PCBoard
  622. ------------------
  623.      
  624.      In  your  PCBoard setup you will have to modify a few  items  for
  625.      proper  operation.  This section details some  changes  you  will
  626.      want to your configuration using PCBSetup and also how you should
  627.      modify your BOARD.BAT files for each node you plan on running.
  628.      
  629.   PCBSetup
  630.      
  631.      (For  this  example, we will assume that PCBoard is installed  in
  632.      C:\PCB.)
  633.      
  634.      There  are a few setup items which you may wish to change if  you
  635.      are  running under a multitasking-tasking environment.   In  each
  636.      node's directory do the following:
  637.      
  638.      1.   After  installing PCBoard run PCBSetup, select  NODE  /
  639.      EVENT / SUBSCRIPTION and modify the following fields on  the
  640.      screen:
  641.      
  642.      Answer Y to Running under a Network / Multitasker System.
  643.      
  644.      Replace  the value in Node Number to reflect  the  node
  645.      number  you have assigned to this node.  No  two  nodes
  646.      should share the same number so make sure that what you
  647.      enter here is unique.
  648.      
  649.      2.   Whenever  possible,  specify a path  to  a  file.   This  is
  650.      inclusive  of batch files and your setup of PCBoard  in  general.
  651.      This can enhance the speed of your system, especially if you  are
  652.      running EXE files from drives or directories located in your  DOS
  653.      search PATH.
  654.      
  655.      3.   In File Locations 2 make sure PCBPROT.DAT contains the  path
  656.      to  locate  the  file.   For example: C:\PCB\PCBPROT.DAT.   In  a
  657.      default  PCBoard setup only PCBPROT.DAT is entered on  the  line.
  658.      This  will cause problems in your multiple node setup if  you  do
  659.      not change this field to point to the full drive and pathname  of
  660.      where  to find it.  Since you are pointing to the one PCBPROT.DAT
  661.      you  will  find  adding, changing, or deleting  protocols  a  lot
  662.      easier because there is only one file to update.
  663.      
  664.      4.     Also in File Locations 2 make sure that there is a path is
  665.      specified  for  PCBFILER.DEF.  For example:  C:\PCB\PCBFILER.DEF.
  666.      This  way,  your file directories will be colorized  "on-the-fly"
  667.      with  the  colors you have defined in PCBFiler.   If  you  finish
  668.      setting up all of your nodes and one or more of your nodes do not
  669.      display  your  file directories in color then  you  need  to  run
  670.      PCBSETUP  from  that node directory and verify  that  this  field
  671.      points to a valid PCBFILER.DEF file.
  672.      
  673.      NOTE:   Since  you  are only going to running  PCBoard  from  one
  674.      machine,  most of your configuration files will not  need  to  be
  675.      changed  from your single node setup because they are all  stored
  676.      on the same hard drive.
  677.      
  678.   Modifying BOARD.BAT
  679.      
  680.      The default BOARD.BAT in each node's directory looks like this:
  681.      
  682.      @echo off
  683.      c:
  684.      cd\pcb
  685.      set DSZLOG=PCBDSZ.LOG
  686.      if exist REMOTE.BAT rename REMOTE.BAT REMOTE.SYS
  687.      if exist EVENT.BAT rename EVENT.BAT EVENT.SYS
  688.      if exist DOOR.BAT del DOOR.BAT
  689.      if exist ENDPCB del ENDPCB
  690.      PCB145
  691.      if exist REMOTE.BAT REMOTE
  692.      if exist DOOR.BAT DOOR
  693.      if exist EVENT.BAT EVENT
  694.      if exist ENDPCB goto end
  695.      board
  696.      :end
  697.      
  698.      You  will  need to modify each node's BOARD.BAT file so that  the
  699.      batch file changes to the directory where the node resides.   For
  700.      example node 1's new batch file would look like this:
  701.      
  702.      @echo off
  703.      C:
  704.      cd\PCB\NODE1
  705.      C:\DV\DVANSI
  706.      set COMBASE=bbb
  707.      set COMIRQ=i
  708.      set COMPORT=c
  709.      set DSZPORT=%COMBASE%,%COMIRQ%
  710.      set DSZLOG=PCBDSZ.LOG
  711.      if exist REMOTE.BAT rename REMOTE.BAT REMOTE.SYS
  712.      if exist EVENT.BAT rename EVENT.BAT EVENT.SYS
  713.      if exist DOOR.BAT del DOOR.BAT
  714.      if exist ENDPCB del ENDPCB
  715.      PCB145
  716.      if exist REMOTE.BAT REMOTE
  717.      if exist DOOR.BAT DOOR
  718.      if exist EVENT.BAT EVENT
  719.      if exist ENDPCB goto end
  720.      board
  721.      :end
  722.      exit
  723.      
  724.      The  line cd\PCB\NODE1 some explanation.  In the example we  told
  725.      you  that  this line would be used for for node 1  which  is  the
  726.      reason  that you change to the subdirectory to C:\PCB\NODE1.   As
  727.      you  are setting up the rest of the nodes you will want to change
  728.      this  line in the batch file so that it points to the appropriate
  729.      node  subdirectory.  For example if you were setting up the batch
  730.      file  for  node  2  then  you  would  change  the  line  to  read
  731.      cd\PCB\NODE2.
  732.      
  733.      The new lines in the batch file are described below:
  734.      
  735.      C:\DV\DVANSI:   This  line is only necessary  if  you  are  using
  736.      DESQview.   The  DVANSI program is an ANSI driver  that  is  more
  737.      friendly to DESQview.
  738.      
  739.      set  COMBASE:  This command sets an environment variable that you
  740.      can use in your batch files to reference the base address for the
  741.      COM  port.   The  value bbb is the three digit  hexadecimal  base
  742.      address  for  the  COM  port (e.g. 3f8,  2f8,  3e8,  2e8).   This
  743.      variable  will  prove  VERY  useful  when  you  start  installing
  744.      external  programs (DOORs, protocols, etc.) and if you  use  non-
  745.      standard COM ports.
  746.      
  747.      set  COMIRQ:   This line creates an environment  variable  called
  748.      COMIRQ  which  will store the IRQ that the node  will  use.   The
  749.      value  i  is  the IRQ number for the COM port.  Like the  COMBASE
  750.      environment   variable   this  environment   variable   will   be
  751.      indispensable when you start configuring third-party programs.
  752.      
  753.      set  COMPORT:   This line will create a variable  called  COMPORT
  754.      which will hold the number of the COM port you are using for  the
  755.      node.   The  value c is the COM port number that you  defined  in
  756.      PCBSetup, Modem Information.  You can use this variable from  any
  757.      batch  file and is especially useful when configuring third-party
  758.      programs.
  759.      
  760.      set  DSZPORT:  By placing this in each node's BOARD.BAT file  you
  761.      can use just one PCBRZ.BAT and one PCBSZ.BAT which can save you a
  762.      lot  of  time  when/if you need to change either of  those  batch
  763.      files.   You  will  notice that in this  line  we  reference  the
  764.      COMBASE  and  COMIRQ  environment  variables  that  were  created
  765.      previously.  If you are at a DOS prompt and type SET you will see
  766.      that  the  DSZPORT variable will reflect the proper base  address
  767.      and IRQ for the COM port you are using if you defined the COMBASE
  768.      and COMIRQ variables correctly.
  769.      
  770.      exit:   Adding this line will assure that when you  exit  to  DOS
  771.      through   the  call-waiting  screen  that  the  window  on   your
  772.      multitasker will close.  If you wish for it to stay open then you
  773.      should make sure that you do not add this line and that you  also
  774.      make  sure  that you setup your multitasker so that it  does  not
  775.      close the window upon completion of the program.
  776.  
  777. Setting Up Your Nodes Under a Specific Multitasker
  778. --------------------------------------------------
  779.      
  780.      The  instructions that follow detail what steps you need to  take
  781.      in  order  to add your nodes to DESQview and Windows  3.x.   This
  782.      first  section  details  how to setup  the  PIF  files  for  both
  783.      DESQview and Windows 3.x.  The next section details how  to  have
  784.      you automatically load each time you load your multitasker.  Each
  785.      section also lists any special considerations you should be aware
  786.      of   with  each  multitasker.   The  other  information  provided
  787.      throughout  this  section  except where appropriately  titled  is
  788.      independent of the multitasker you are using.
  789.      
  790.      Once  you have followed the instructions detailed in the specific
  791.      section  for the multitasker you are using you should proceed  to
  792.      the section entitled Automatically Loading Your Nodes at Bootup.
  793.      
  794.   DESQview
  795.      
  796.      Before  proceeding with a setup under DESQview you  should  first
  797.      become  fimiliar  with  how  to add  programs  in  your  DESQview
  798.      environment if you are not already famaliar with that topic.
  799.      
  800.      To configure your nodes to run under DESQview you will first have
  801.      to  load  the setup program for DESQview.  To do this, change  to
  802.      your  DESQview directory, at the DOS prompt type SETUP  and  then
  803.      press Enter.
  804.      
  805.      Next, select "Performance".
  806.      
  807.      Your screen should resemble figure 2.
  808.      
  809.  
  810.                      ╔1══Advanced═Setup:═Performance══════════╗
  811.                      ║                                        ║
  812.                      ║  Task Processing Time (in Clock Ticks) ║
  813.                      ║            Foreground:    2            ║
  814.                      ║            Background:    2            ║
  815.                      ║                                        ║
  816.                      ║  Memory Usage (in K)                   ║
  817.                      ║      Common Memory:      17            ║
  818.                      ║      DOS Buffer for EMS:  4            ║
  819.                      ║                                        ║
  820.                      ║  Optimize communications?    (Y/N): N  ║
  821.                      ║  Allow swapping of programs? (Y/N): N  ║
  822.                      ║  Manage printer contention?  (Y/N): N  ║
  823.                      ║                                        ║
  824.                      ║           Next field     Tab           ║
  825.                      ║           Backup menu    Esc           ║
  826.                      ║           DONE           <-┘           ║
  827.                      ║                                        ║
  828.                      ╚════════════════════════════════════════╝
  829.                      
  830.      
  831.                      Figure 2:  The Performance section of the
  832.                      Advanced Setup in DESQview.
  833.      
  834.      
  835.      Foreground  and Background Processing Time: It is very  important
  836.      that  you  set the foreground and background ticks  to  an  equal
  837.      value.   Otherwise, your system will likely suffer a  performance
  838.      degradation  which  callers  may  perceive  as  an  intermittent,
  839.      jerking  display.  The exact value for these two settings varies,
  840.      depending  on  how many nodes you are running and the  processing
  841.      speed  of your computer.  Avoid setting these values to 1,  which
  842.      may  result  in sluggish system performance.  You can  experiment
  843.      with  this value to see which works best on your machine,  though
  844.      using 2 or 3 usually seems to be a good choice.
  845.      
  846.      Two  of  the most important settings you will change are Optimize
  847.      Communications and Manage printer contention.  Set both of  these
  848.      to N to help avoid possible system lockups.
  849.      
  850.      Now  you  need to add each of the nodes to your DESQview menu  so
  851.      you can bring up a node with just a couple of keystrokes.  To add
  852.      each  node  to  the  DESQview menu select Open  Window  from  the
  853.      DESQview main menu.  Then select Add Program and then Other  (Add
  854.      program not found in list).  You will then be asked to specify  a
  855.      path  to  the program.  Supply a node directory for each  program
  856.      you  add.   For  example, enter C:\PCB\NODE1, C:\PCB\NODE2,  etc.
  857.      Once you have typed in a path you will then be taken to the Add a
  858.      Program screen where you will edit the PIF file for this program.
  859.      You will need to go through this procedure for each node you plan
  860.      to run.
  861.      
  862.      You  now should setup the PIF files for each node.  When you  are
  863.      finished  entering  the required information on  this  screen  it
  864.      should  resemble figure 3 as it contains the recommended defaults
  865.      for most of the fields.
  866.      
  867.     
  868.     ╔Add═a═Program═══════════════════════════════════════════════════════════╗
  869.     ║                      Specify Program Information                       ║
  870.     ║                                                                        ║
  871.     ║ Program Name............: Node 1                                       ║
  872.     ║                                                                        ║
  873.     ║ Keys to Use on Open Menu: N1                   Memory Size (in K): 450 ║
  874.     ║────────────────────────────────────────────────────────────────────────║
  875.     ║ Program...: C:\PCB\NODE1\BOARD.BAT                                     ║
  876.     ║                                                                        ║
  877.     ║ Parameters:                                                            ║
  878.     ║                                                                        ║
  879.     ║ Directory.: C:\PCB\NODE1                                               ║
  880.     ║────────────────────────────────────────────────────────────────────────║
  881.     ║ Options:                                                               ║
  882.     ║               Writes text directly to screen.......: [N]               ║
  883.     ║               Displays graphics information........: [N]               ║
  884.     ║               Virtualize text/graphics (Y,N,T).....: [T]               ║
  885.     ║               Uses serial ports (Y,N,1,2)..........: [Y]               ║
  886.     ║               Requires floppy diskette.............: [N]               ║
  887.     ║                                                                        ║
  888.     ║  Press F1 for advanced options            Press <-┘ when you are DONE  ║
  889.     ╚════════════════════════════════════════════════════════════════════════╝
  890.  
  891.            Figure 3:  The first screen of the PIF editor in DESQview.
  892.      
  893.      
  894.      There are two fields that you should pay special attention to  in
  895.      this setup screen.
  896.      
  897.      Program:  This is the program you wish to run.  You should always
  898.      call  BOARD.BAT when loading PCBoard and since each  node  has  a
  899.      different BOARD.BAT you must change what you enter here for  each
  900.      of       your      nodes      (e.g.,      C:\PCB\NODE1\BOARD.BAT,
  901.      C:\PCB\NODE2\BOARD.BAT, etc.).
  902.      
  903.      Directory:  This field should point to the home directory for the
  904.      node.   For  example,  in  node 2's  PIF  file  you  would  enter
  905.      C:\PCB\NODE2  in  this field.  For node 3's PIF  file  you  would
  906.      enter C:\PCB\NODE3.
  907.      
  908.      When  you  are finished editing the first screen, select  F1  for
  909.      advanced  options.   You will be presented with  another  screen.
  910.      When  you  are finished filling in the values for this screen  it
  911.      should resemble figure 4.
  912.  
  913.      
  914. ╔Add═a═Program════════════════════════════════════════════════════════════════╗
  915. ║                 Specify Program Information Advanced Options                ║
  916. ║                                                                             ║
  917. ║ System Memory (in K).......:   0   Maximum Program Memory Size (in K)..:    ║
  918. ║                                                                             ║
  919. ║ Script Buffer Size.......:     0   Maximum Expanded Memory Size (in K):     ║
  920. ║                                                                             ║
  921. ║ Text Pages: 1  Graphics Pages: 0   Initial Mode:       Interrupts: 00 to FF ║
  922. ║─────────────────────────────────────────────────────────────────────────────║
  923. ║ Window Position:                                                            ║
  924. ║    Maximum Height:  25       Starting Height:           Starting Row...:    ║
  925. ║    Maximum Width.:  80       Starting Width.:           Starting Column:    ║
  926. ║─────────────────────────────────────────────────────────────────────────────║
  927. ║                                Shared Program                               ║
  928. ║ Pathname..:                                                                 ║
  929. ║ Data......:                                                                 ║
  930. ║─────────────────────────────────────────────────────────────────────────────║
  931. ║ Close on exit (Y,N,blank)......: [N] Uses its own colors..............: [Y] ║
  932. ║ Allow Close Window command.....: [N] Runs in background (Y,N,blank)...: [Y] ║
  933. ║ Uses math coprocessor..........: [N] Keyboard conflict (0-F)..........: [0] ║
  934. ║ Share CPU when foreground......: [Y] Share EGA when foreground/zoomed.: [N] ║
  935. ║ Can be swapped out (Y,N,blank).: [N] Protection level (0-3)...........: [0] ║
  936. ║                                                                             ║
  937. ║  Press F1 for standard options                 Press <-┘ when you are DONE  ║
  938. ╚═════════════════════════════════════════════════════════════════════════════╝
  939.    
  940.            Figure 4:  The second screen of the PIF editor in DESQview.
  941.      
  942.      
  943.      Program Name:  You can enter anything you wish here as it is  the
  944.      title  that  will be displayed on your window.  You may  want  to
  945.      just  enter  something like NODE 1, NODE 2,  etc.   It  does  not
  946.      matter what name you wish to have displayed as your window title.
  947.      However,  make sure it is unique so that you can easily  identify
  948.      your  windows when they are displayed on the screen or  when  you
  949.      wish  to switch to them.  If they all said Alphabet BBS then  you
  950.      would  have a hard time discerning which node was which  on  your
  951.      screen.
  952.      
  953.      Keys to Open:  Whichever two keys you choose they will have to be
  954.      unique.   You  may want to name then something like N1,  N2,  N3,
  955.      etc.
  956.      
  957.      System  Memory:  This should remain 0 unless you  are  running  a
  958.      program written expressly for DESQview.
  959.      
  960.      Script Buffer: You will not be using scripts inside of PCBoard so
  961.      set this to 0.
  962.      
  963.      Close on Exit:  If you elected to add the exit line at the end of
  964.      your  BOARD.BAT  files then no matter what you  select  here  the
  965.      window will always close when you select DOS - Busy or DOS -  Not
  966.      Busy  from the call-waiting screen.  If you did not add the  exit
  967.      statement  then if you set this to Y the window will  close  when
  968.      you select DOS - Busy or DOS - Not Busy, otherwise it will remain
  969.      open at a DOS prompt.
  970.      
  971.      Uses own colors:  Set this to Y so you can see PCBoard in all its
  972.      glory.
  973.      
  974.      Allow  Close:   By  setting this to N you do not  allow  a  Close
  975.      Window  command to be executed from the DESQview menu.  Remember,
  976.      it is always best to properly exit a program whenever possible.
  977.      
  978.      Runs  in  background: Set this to Y on all dial-in nodes and  set
  979.      this  to  N  on  any local maintenance nodes you  may  have.   By
  980.      setting  any  local nodes to not be active in the background  you
  981.      can save precious processor time should you accidently leave your
  982.      maintenance node running in the background.
  983.      
  984.      Uses  Math Coprocessor: This field should be set to N.  You  will
  985.      save precious memory and may even slightly improve performance.
  986.      
  987.      Can  be  swapped:  This should be set to N on any  communications
  988.      program  you  run.  If you set this field to Y you will  cause  a
  989.      hard system lock.
  990.      
  991.      
  992.      
  993.   Microsoft Windows v3.1
  994.      
  995.      In  order  to run multiple nodes under Windows you will  need  to
  996.      create  a  PIF file for each node.  It is assumed that  you  have
  997.      some  knowledge  on how to create a PIF file under  Windows.   If
  998.      this  area is new to you then it is suggested that you first read
  999.      the  section in your manual detailing how to create  a  PIF  file
  1000.      before continuing on with your configuration.
  1001.      
  1002.      While  you  are in the Windows environment, load the PIF  editor.
  1003.      This  program will be used to create the PIF files for each node.
  1004.      Create  a  new PIF file.  When you have finished filling  in  the
  1005.      required  information on the first screen of  your  PIF  file  it
  1006.      should resemble figure 5.
  1007.  
  1008.      
  1009.          ┌─┬──────────────────────────────────────────────────────────┐
  1010.          │─│                                                          │
  1011.          ├─┴──────────────────────────────────────────────────────────┤
  1012.          │ File  Mode  Help                                           │
  1013.          ├────────────────────────────────────────────────────────────┤
  1014.          │ Program Filename:     C:\PCB\NODE1\BOARD.BAT               │
  1015.          │                                                            │
  1016.          │ Window Title:         NODE1                                │
  1017.          │                                                            │
  1018.          │ Optional Parameters:                                       │
  1019.          │                                                            │
  1020.          │ Start-up Directory:   C:\PCB\NODE1                         │
  1021.          │                                                            │
  1022.          │ Video Memory:     ■ Text   O Low Graphics   O High Graphics│
  1023.          │ Memory Requirements:  KB Require   450  KB Desired   640   │
  1024.          │                                                            │
  1025.          │ EMS Memory:           KB Required    0  KB Limit     400   │
  1026.          │ XMS Memory:           KB Required    0  KB Limit     400   │
  1027.          │                                                            │
  1028.          │ Display Usage:  ■ Full Screen    Execution:   ■ Background │
  1029.          │                 O Windowed                    O Exclusive  │
  1030.          │                                                            │
  1031.          │ ■ Close Window on Exit        Advanced                     │
  1032.          ├────────────────────────────────────────────────────────────┤
  1033.          │ Press F1 for help on Program Filename                      │
  1034.          └────────────────────────────────────────────────────────────┘
  1035.            
  1036.            Figure 5:  The first screen of the PIF editor in Windows.
  1037.  
  1038.      
  1039.      Program Filename:  This is the program that you wish to run.  You
  1040.      should also load a node using
  1041.      BOARD.BAT.  If you do not, your DOOR programs, events, and remote
  1042.      drops to DOS will not run.  This should change for each node  PIF
  1043.      files  and point to the correct location.  For example, node  2's
  1044.      PIF file would have a C:\PCB\NODE2\BOARD.BAT entered here.
  1045.      
  1046.      Window Title:  You can enter anything you wish here as it is  the
  1047.      title  that  will be displayed on your window.  You may  want  to
  1048.      just  enter  something like NODE 1, NODE 2,  etc.   It  does  not
  1049.      matter what name you wish to have displayed as your window title.
  1050.      However,  make sure it is unique so that you can easilly identify
  1051.      your  windows when they are displayed on the screen or  when  you
  1052.      wish  to switch to them.  If they all said Alphabet BBS then  you
  1053.      would  have a hard time discerning which node was which  on  your
  1054.      screen.
  1055.      
  1056.      Start-up  Directory:   This  field  should  point  to  the   home
  1057.      directory  for the node.  For example, in node 2's PIF  file  you
  1058.      would  enter C:\PCB\NODE2 in this field.  For node 3's  PIF  file
  1059.      you would enter C:\PCB\NODE3.
  1060.      
  1061.      Display Usage -Full Screen: This is marked as full-screen to give
  1062.      better  performance.  When a non-Windows application  is  running
  1063.      full-screen  the  overhead  of  virtualizing  the  screen  in   a
  1064.      graphical  window   is  eliminated.  This will  give  you  better
  1065.      system performance.
  1066.      
  1067.      Close Window on Exit:  If you elected to add the exit line at the
  1068.      end  of your BOARD.BAT files then no matter what you select  here
  1069.      the window will always close when you select DOS - Busy or DOS  -
  1070.      Not  Busy from the call-waiting screen.  If you did not  add  the
  1071.      exit  statement then if you set this to Y the window  will  close
  1072.      when  you select DOS - Busy or DOS - Not Busy, otherwise it  will
  1073.      remain open at a DOS prompt.
  1074.      
  1075.      You  should  now click the Advanced button to get to  the  second
  1076.      screen for your PIF file.  When you have finished filling in  the
  1077.      requested information your screen should resemble figure 6.
  1078.      
  1079.  
  1080.        ┌─┬──────────────────────────────────────────────────────────┐
  1081.        │─│                                                          │
  1082.        ├─┴──────────────────────────────────────────────────────────┤
  1083.        │ File  Mode  Help                                           │
  1084.        ├────────────────────────────────────────────────────────────┤
  1085.        │ Program Filename:     C:\PCB\NODE1\BOARD.BAT               │
  1086.        │                                                            │
  1087.        │ Window Title:         NODE1                                │
  1088.        │                                                            │
  1089.        │ Optional Parameters:                                       │
  1090.        │                                                            │
  1091.        │ Start-up Directory:   C:\PCB\NODE1                         │
  1092.        │                                                            │
  1093.        │ Video Memory:     ■ Text   O Low Graphics   O High Graphics│
  1094.        │ Memory Requirements:  KB Require   450  KB Desired   640   │
  1095.        │                                                            │
  1096.        │ EMS Memory:           KB Required    0  KB Limit     400   │
  1097.        │ XMS Memory:           KB Required    0  KB Limit     400   │
  1098.        │                                                            │
  1099.        │ Display Usage:  ■ Full Screen    Execution:   ■ Background │
  1100.        │                 O Windowed                    O Exclusive  │
  1101.        │                                                            │
  1102.        │ ■ Close Window on Exit        Advanced                     │
  1103.        ├────────────────────────────────────────────────────────────┤
  1104.        │ Press F1 for help on Program Filename                      │
  1105.        └────────────────────────────────────────────────────────────┘
  1106.      
  1107.            Figure 6:  The second screen of the PIF editor in Windows.
  1108.  
  1109.      
  1110.      Background Priority:  Make sure that this value is equal  to  the
  1111.      Foreground  Priority.  If it does not then  the  nodes  that  are
  1112.      running in the background would run slower than the node  in  the
  1113.      foreground.
  1114.      
  1115.      Lock  Application Memory:  This is marked because you never  want
  1116.      to  have  a  communications application swap out of memory  while
  1117.      running.
  1118.      
  1119.      Once  you  have PIF files defined you will probably want  to  add
  1120.      each  node  as an icon to Program Manager.  Consult your  Windows
  1121.      manual  for  further  information on adding programs  to  Program
  1122.      Manager.
  1123.  
  1124. Automatically Loading The Nodes at Bootup
  1125. -----------------------------------------
  1126.      
  1127.      Since  for  the most part your bulletin board will be  unattended
  1128.      you will want your nodes to automatically load when you boot your
  1129.      machine.   This  will  prevent events  like  power  outages  from
  1130.      bringing  down your system until you can manually bring  up  your
  1131.      bulletin   board  system.   This  section  gives   you   detailed
  1132.      instructions  for  automatically bringing up  your  system  under
  1133.      DESQview and Windows.
  1134.      
  1135.      
  1136.   DESQview
  1137.      
  1138.      In  order to have all of your nodes load up every time you  start
  1139.      DESQview  you  will  need  to use a script.   The  following  key
  1140.      sequence will create a script for starting up to 4 nodes  on  one
  1141.      machine.
  1142.      
  1143.      Initiate DESQview's script learning mode by pressing Shift-Alt.
  1144.      
  1145.      Select Start Script, and when prompted for a key to define,  hold
  1146.      down Alt while pressing 255 on the numeric keypad.  By assigning it
  1147.      to  an obscure key you lower the chances of accidently activating
  1148.      the script.
  1149.      
  1150.      Now  you must give your script a name.  Make sure it starts  with
  1151.      an  !  (exclamation  point) or it will not be executed  when  you
  1152.      start  up DESQview.  Now just open up all of your nodes manually.
  1153.      When you are finished, hit Shift-Alt to tell DESQview to Finish script.
  1154.      Upon  doing this, the windows will close; you will need to reopen
  1155.      the  script learning window, select Save scripts, and  then  save
  1156.      the  script  you created.  It is recommended that you  save  this
  1157.      script under the name DESQVIEW.DVS.
  1158.      
  1159.   Windows v3
  1160.      
  1161.      To automatically load your nodes under Windows you need to modify
  1162.      the  LOAD=  statement in your WIN.INI file.  Since  your  WIN.INI
  1163.      file  is  a  text  file  you can edit it with  any  text  editor.
  1164.      Consult  your  Windows  documentation if you  have  questions  on
  1165.      editing your WIN.INI file.
  1166.      
  1167.      When  you edit your WIN.INI file you will see a line towards  the
  1168.      top  of  the file that says LOAD=.  Simply add all of  you  batch
  1169.      files  necessary to run your nodes on this line.  For example  if
  1170.      the line said LOAD=, you would modify it so that it reads
  1171.      
  1172.              LOAD=C:\PCB\NODE1\BOARD.BAT        C:\PCB\NODE2\BOARD.BAT
  1173.      C:\PCB\NODE3\BOARD.BAT C:\PCB\NODE4\BOARD.BAT.
  1174.      
  1175.      This  will  bring all four nodes under Windows and  all  of  your
  1176.      windows will be initially iconized.
  1177.      
  1178.      If  you are running Windows 3.1 or later then you could put  your
  1179.      PCBoard  icons  that  call the appropriate PIF  files  into  your
  1180.      StartUp folder in Program Manager.  This will make the nodes come
  1181.      up each time you load Windows.
  1182.  
  1183. Setting Up PCboard v14.5a And Local Area Netwoks
  1184. ------------------------------------------------
  1185.      
  1186.   Topics covered in this section
  1187.      
  1188.      
  1189.      Getting Started:  Lists what type of hardware and software you
  1190.      will need to run multiple nodes on a local area network.  The
  1191.      overall specifications are very vague because network setups can
  1192.      different vastly from installation to installation.  This section
  1193.      also details what PCBoard requires for network software to be
  1194.      compatible and how you can test your network software to see if
  1195.      it is compatible.
  1196.      
  1197.      Planning Your Network Setup And File Locations:    If you are
  1198.      constructing your network for the operation of your bulletin
  1199.      board then this section will help you plan what type of computers
  1200.      you may need to purchase for your desired setup.  In addition,
  1201.      this section details what files need to be shared across the
  1202.      network.
  1203.      
  1204.      Configuring Network Drives:  In a network setup you can share
  1205.      disk drives between computers which means you have to assign
  1206.      drive letters on all of your machines.  This section shows you
  1207.      how you can arrange those drive letters so that your PCBoard
  1208.      setup and any other programs that you intend to run across the
  1209.      network will be easier to maintain.
  1210.      
  1211.      Modifying  your  System Files:  Two of the most important  system
  1212.      files  on  your  system are AUTOEXEC.BAT and CONFIG.SYS.   It  is
  1213.      quite likely that you will need to modify either or both of these
  1214.      files to operate properly under a networking environment.
  1215.      
  1216.      Installing Your Other Nodes:  Your PCBoard setup may require that
  1217.      you have dial-in nodes, local nodes, or a combination of both.
  1218.      This section details how to install additional dial-in and local
  1219.      nodes.
  1220.      
  1221.      Optimizing a Network Setup:  This section details how you can
  1222.      optimize your system to improve network performance and the
  1223.      amount of conventional memory that you will have available.
  1224.      
  1225.      Novell Considerations:  There are a few items about Novell's
  1226.      NetWare that you may want to take into consideration.  There are
  1227.      certain characteristics that you can change about the way NetWare
  1228.      operates so that it behaves more like DOS which will make your
  1229.      PCBoard setup easier.
  1230.      
  1231.      Possible IRQ Conflicts:  As is always true whenever you are
  1232.      adding hardware to your system (e.g., network card) there is
  1233.      always a chance that you may have two devices trying to use the
  1234.      same IRQ.  This section mentions a few things to look for to help
  1235.      prevent this from happening on your system.
  1236.  
  1237. Getting Started
  1238. ---------------
  1239.      
  1240.      A local area network will allow you to expand your system to run
  1241.      more than four nodes and also allow you to add even more storage
  1242.      space than you can fit in one machine.  The next few sections
  1243.      detail how to configure your network to work with PCBoard.  You
  1244.      may not need all of the information but reading it will help give
  1245.      you a better overview of how PCBoard works in conjunction with
  1246.      networks.
  1247.      
  1248.   Required Hardware
  1249.      
  1250.        Enough computers to handle your desired nodes.  You can run
  1251.        one node per machine or you can use a multitasker on a
  1252.        workstation to run up to four nodes on a machine.
  1253.        Network card for each machine
  1254.        16550 UART for each COM port (prevents COM over-runs):  These
  1255.        chips are direct replacements for 16450 UARTs that are
  1256.        installed on most COM ports.
  1257.      
  1258.      
  1259.   Required Software
  1260.      
  1261.        PCBoard v14.5a multi-user version (/E3, /E6, /E9, etc.)
  1262.        Network software
  1263.      
  1264.   Types of Networks Supported
  1265.      
  1266.      PCBoard works with virtually all of the DOS based LAN products
  1267.      including Banyan, 3COM, LANtastic, and Novell Netware.  PCBoard
  1268.      requires that the network supports DOS 3.1 and higher file/record
  1269.      locking procedures.  Almost any NETBIOS compatible network will
  1270.      probably work since that type of network usually supports the
  1271.      proper file/record locking procedures.
  1272.      
  1273.   Testing Network Compatibility
  1274.      
  1275.      If you are unsure if your network software will meet PCBoard's
  1276.      requirements listed in the Types of Networks Supported section
  1277.      then you will want to test your network for compatibility.  The
  1278.      next few steps will show you a short test you can run to make
  1279.      sure that PCBoard will work correct.
  1280.      
  1281.      It is assumed that by now you have at least installed PCBoard.
  1282.      If you have not yet installed PCBoard then refer to the manual
  1283.      for further instructions.  You must have an installed copy of
  1284.      PCBoard before you test your network for compatiblity.
  1285.      Additionally you must either load SHARE.EXE that comes with DOS
  1286.      or check your network software to see if it has the functionality
  1287.      of SHARE built in.
  1288.      
  1289.      If you are unsure if your existing network will work with PCBoard
  1290.      then you can run PCBDIAG.EXE which is in the directory where you
  1291.      installed PCBoard.  When you run PCBIAG you will see the screen
  1292.      pictured in figure 1.
  1293.  
  1294.      
  1295.      ╔══════════════════════════════════════════════════════════════════════╗
  1296.      ║                Diagnostic Utility for PCBoard v14.5a                 ║
  1297.      ║       Copyright (C) 1988-1991 Clark Development Company, Inc         ║
  1298.      ║                                                                      ║
  1299.      ║                                                                      ║
  1300.      ║                                                                      ║
  1301.      ║                                                                      ║
  1302.      ║                                                                      ║
  1303.      ║  Print ALL configuration files : Y                                   ║
  1304.      ║  Perform the Analysis Section  : Y                                   ║
  1305.      ║  Analyze USERS and INDEX files : Y                                   ║
  1306.      ║                                                                      ║
  1307.      ║                                                                      ║
  1308.      ║                                                                      ║
  1309.      ║                                                                      ║
  1310.      ║                                                                      ║
  1311.      ║                                                                      ║
  1312.      ║                                                                      ║
  1313.      ║   Please note:  To prepare an upload file answer 'Y' to all of the   ║
  1314.      ║   above then press the PGDN key and enter 'DIAG.TXT' as the output   ║
  1315.      ║   filename.                                                          ║
  1316.      ║                                                                      ║
  1317.      ║                 press PGDN to begin analysis or ESC to exit          ║
  1318.      ║                                                                      ║
  1319.      ║                                                                      ║
  1320.      ╚═ 11:22:36 ══ 09-11-92 ══ F1 ═ help ══ caps: OFF  num: OFF  ins: OFF ═╝
  1321.      
  1322.           Figure 1:  PCBDiag's opening screen.  This screen has three
  1323.           menu options which you want to answer with a Y
  1324.      
  1325.      You will see the following three questions on your screen:
  1326.      
  1327.      Print ALL configuration files
  1328.      Perform the Analysis Section
  1329.      Analyze USERS and INDEX files
  1330.      
  1331.      These questions will help you include certain section of the
  1332.      diagnostics in your report.  The analysis section of the report
  1333.      is that part that will contain the information on whether your
  1334.      existing network will work with PCBoard.  Therefore, you will
  1335.      want to answer N to all of the questions except to Perform
  1336.      Analysis Section which you will answer with a Y.
  1337.      
  1338.      When you press PgDn you will be asked for the printer specification.
  1339.      Type in the device name for your printer (e.g., LPT1).  If you
  1340.      wish to instead send the report to disk you can type in a
  1341.      filename like DIAG.TXT.  After you have printed or saved your
  1342.      report to disk look at it and look for the following section
  1343.      towards the top of the report:
  1344.      
  1345.      Test SHARE functions:
  1346.      Open DENY ALL  / attempt to share file by second process failed
  1347.      - OKAY
  1348.      Open DENY NONE / attempt to share file by second process
  1349.      succeeded - OKAY
  1350.      Attempt to lock record #1 by first  process succeeded - OKAY
  1351.      Attempt to lock record #1 by second process failed    - OKAY
  1352.      Attempt to read record #1 by second process failed    - OKAY
  1353.      
  1354.      These are the results you will see if your network is compatible
  1355.      with PCBoard.  All tests should report OKAY.  If not try loading
  1356.      the DOS SHARE command and rerun the above test.  If some of the
  1357.      tests still fail then you do not have a compatible network.
  1358.      
  1359.  
  1360. Planning Your Network Setup and File Locations
  1361. ----------------------------------------------
  1362.      
  1363.   What Type of Computers Should I Use On My Network?
  1364.      
  1365.      A common question that most people ask if they are setting up a
  1366.      network for the first time is what type of computers should I get
  1367.      for the servers and the workstations?  There is no definite
  1368.      answer to this question.  Answers vary on how you want your
  1369.      system setup.
  1370.      
  1371.      For example, you may have a network setup with one server using a
  1372.      80486/33 processor and then have one node per workstation with
  1373.      each workstation being something a like an 80386SX/20.  Of course
  1374.      the ideal situation is to have the absolute fastest computers
  1375.      possible on both the servers and the workstations.  In most
  1376.      cases, however, those type of machines would not be economically
  1377.      feasible so you must decide which would be best for your steup.
  1378.      
  1379.      When you are planning what type of machines to use for your
  1380.      network keep the following in mind:
  1381.      
  1382.      Server: Your server machine needs to be powerful enough to
  1383.      support the number of nodes in your network.  For a 2-3 node
  1384.      setup you could most likely get by with a low end 80386.
  1385.      However, as you add more nodes you will want a more powerful
  1386.      machine like an 80486 so the server can keep up with all of the
  1387.      workstation requests.
  1388.      
  1389.      Workstations:  This is where the majority of your processing will
  1390.      go on.  Since this is where the programs will actually be running
  1391.      do not hesitate to put a reasonably fast computer on the network
  1392.      as one of your workstations.  Most people are under the
  1393.      misconception that you need to have a blazingly fast server and
  1394.      then put on XTs on the network as your workstations.  Weigh your
  1395.      needs and remember that a fast workstation will make your system
  1396.      look like it is running even faster.
  1397.      
  1398.      One solution that is getting quite popular is to use a 80486/33
  1399.      for the server, and then for the workstations get 80386/33
  1400.      computers and multitask up to four nodes on each workstation.
  1401.      This type of setup does require that you properly setup your
  1402.      multitasker to run up to four nodes.  This can be done by reading
  1403.      the preceeding section on setting up PCBoard on a multitasking
  1404.      system.  In addition, you must also setup the workstation
  1405.      properly as far as the network is concerned.  This would include
  1406.      assigning network drives, etc.
  1407.      
  1408.   Where Should I Store The PCBoard Files?
  1409.      
  1410.      Once you have your network set up and working correctly then
  1411.      setting up PCBoard for multiple nodes is really no more difficult
  1412.      than setting up a single node.  This is because the flexibility
  1413.      of PCBoard allows you to specify where just about any file can be
  1414.      found.  You can specify a network drive or a local drive.
  1415.      PCBoard will not care as long as it can access that file in the
  1416.      location you specify.
  1417.      
  1418.      There are only a handful of files that must be located on a
  1419.      shared drive (server drive).  You need to make sure that the
  1420.      following files are all located on the same drive because they
  1421.      are automatically updated as people call into the system.
  1422.      Therefore if you stored them on your workstations you would have
  1423.      no way to update the other workstations when a new user logged in
  1424.      or as the files listed below changed.
  1425.      
  1426.      Location of Node CHAT Files
  1427.      Location of USERS File Index Files
  1428.      Name/Loc of Users File
  1429.      Name/Loc of Users Info File
  1430.      Name/Loc of Callers File
  1431.      Name/Loc of USERNET.DAT File
  1432.      Name/Loc of MSGS File (All conferences)
  1433.      Public Upld - Name/Loc Upload DIR File, Location of Uploads (all
  1434.      conferences)
  1435.      Private Upld - Name/Loc Upload DIR File, Locationa of Uploads
  1436.      (all conferences)
  1437.      
  1438.      There are more files that are recommended that you store on a
  1439.      server drive but are not required to be stored on a server drive:
  1440.      
  1441.      Name/Loc of Conference Data
  1442.      Doors - Menu Listing, Path/Name List File (all conferences)
  1443.      Bulletins - Menu Listing, Path/Name List File (all conferences)
  1444.      Scripts - Menu Listing, Path/Name List File (all conferences)
  1445.      Directories - Menu Listing, Path/Name List File (all conferences)
  1446.      
  1447.      With the remaining files you must decide if you wish to put them
  1448.      on the server, on the workstation, or put some on the server and
  1449.      some on the workstations.  Below are a few reasons you may wish
  1450.      to store a majority of the files on a workstation:
  1451.      
  1452.        Running on a slow network (e.g. 2 mpbs)
  1453.        You wish to keep network traffic down
  1454.        You have a large number of nodes on your network (e.g. 20+)
  1455.        and your server could not handle all of the nodes requests if
  1456.        the files were stored on the server.
  1457.      
  1458.      Below are a few reasons why you may wish to store a majority of
  1459.      files on the server
  1460.      
  1461.        You do not wish to manually update the workstations every time
  1462.        a file gets changed
  1463.        Your workstations do not have hard-drives in them
  1464.        You have a relatively small network and accessing all of the
  1465.        files across the network will not degrade network performance.
  1466.      
  1467.      The best rule of thumb in regards to the decision of storing a
  1468.      file on the server or a workstation is that if a file changes
  1469.      often then store the file on the server.  Otherwise, store the
  1470.      file on the workstation to keep network traffic down.
  1471.      
  1472.      If you want more speed this means putting more files on the
  1473.      workstations which ultimately mean more work if you ever make a
  1474.      change to a file.  If you desire the easiest setup instead of
  1475.      speed then you will want to store most of your files on the
  1476.      server.  That way when you make changes to the files on the
  1477.      server all of the nodes reflect the change.  The best way to
  1478.      determine what files to put on the workstation and which ones to
  1479.      put on the server is to sit back analyze what you need/desire and
  1480.      go from there.
  1481.      
  1482.      For now you should just use the above information to help you
  1483.      consider where files will be stored on your network.  Later on in
  1484.      the section titled Installing Your Other Nodes you will actual
  1485.      make the changes to your system.
  1486.      
  1487.      
  1488.  
  1489. Configuring The Network Drives
  1490. ------------------------------
  1491.      
  1492.      If you want to save yourself a lot of confusion in your network
  1493.      setup you will want to configure your network setup so that the
  1494.      server drives are the same letters throughout the entire network.
  1495.      Setting up your network to use all of the same drives allows you
  1496.      to specify the same drive throughout PCBSETUP, and your third
  1497.      party utilities.  If you did not make it so that the drives were
  1498.      the same it would be confusing if the drive with the message
  1499.      bases was drive H, drive J or some other drive.  With the drive
  1500.      letters the same for each node you eliminate one more possibility
  1501.      for error which as your system grows you will really appreciate.
  1502.      Let's consider the following example 4 node - 2 server system:
  1503.      
  1504.      Node 1 - Server  (Network name:  NODE1)
  1505.      
  1506.           System Drive   Network Resource Name
  1507.      
  1508.           C:        DRIVE-C
  1509.           D:        DRIVE-D
  1510.           E:        DRIVE-E
  1511.           F:        DRIVE-F
  1512.           G:        DRIVE-G
  1513.      
  1514.      Node 2 - Server  (Network name:  NODE2)
  1515.      
  1516.           System Drive   Network Resource Name
  1517.      
  1518.           C:        DRIVE-C
  1519.           D:        DRIVE-D
  1520.      
  1521.      Node 3 - Workstation
  1522.      
  1523.           System Drive   Network Resource Name
  1524.      
  1525.           Drive C        N/A
  1526.      
  1527.      Node 4 - Workstation
  1528.      
  1529.           System Drive   Network Resource Name
  1530.      
  1531.           Drive C        N/A
  1532.      
  1533.      NOTE:  All of the examples in this section use Artisoft's
  1534.      LANtastic syntax.  If you are not using LANtastic then please
  1535.      consult the documentation for your network to find out how your
  1536.      network refers to network resources.
  1537.      
  1538.      You can see by the above setup that we have a little bit of a
  1539.      dilemma.  Not only do all of the computers in this example have
  1540.      C: drives but the the two servers both have a drive D as well.
  1541.      To further complicate matters you will want to let every computer
  1542.      have their own local drive C so that processing is faster.  What
  1543.      you need to to rectify this conflict is to begin using all of the
  1544.      network drives at drive H.
  1545.      
  1546.      You can begin by first assigning drive letters of your network
  1547.      drives on node 1.  As was mentioned before you can begin at drive
  1548.      letter H and work your way down to drive Z.  You can do this
  1549.      because you do not have any local drives that use the drive
  1550.      letter H.  The highest local drive letter is G and that is on the
  1551.      first server.
  1552.      
  1553.      To assign the drives on the various machines on the network you
  1554.      will use two different methods.  If the drive is a physical drive
  1555.      in the machine then you can use the SUBST command provided by
  1556.      DOS.  Otherwise you will need to use the command that your
  1557.      network provides for assigning drives.  Some examples are
  1558.      included for the various nodes.  The network commands are in
  1559.      Lantastic format so if you use a different network then will need
  1560.      to consult your documentation for further instructions.
  1561.      
  1562.      Now that you understand why we used SUBST in some cases and the
  1563.      NET USE command in others you should be ready to assign the
  1564.      drives for all four nodes.  Here are the solutions for our
  1565.      example setup:
  1566.      
  1567.      NODE1
  1568.      
  1569.           SUBST H: C:\
  1570.           SUBST I: D:\
  1571.           SUBST J: E:\
  1572.           SUBST K: F:\
  1573.           SUBST L: G:\
  1574.           NET USE M: \\NODE2\C-DRIVE
  1575.           NET USE N: \\NODE2\D-DRIVE
  1576.      
  1577.      NODE2
  1578.      
  1579.           NET USE H: \\NODE1\C-DRIVE
  1580.           NET USE I: \\NODE1\D-DRIVE
  1581.           NET USE J: \\NODE1\E-DRIVE
  1582.           NET USE K: \\NODE1\F-DRIVE
  1583.           NET USE L: \\NODE1\G-DRIVE
  1584.           SUBST M: C:\
  1585.           SUBST N: D:\
  1586.      
  1587.      NODE3
  1588.      
  1589.           NET USE H: \\NODE1\C-DRIVE
  1590.           NET USE I: \\NODE1\D-DRIVE
  1591.           NET USE J: \\NODE1\E-DRIVE
  1592.           NET USE K: \\NODE1\F-DRIVE
  1593.           NET USE L: \\NODE1\G-DRIVE
  1594.           NET USE M: \\NODE2\C-DRIVE
  1595.           NET USE N: \\NODE2\D-DRIVE
  1596.      
  1597.      NODE4
  1598.      
  1599.           NET USE H: \\NODE1\C-DRIVE
  1600.           NET USE I: \\NODE1\D-DRIVE
  1601.           NET USE J: \\NODE1\E-DRIVE
  1602.           NET USE K: \\NODE1\F-DRIVE
  1603.           NET USE L: \\NODE1\G-DRIVE
  1604.           NET USE M: \\NODE2\C-DRIVE
  1605.           NET USE N: \\NODE2\D-DRIVE
  1606.      
  1607.      If you look at each node you will see that drive H is the exact
  1608.      same drive on all four nodes.  Likewise, the rest of the drives
  1609.      (I-N) also reference the same drives on all nodes.  This is the
  1610.      setup you want to achieve.  It does not matter what drive letters
  1611.      you use but what does matter is that you use the same drive
  1612.      letters across the entire network.
  1613.      
  1614.  
  1615. Modifying Your System Files
  1616. ---------------------------
  1617.      
  1618.      There  are  a  few changes you will likely have to make  to  your
  1619.      AUTOEXEC.BAT  and  CONFIG.SYS system files.  You  should  already
  1620.      have  an  AUTOEXEC.BAT  and CONFIG.SYS on  your  system  so  this
  1621.      section details what you must have in these files in order to run
  1622.      a  multiple  node setup using a network properly.   If  you  have
  1623.      other  items in these files do not worry as they may be necessary
  1624.      for your particular setup.
  1625.      
  1626.   CONFIG.SYS
  1627.      
  1628.      The server and workstations will have different settings.  Your
  1629.      server should have the number of files equal to twenty times the
  1630.      number of nodes that the server will manage plus twenty for
  1631.      itself.  In other words if you have a 7 node network (including
  1632.      the server) then you would add FILES=140 to your CONFIG.SYS.
  1633.      
  1634.      Your workstations only need twenty for each DOS process that is
  1635.      running.  Unless you are running a multitasker and running more
  1636.      nodes on a single machine then you need to set your files equal
  1637.      to twenty times the number of nodes the workstation will run.
  1638.      Otherwise you should add the line FILES=20 to the workstation.
  1639.      
  1640.      Since DOS is limited to how many FILES you can specify in
  1641.      CONFIG.SYS most networks provide alternative methods for
  1642.      providing additional files for your server.  Consult your network
  1643.      documenation if you need more files than DOS is normally able to
  1644.      provide.  You will know if you have exceeded the limit that DOS
  1645.      provides if it errors when it runs into that line when booting
  1646.      your computer.
  1647.      
  1648.      Because you are using network drives you need to increase the
  1649.      drive letters that DOS sees as valid drives.  You can do this by
  1650.      using the LASTDRIVE= statement in your CONFIG.SYS.  In our
  1651.      examples our last drive was N:.  Therefore, if you were to modify
  1652.      your CONFIG.SYS for that example you would add a line to your
  1653.      CONFIG.SYS that said LASTDRIVE=N.
  1654.      
  1655.   AUTOEXEC.BAT
  1656.      
  1657.      For a multinode setup you must ensure that SHARE is either loaded
  1658.      or built-in to your network.  By now you should have already at
  1659.      least completed the network compatibility test described earlier.
  1660.      If you had to load SHARE.EXE before it would load then you will
  1661.      want to modify AUTOEXEC.BAT so that it loads SHARE.EXE for you.
  1662.      
  1663.  
  1664. Installing Your Other Nodes
  1665. ---------------------------
  1666.      
  1667.      There are basically two types of nodes in a network setup -- dial-
  1668.      in and local.  Dial in nodes are those that are expecting calls
  1669.      to come from a modem or serial port.  A local login is where the
  1670.      user actually runs PCBoard over the network and logs into the BBS
  1671.      as if they were calling in via modem.  Instructions on how to
  1672.      install dial-in and local nodes are detailed below.
  1673.      
  1674.   Dial-In Nodes
  1675.      
  1676.      Once you have installed PCBoard on your server there are numerous
  1677.      ways you can go about adding nodes.  You could add one node per
  1678.      workstation on the network or you could setup a multitasker on
  1679.      your workstations and run more than one node on each workstation.
  1680.      
  1681.      Whichever method you choose each of your workstation machines
  1682.      should have a hard drive and each of them should also have a \PCB
  1683.      directory.  The following files should be copied from the \PCB
  1684.      directory on the server to the \PCB directory on the workstation.
  1685.      
  1686.        *.EXE
  1687.        *.COM
  1688.        *.BAT
  1689.        REMOTE.SYS
  1690.        EVENT.SYS
  1691.        PCBOARD.DAT
  1692.        PCBFILER.DEF
  1693.        PCBSM.HLP
  1694.      
  1695.      You now have two things left to do.  First on each node go into
  1696.      PCBSetup, Node / Event / Subscription and make sure that you have
  1697.      answered Y to the Running a Network / Multitasker System and that
  1698.      you have defined the proper node number on each node you have
  1699.      defined.  Next go into PCBSetup, File Locations 1, File Locations
  1700.      2, Main Board Configuration, and Conferences and make sure that
  1701.      all drive and path references are correct.
  1702.      
  1703.      If you plan on setting your dial-in nodes up on a multitasking
  1704.      workstation then you should also reference the multitasking
  1705.      section earlier in this document.  About the only difference is
  1706.      that you must realize that some of the files in your
  1707.      configuration will be read from the server rather than from the
  1708.      local C: drive.  All you have to do is change the drive letters
  1709.      where appropriate.  There are a few considerations you should be
  1710.      aware of when multitasking on a network workstation.
  1711.      
  1712.      You should reduce the amount of time that your workstation spends
  1713.      monitoring  the  network.   This will make  network  transfers  a
  1714.      little  less  snappy but will allocate more system time  to  your
  1715.      multi-tasker  which  means  snappier  displays  for  your  users.
  1716.      LANtastic uses the run_burst command line switch on the  AILANBIO
  1717.      program.   If  you  are  using a different network  consult  your
  1718.      manual.
  1719.      
  1720.      Most  multitasking programs have provisions for networks such  as
  1721.      network  buffers, etc.  Consult the manual for your  multitasking
  1722.      manual  to see exactly what type of support for networks that  it
  1723.      offers.
  1724.      
  1725.      If  you  are  using QEMM as your memory manager then  you  should
  1726.      increase the number of tasks.  To do this add tasks=nn (where  nn
  1727.      is  the  number  of tasks to allocate) to your QEMM.SYS  line  in
  1728.      CONFIG.SYS.  Set this value to 16 times the number of  nodes  you
  1729.      plan to run.  In QEMM a task is a data structure that is used  to
  1730.      handle   interrupts   out  of  protected  mode.    Since   serial
  1731.      communications use interrupts quite frequently by increasing your
  1732.      tasks  you  can  make the system breathe a little easier.   Other
  1733.      memory  managers most likely have similar settings and you should
  1734.      consult the manual for the software you are using to find out.
  1735.      
  1736.      If  you have conventional memory to burn and you would to gain  a
  1737.      small increase in speed of your network you may want to load  all
  1738.      of  your  network  drivers in conventional memory.   The  overall
  1739.      performance  gain would be very, very small but for  some  people
  1740.      even a very small gain is important.
  1741.   
  1742.   Local/In-House Nodes
  1743.      
  1744.      PCBoard works equally well across a network as it does when
  1745.      accessed through external connections.  When a user logs in
  1746.      across the network they are simply running a copy of PCBoard
  1747.      which has its own setup (PCBOARD.DAT) file.  Because this method
  1748.      is used, PCBoard does not have to talk directly to the network
  1749.      operating system (NETBIOS, IPX, etc.).
  1750.      
  1751.      Some may question if this method would compromise security of the
  1752.      system because normally PCBoard allows the sysop to do certain
  1753.      sysop functions from the keyboard.  That is one of the reasons
  1754.      why there is the /LOCALON command line switch for PCB145.EXE.
  1755.      The /LOCALON switch causes PCBoard to bypass the call-waiting
  1756.      screen and goes directly to the "Do you want graphics?" prompt.
  1757.      When /LOCALON is used the user may not shell out to PCBFiler,
  1758.      PCBSetup, PCBSysMgr, or PCBMoni while logged in.
  1759.      
  1760.      If you wish to protect your users from accessing some of the
  1761.      setup and configuration utilities you could make a seperate
  1762.      directory for those files and move them to that directory and
  1763.      protect them via network security.  Be careful about what you do
  1764.      with network security however as all of the PCBoard files must
  1765.      have full read/write/delete network rights to function properly.
  1766.      
  1767.      Setting up local login nodes are for the most part easier than
  1768.      setting up dial-in nodes because of the new /FLOAT command line
  1769.      switch in v14.5a.   This command line switch allows PCBoard to
  1770.      pick a node that is not busy and automatically assign the user
  1771.      that node number.  This avoids the need to assign everyone a
  1772.      unique node number and also makes your batch files and general
  1773.      setup much easier.  Using the /FLOAT  switch you could have 1000
  1774.      or more users vying for access to a 99 node system.  If PCBoard
  1775.      was unable to find a free node (i.e. all nodes were busy) then
  1776.      the user would receive an "ALL NODES ARE BUSY" message.
  1777.      
  1778.      Prior to the /FLOAT command, you had to assign each particular
  1779.      person to a node number so you would not "stomp" on another node
  1780.      or you had to come up with some elaborate scheme involving
  1781.      numerous batch files to prevent conflicts.  Of course doing
  1782.      either of the above would take quite a bit of time to setup and
  1783.      it also would be difficult to maintain.  Now imagine trying to
  1784.      coordinate all of this with dial in nodes.  This is where the
  1785.      /FLOAT option really shines through.
  1786.      
  1787.      What makes the /FLOAT parameter so outstanding is that you can
  1788.      have one batch file, and one setup file for all of your local
  1789.      nodes.  Not only that but you can start your local logins at any
  1790.      number and automatically have them float all the way until you
  1791.      run out of the concurrent logins that you software license
  1792.      allows.  This means less maintenance for you in the long run.
  1793.      However, because you will only have one batch file for all of
  1794.      your logins it means that for the most part you will not be able
  1795.      to hard code drives and subdirectories in your batch files.
  1796.      
  1797.      In a /FLOAT setup you must also guarantee that all of the local
  1798.      users will run BOARD.BAT from a drive and subsubdirectory that is
  1799.      unique to them.  This could be a subdirectory on the server set
  1800.      aside for just a particular user, it could be a subdirectory set
  1801.      aside on the local hard drive of every workstation.  In this
  1802.      subdirectory PCBOARD.SYS will be created.  PCBOARD.SYS is the
  1803.      file that is created for every user and contains information like
  1804.      the last time they logged on, user name, city, etc.  This is the
  1805.      only file that will remain in  this unique subdirectory.  Now
  1806.      that you know a little bit more about /FLOAT lets proceed with a
  1807.      sample setup using /FLOAT.
  1808.      
  1809.      The first thing you will want to do is to create a subdirectory
  1810.      on the file server where you will store the files relating to
  1811.      local logins.  You may want to call it something like LOCAL and
  1812.      create it under your PCB subdirectory.  For example if your
  1813.      server drive is F: you could create a subdirectory F:\PCB\LOCAL\
  1814.      which would hold the local login files.  From now on this will be
  1815.      referred to as your local subdirectory.  Once you have created
  1816.      the subdirectory copy your BOARD.BAT and your PCBOARD.DAT from
  1817.      your PCBoard installation subdirectory over to your newly defined
  1818.      local subdirectory.
  1819.      
  1820.      The first file you need to edit is the BOARD.BAT file in your
  1821.      local subdirectory.  There are some lines in that batch file that
  1822.      for local logins are not necessary and also some information that
  1823.      you you will need to add.  For this example that BOARD.BAT that
  1824.      is used is the exact same one that is created when you install
  1825.      PCBoard.  If you have made changes to your BOARD.BAT you will
  1826.      need to compensate where necessary.
  1827.      
  1828.      For this example the BOARD.BAT looks like this:
  1829.      
  1830.      ECHO OFF
  1831.      C:
  1832.      CD \PCB
  1833.      SET PCB=
  1834.      SET DSZLOG=PCBDSZ.LOG
  1835.      IF EXIST REMOTE.BAT RENAME REMOTE.BAT REMOTE.SYS
  1836.      IF EXIST EVENT.BAT RENAME EVENT.BAT EVENT.SYS
  1837.      IF EXIST DOOR.BAT DEL DOOR.BAT
  1838.      IF EXIST ENDPCB DEL ENDPCB
  1839.      PCB145
  1840.      IF EXIST REMOTE.BAT REMOTE
  1841.      IF EXIST DOOR.BAT DOOR
  1842.      IF EXIST EVENT.BAT EVENT
  1843.      IF EXIST ENDPCB GOTO END
  1844.      BOARD
  1845.      :END
  1846.      
  1847.      You can trim down your BOARD.BAT so that only these lines are
  1848.      remaining:
  1849.      
  1850.      ECHO OFF
  1851.      SET PCB=
  1852.      IF EXIST DOOR.BAT DEL DOOR.BAT
  1853.      IF EXIST ENDPCB DEL ENDPCB
  1854.      PCB145
  1855.      IF EXIST DOOR.BAT DOOR
  1856.      IF EXIST ENDPCB GOTO END
  1857.      
  1858.      At this point you are probably wondering why the new BOARD.BAT is
  1859.      so small.  The next few paragraphs discuss what lines were taken
  1860.      out as well as why they were taken out.
  1861.      
  1862.      The first two lines that were taken out were C:, and CD\PCB.
  1863.      These two lines together would change to a specific drive and
  1864.      directory.  While this works great for a dial in line it just
  1865.      will not work with the /FLOAT switch.  Since everyone will be
  1866.      using one BOARD.BAT some serious problems would arise if you left
  1867.      those lines in the batch file.  If two users tried to login
  1868.      simultaneously then they would stomp on one anothers PCBOARD.SYS
  1869.      file and cause other problems with board operations.  By
  1870.      elminating these two lines though you can help guarantee that the
  1871.      user is in a unique directory before they load PCBoard.
  1872.      
  1873.      The only exception to this rule is when you can specify a drive
  1874.      and directory in BOARD.BAT that really is unique to each
  1875.      individual.  As an example let's say all of the users that will
  1876.      be logging in locally all have hard drives in their system that
  1877.      are referred to as C:.  You could make a subdirectory on all of
  1878.      their C: drives called PCBLOCAL and use the BOARD.BAT to change
  1879.      them to their C:\PCBLOCAL\ subdirectory.  As another example
  1880.      let's say that your users all have directories on the server that
  1881.      only their user accounts can access.  For the sake of simplicity
  1882.      let's even say that this is referred to as drive F for your
  1883.      users.  In that case you could have board bat change to the root
  1884.      subdirectory of the F: drive and then continue on.
  1885.      
  1886.      The next line to be removed is SET DSZLOG=PCBDSZ.LOG.  Since this
  1887.      is for the external Zmodem protocol (DSZ) it will not be needed
  1888.      for local logins.  Instead, your local users should use PCBoard's
  1889.      internal protocols for transferring files.
  1890.      
  1891.      IF EXIST REMOTE.BAT... and IF EXIST EVENT.BAT... can also be
  1892.      removed because remote DOS sessions and events will not be a
  1893.      concern when you do a local login.  There are also two statements
  1894.      below PCB145 in the BOARD.BAT that start out the same way (IF
  1895.      EXIST) and these should be removed as well.
  1896.      
  1897.      BOARD was removed from your batch file because there is no reason
  1898.      you would need to reload BOARD.BAT from within you local batch
  1899.      file.  This line is still necessary in all of your dial-up lines
  1900.      though.
  1901.      
  1902.      When our final batch file is done we will never make reference to
  1903.      the END batch label so we also should remove the :END  from the
  1904.      batch file as well.  There is no sense in leaving it around if
  1905.      you do not need it.
  1906.      
  1907.      This now gives you the trimmed down copy of BOARD.BAT.  You now
  1908.      need to change a few of the lines to accomodate local logins.
  1909.      
  1910.      The statement SET PCB= should be changed to SET PCB=/FLOAT.  This
  1911.      means we will eat up six bytes from the master environment so
  1912.      make sure that you have enough space.    If you do not have
  1913.      enough environment space then you will receive an out of
  1914.      environment space error from DOS.  In most cases this means
  1915.      increasing your environment size by using the SHELL= statement in
  1916.      your CONFIG.SYS.  Refer to your DOS manual for more information
  1917.      on the SHELL= line in CONFIG.SYS.
  1918.      
  1919.      PCB145 should be changed to
  1920.      
  1921.           PCB145  /FILE:<local subdirectory>\PCBOARD.DAT  /LOCALON
  1922.      
  1923.      The /FILE parameter tells PCBoard where it can find the
  1924.      PCBOARD.DAT file.  It normally looks in the current subdirectory
  1925.      but if all of your local users are starting from different
  1926.      subdirectories then realistically PCBOARD.DAT could not exist in
  1927.      all of those directories.  Of course <local subdirectory> should
  1928.      be replaced with the drive and subdirectory of the local
  1929.      subdirectory that you created previously.  If this subdirectory
  1930.      happened to be H:\PCB\LOCAL\ then your new PCB145 line would be
  1931.      
  1932.           PCB145  /FILE:H:\PCB\LOCAL\PCBOARD.DAT  /LOCALON.
  1933.      
  1934.      The /LOCALON parameter totally bypasses the call-waiting screen
  1935.      and places the user at the Do you want graphics? prompt.  From
  1936.      there the user can choose if they want to use graphics or not,
  1937.      type in their username and password and then continue on.  When
  1938.      the /LOCALON switch is used almost all of the sysop functions are
  1939.      disabled except the following:
  1940.      
  1941.      ALT-F  File Out.  This can be used to output the text that
  1942.             PCBoard displays to a text file
  1943.      ALT-I  File In.  Used to import text from an ASCII file.  Very
  1944.             useful for importing prepared ASCII messages into the
  1945.             message editor.
  1946.      ALT-P  Printer.  PCBoard will echo text that it displays on the
  1947.             screen to the printer port defined in PCBOARD.DAT that
  1948.             your node uses.  In this example it would look in
  1949.             H:\PCB\LOCAL\PCBOARD.DAT to find the printer port.
  1950.      ALT-T  Top of Form.  Sends a form feed to the printer defined in
  1951.             PCBOARD.DAT.
  1952.         F5  Shell.  Allows the person at the computer to shell to
  1953.             DOS.  You can disable this option in PCBSetup, Options #1
  1954.             by setting Allow Local SHELL to DOS to N.
  1955.      
  1956.      If you wished you could have your BOARD.BAT also stuff the
  1957.      keyboard so that your users that are logging in locally would not
  1958.      have to always answer the Do you want graphics prompt.  For more
  1959.      information on how to do this refer to the /KEY command line
  1960.      parameter in your PCBoard manual.
  1961.      
  1962.      If PCB145.EXE is not located in the current directory or in a
  1963.      directory that is listed in your PATH= statement in AUTOEXEC.BAT
  1964.      then you will receive a bad command or filename message from DOS.
  1965.      If you do, then tell your batch file where to find it.  For
  1966.      example if your PCB145.EXE file is located in Q:\PCB\ which is
  1967.      not in your path then you could type Q:\PCB\PCB145.EXE to load
  1968.      the PCBoard executable.  You would do the same thing to the batch
  1969.      file -- add Q:\PCB\ in front of PCB145.EXE.
  1970.      
  1971.      The final line in our batch file - IF EXIST ENDPCB GOTO END
  1972.      should be changed to IF EXIST ENDPCB DEL ENDPCB.  PCBoard still
  1973.      creates the ENDPCB file when it exits but since your batch file
  1974.      does not need to check for its existence there is no sense in
  1975.      leaving a file around in your local subdirectory.  Why clutter up
  1976.      a directory when you do not have to?
  1977.      
  1978.      You final BOARD.BAT would look like this if your local
  1979.      subdirectory is setup as H:\PCB\LOCAL\
  1980.      
  1981.      ECHO OFF
  1982.      SET PCB=/FLOAT
  1983.      IF EXIST DOOR.BAT DEL DOOR.BAT
  1984.      IF EXIST ENDPCB DEL ENDPCB
  1985.      PCB145 /FILE:H:\PCB\LOCAL\PCBOARD.DAT /LOCALON
  1986.      IF EXIST DOOR.BAT DOOR
  1987.      IF EXIST ENDPCB DEL ENDPCB
  1988.      
  1989.      One last thing that should be mentioned is that if all nodes are
  1990.      busy then PCBoard will exit with a DOS errorlevel of 99.
  1991.      Therefore you could use an if errorlevel statement to check for
  1992.      errorlevel 99 and do something else in the batch file as your
  1993.      needs dictate.
  1994.      
  1995.      When you are using /FLOAT it will begin filling up the nodes at
  1996.      the node number specified in PCBSetup.  Since PCBSetup gets most
  1997.      of its information from PCBOARD.DAT that file had to be copied
  1998.      into your local subdirectory so we could make changes to it.
  1999.      Another advantage to having this PCBOARD.DAT just for your local
  2000.      nodes is that you can disable certain features that would not be
  2001.      necessary for local logins.
  2002.      
  2003.      Because every setup is different this example setup will only
  2004.      talk about how to change the node number in PCBSetup.  If you
  2005.      need to make other changes you may do so as your setup requires.
  2006.      
  2007.      NOTE:  If you are running on a Novell NetWare network please make
  2008.      sure that you looked at the Novell NetWare Considerations
  2009.      section.  It contains information and guidelines you will want to
  2010.      follow in your PCBoard setup.
  2011.      
  2012.      To change the node number in the PCBOARD.DAT located in you local
  2013.      subdirectory you will need to change to that subdirectory and
  2014.      load PCBSETUP.EXE.  When PCBSetup is loaded it will pull the
  2015.      information from the PCBOARD.DAT in the current directory.  After
  2016.      PCBSetup is loaded select Node/Event/Subscription from the menu.
  2017.      The second item from the top of the screen is Node Number on the
  2018.      Network.  You should set this value to the beginning node number
  2019.      that you want your local users to begin logging into.  If you
  2020.      have dial-in lines they should be the first few nodes and your
  2021.      local users should begin logging in at the node number after your
  2022.      last dial-in node.  Once you have done this, exit PCBSetup and
  2023.      tell it to save the changes you have made.
  2024.      
  2025.      At this point your setup using the /FLOAT option should be more
  2026.      or less complete.  To test your setup you can follow these steps:
  2027.      
  2028.       1)Find two stations on the network that you can use for
  2029.         testing.
  2030.       2)Change to the unique drive and directory on both
  2031.         workstations.  This should be a drive and directory that
  2032.         nobody else on the network can/would use.
  2033.       3)Run BOARD.BAT on each workstation.
  2034.      
  2035.      The machine that ran BOARD.BAT first should come up as the node
  2036.      you specified in the PCBOARD.DAT stored in your local
  2037.      subdirectory.  You can verify this by completing the login and
  2038.      typing WHO at the command prompt.  The other machine should be
  2039.      listed as the next node.  In other words if you set your
  2040.      beginning node number to 4 then the first machine should come up
  2041.      as node 4 and the second machine should have come up as node 5.
  2042.      If it did then everything as far as PCBoard is concerned is
  2043.      working correctly.  If it did not then your configuration is not
  2044.      correct.  You should double check your setup and make sure that
  2045.      you followed all of the previous instructions.
  2046.      
  2047.      If your nodes do not return to the same directory after loading a
  2048.      third party program that they left from then there is a chance
  2049.      that they could stomp on someone else's session or they could
  2050.      come up under a different node number without being logged off
  2051.      from the previous node.  If that happens when they try to login
  2052.      under the same name they will be told that their name is already
  2053.      in use on another node.  If this occurs then you will probably
  2054.      want to download a utility from Salt Air called USERNET.ZIP.
  2055.      
  2056.      Now that PCBoard is working correctly you should verify all third
  2057.      party  programs  to make sure they are setup  correctly.   It  is
  2058.      strongly recommended that you read the Modifying DOOR Batch Files
  2059.      for a Multinode Setup.
  2060.      
  2061.      The most important thing to remember is that the doors on all  of
  2062.      your  nodes  must return to the subdirectory where BOARD.BAT  was
  2063.      originally  run  from.  Because this has  to  be  unique  on  all
  2064.      systems  you  will not be able to hardcode this  into  the  batch
  2065.      files.   You will want to use the environment variables described
  2066.      in the section mentioned above to help you out.
  2067.      
  2068.      If two or more users try to login using the same directory what
  2069.      will happen is that PCBoard will go directly to the command
  2070.      prompt rather than to the familiar Do you want graphics? prompt.
  2071.      In addition it also thinks this new person is the same name and
  2072.      node number as the other person.  In a sense the second person
  2073.      will be invisible.  However, with two or more people accessing
  2074.      the sytem like this you are likely to have file access errors and
  2075.      other unforseen problems.  If a user ever reports that they went
  2076.      immediately to the PCBoard command prompt on their first login
  2077.      make sure that they immediately logoff and check your
  2078.      configuration to make sure two nodes do not conflict.
  2079.      
  2080.      In your setup you will also find it useful if you know how
  2081.      PCBoard determines if a node is busy so that it floats to the
  2082.      next node.  PCBoard first scans the PCBOARD.DAT you pointed to
  2083.      with the /FILE parameter to find out what the beginning node
  2084.      number it can start floating from.  Once PCBoard finds that
  2085.      number it scans USERNET.DAT beginning at that node number up to
  2086.      the number of nodes that your software license allows.  If a free
  2087.      node is found then the user will be logged in.  If it does not
  2088.      find a free node then PCBoard will print the all nodes are busy
  2089.      message.
  2090.      
  2091.      If you would like to verify PCBoard's findings you can always log
  2092.      into the system and issue the WHO command to see who is currently
  2093.      online.  This command will list all people online, the node
  2094.      number they are using, and what they are currently doing
  2095.      (Entering a Message, Trasferring a File, etc.).
  2096.      
  2097.      
  2098.  
  2099. Optimizing A Network Setup
  2100. --------------------------
  2101.      
  2102.      Nothing helps a system out more than a good disk cache.  You
  2103.      should use a disk cache both on your server and on your
  2104.      workstations.  If you do, you will see a dramatic improvement in
  2105.      your hard disk performance.  The most recent versions of both MS-
  2106.      DOS and DR-DOS come with disk caching programs (SMARTDRV and
  2107.      Super PCKwik respectively).  Consult your DOS manual for more
  2108.      information on how to install a disk cache.
  2109.      
  2110.      In PCBSetup, Node / Event / Subscription there is a field labeled
  2111.      Node Chat Frequency.  This field is used to determine how often a
  2112.      node scans USERNET.DAT (to update who is online, etc.) and also
  2113.      how often each node is checked for new lines of text when two
  2114.      users are in node chat.  If you find that your system is really
  2115.      strained you may wish to increase the value of this field so that
  2116.      the network is hit less often.  Do not make this value too large
  2117.      though as node chats will be slowed among other things.
  2118.      
  2119.      When you are determining how big to set your network buffers in
  2120.      your network consider a buffer size that is in multiples of 2k or
  2121.      4k.  Because PCBoard does so many different tasks and because the
  2122.      type of network  and computers you are using vary so much there
  2123.      is no single buffer value that you should use.  You should use a
  2124.      trial and error method where you login, perform what you think is
  2125.      a normal call, check your performance time and then change your
  2126.      network buffer size and try the test again.
  2127.      
  2128.      In your CONFIG.SYS you should set your BUFFERS= statement to the
  2129.      cluster size (in kilobytes) of the largest disk partition on each
  2130.      of your computers multiplied by 2.  You multiple by 2 because
  2131.      each DOS buffer is 512 bytes.  For example, if your largest
  2132.      partition uses a 4096 byte cluster size then you would divide
  2133.      4096 by 1024 to get your cluster size in kilobytes then multiple
  2134.      that value by 2.  In this example you would set BUFFERS=8.
  2135.      
  2136.      If you do not know your cluster size you can use CHKDSK to see
  2137.      what value is to the left of bytes in each allocation unit.  Of
  2138.      course if you are on a server drive then you will probably
  2139.      receive a message which says Cannot CHKDSK a network drive.  If
  2140.      that is the case then you can use a utility called PCBDISK.EXE
  2141.      which is included with your package.  PCBDISK will report bytes
  2142.      per cluster in parentheses at the beginning of it's screen.
  2143.      
  2144.      To help conserve a little bit of memory you can also add a
  2145.      statement in your CONFIG.SYS which says FCBS=1,0.  DOS usually
  2146.      defaults to a higher number of FCBs (File Control Blocks).  Very
  2147.      few programs use FCBs anymore so by setting it to the minimum
  2148.      that DOS allows (1 FCB) you can save some additional conventional
  2149.      memory.
  2150.      
  2151.      
  2152.  
  2153. Special Considerations For Novell Networks
  2154. ------------------------------------------
  2155.      
  2156.      If you are running Novell NetWare as your network then there are
  2157.      a few items of information that you need to be aware of if you
  2158.      plan on running PCBoard.
  2159.      
  2160.      When you installed PCBoard the install program asked you if you
  2161.      were running on a Novell network.  If you installed the software
  2162.      when you already had NetWare and answered Y to the question then
  2163.      everything should be set properly.  However, if you first
  2164.      installed the software and then later moved up to NetWare then
  2165.      you should add the /NMT switch to your SET PCB= line in
  2166.      BOARD.BAT.  This switch tells PCBoard  not to check for
  2167.      multitasking programs.
  2168.      
  2169.      Usually PCBoard will check to see if a multitasker is running so
  2170.      that it can perform more efficiently.  However, in a Novell
  2171.      environment when PCBoard checks for a multitasker Novell acts
  2172.      like it is a Multitasker.  Because PCBoard thought it found a
  2173.      multitasker it is going to try and give back CPU time, etc.  Most
  2174.      of the time this will cause your computers to lockup and hence
  2175.      the /NMT switch.  It is also important that your SET PCB=
  2176.      statement be active and that it have the /NMT switch whenever you
  2177.      run any of the utilities that come with PCBoard.  This is
  2178.      necessary even with the utilities because they use the same
  2179.      routines to check for multitaskers.
  2180.      
  2181.      The other special feature that you should be aware of with
  2182.      NetWare is the path.  Novell, unlike DOS, searches the path not
  2183.      only for executable files but for data files.  This can cause
  2184.      problems for PCBoard.  Therefore it is recommended that you run
  2185.      SMODE *.EXE 2 on all of your PCBoard executable files
  2186.      (PCB145.EXE, PCBSETUP.EXE, etc.).  By doing this you tell NetWare
  2187.      to not search the path for datafiles when you run those programs.
  2188.      In all actuallity you have made Netware behave more like DOS in
  2189.      regards to the search path.
  2190.  
  2191. Possible IRQ Conflicts
  2192. ----------------------
  2193.      
  2194.      Whenever you are adding hardware to a system whether it  be  more
  2195.      COM  ports  or a network card you need to be concerned about  IRQ
  2196.      line  conflicts.  IRQ lines are used to pass hardware  interrupts
  2197.      which  are  used  to  notify the CPU that  the  device  has  some
  2198.      input/output that needs to be taken care of.  If two devices  use
  2199.      the  same  IRQ  line then you will run into some  real  problems.
  2200.      Multitasking  and  networking setups will have different  'likely
  2201.      case' scenarios which are described next.
  2202.      
  2203.   Multitasking
  2204.      
  2205.      If  you  are running three or more COM ports in a single  machine
  2206.      then  it  is very likely you have already experienced a COM  port
  2207.      conflict.  Below is a table which lists typical defaults for four
  2208.      COM ports:
  2209.      
  2210.            Base
  2211.      COM   Address        IRQ
  2212.       1    03F8      4
  2213.       2    02F8      3
  2214.       3    03E8      4
  2215.      4     02E8      3
  2216.      
  2217.      Right  away  you  should  notice a problem.   COM1  and  COM3  is
  2218.      supposed  to share IRQ 4.  Likewise COM2 and COM4 share the  same
  2219.      IRQ.   This will DEFINATELY not work.  So what you need to do  is
  2220.      to  find  two different IRQs to use for COM3 and COM4.   At  this
  2221.      point you are probably asking yourself what IRQs can I use?  IRQs
  2222.      2  and 5 are usually available in a system and a wide variety  of
  2223.      serial  port  boards support IRQs 2-5.  Below is a table  listing
  2224.      base  addresses  and IRQs that might be used in a  computer  with
  2225.      four serial ports:
  2226.      
  2227.            Base
  2228.      COM   Address        IRQ
  2229.       1    03F8      4
  2230.       2    02F8      3
  2231.       3    03E8      5
  2232.       4    02E8      2
  2233.      
  2234.      If you decide to use IRQ 2 you do need to realize that that it is
  2235.      a  little special.  IRQ 2 is used to cascade the interrupts  from
  2236.      the  upper IRQs (8-15).  Therefore if you have any devices  using
  2237.      IRQs  8-15  make  sure that by using IRQ 2  you  will  not  cause
  2238.      problems  for  other devices because their interrupts  cannot  be
  2239.      properly  cascaded through IRQ 2.  If you do run into  a  problem
  2240.      you  may want to try using IRQ 7.  This IRQ is used for LPT1  but
  2241.      it is usually safe to use.
  2242.      
  2243.      Note:  If you use IRQ 2 and you have an autoswitch EGA/VGA  card,
  2244.      disable the autoswitch IRQ on the video card.
  2245.      
  2246.      If  you have two COM ports or a COM port and another device  that
  2247.      conflict  with one another then you could get modem reset  errors
  2248.      when  you load PCBoard.  This is because two or more devices  are
  2249.      trying to get exclusive use of one IRQ.  Another thing that could
  2250.      happen is that the second device that was contending for the  IRQ
  2251.      will  get  it and the first device will appear to be  locked  up.
  2252.      The  solution  to these symptoms is to resolve the IRQ  conflict.
  2253.      Double check your configuration and make sure that no two devices
  2254.      conflict.
  2255.      
  2256.      One  of  the reasons that external modems are recommended instead
  2257.      of  internal  modems is because internal modems rearely  let  you
  2258.      select  a  large range of IRQs for the COM ports.  Then by  using
  2259.      external  modems if you run into an IRQ conflict you  can  change
  2260.      the  settings on the serial port card.  If your serial port  card
  2261.      does  not allow you to select a wide range of IRQs then  you  can
  2262.      buy  a new serial port card that will allow you to select a  wide
  2263.      range of IRQs.
  2264.      
  2265.      
  2266.      
  2267.      
  2268.      
  2269.   Networking
  2270.      
  2271.      Like COM ports, LAN cards must communicate with the computer
  2272.      through using an IRQ.  Therefore you need to make sure that the
  2273.      IRQ settings that you use for your COM port(s) and your network
  2274.      card do not conflict with one another.  If they do conflict then
  2275.      you could experience lockups, excessive network timeouts, or
  2276.      while PCBoard is running you may see constant Network Delay...
  2277.      messages.
  2278.  
  2279. Modifying DOOR Batch Files for a Multinode Setup
  2280. ------------------------------------------------
  2281.      
  2282.      Somtimes  setting up DOOR programs can be the most time-consuming
  2283.      task  in  setting  up  a  BBS.   This section  discusses  various
  2284.      techniques  for  installing DOOR programs on a multi-node  setup.
  2285.      All  of the techniques in this section are designed to help  save
  2286.      you time both in the present setup and in the futu    re when you
  2287.      add  more  nodes.  You may use these instructions for setting  up
  2288.      DOOR programs in a multitasking or network environment.
  2289.      
  2290.      It  is  assumed that you already know how to setup a  DOOR  under
  2291.      PCBoard.   If  you  do not yet know how to setup  a  DOOR  please
  2292.      consult  the  PCBoard manual for more information.   It  is  also
  2293.      assmued  that you have a good grasp on how to create batch  files
  2294.      and pass parameters inside of batch files.
  2295.      
  2296.      You  do  not  have to be a batch file wizard but  you  should  be
  2297.      familiar with the following topics:
  2298.      
  2299.        What a batch file is
  2300.        How to create and edit a batch file
  2301.        Batch file commands (IF, GOTO, etc.)
  2302.        Using   replaceable  parameters  in  batch  files  (environment
  2303.        variables in particular)
  2304.      
  2305.      If  you  are  not familiar with batch files or any of  the  above
  2306.      topics  then please consult your DOS manual's batch file  section
  2307.      for more information.
  2308.      
  2309.      Because  DOOR programs are written by different authors  and  the
  2310.      fact that there are so many DOOR programs available you will find
  2311.      that  the  methods  required to setup a particular  DOOR  program
  2312.      differ  greatly.   Some DOOR authors may require  that  you  pass
  2313.      specific  information on the command line of the executable  file
  2314.      while other DOOR authors may store all of that information  in  a
  2315.      configuration  file.   Still  other  DOOR  programs  may  use   a
  2316.      combination of configuration files and command line paramaters.
  2317.      
  2318.      Because   setting  up  DOOR  programs  requires  a  comprehensive
  2319.      knowledge of creating batch files, setting up DOOR programs in  a
  2320.      multinode  environment may prove tricky at first.  However,  your
  2321.      efforts  will pay off in the long run especially if you  plan  on
  2322.      adding  more nodes in the future.  By using the methods discussed
  2323.      in  this  section you will learn how you will be able to use  one
  2324.      batch file for each door on all of your nodes.
  2325.      
  2326.      You  can  set  up your system so that each node has  a  different
  2327.      DOORS.LST.  However, this would mean that you would have  to  add
  2328.      your  DOOR  configuration to each node  rather  than  making  the
  2329.      change on one node and spreading the change automatically through
  2330.      the entire system.  It is strongly recommended that you stay with
  2331.      one single DOORS.LST for your entire system.
  2332.      
  2333.      The first step in setting up a DOOR is to browse the documenation
  2334.      included with the DOOR package.  Look to see if the DOOR requires
  2335.      any  special hardware or software.  If you are using a  COM  port
  2336.      other than COM1 or COM2 then you should also check to see if  the
  2337.      DOOR  will  support non-standard COM port definitions.  Otherwise
  2338.      you  would  be  unable to run that DOOR on nodes  that  use  non-
  2339.      standard COM ports.
  2340.      
  2341.      The  next step is to install the DOOR on your system as  per  the
  2342.      instructions  provided by the author.  If you have  questions  on
  2343.      the  installation of the DOOR you should contact the  author  for
  2344.      further assistance.
  2345.      
  2346.      Test the DOOR program and make sure that it works on at least one
  2347.      node.   Do  not  proceed until you have confirmed that  the  DOOR
  2348.      operates properly.  If the DOOR does not work correctly your best
  2349.      chance  of  getting the DOOR program to operate correctly  is  to
  2350.      contact  the author of the program directly since they  know  how
  2351.      their  program  functions.  If the author of the  program  is  no
  2352.      longer available try contacting other sysops to see if they might
  2353.      already  have  it up and running.  The PCBoard technical  support
  2354.      staff is very familiar with the PCBoard program but are not  very
  2355.      familiar  with  the  thousands of third party programs  that  are
  2356.      available for PCBoard.
  2357.      
  2358.      Now  that  you  know that the DOOR works you should  examine  the
  2359.      batch  file that you use to run the DOOR.  When looking  at  this
  2360.      batch  file  you  should search for anything  in  there  that  is
  2361.      specific to a particular node.  Example:
  2362.      
  2363.      C:
  2364.      CD\DOORS\ABCGAME
  2365.      ABCGAME C:\PCB\NODE2\  (emphasize C:\PCB\NODE2\)
  2366.      C:
  2367.      CD\PCB
  2368.      BOARD
  2369.      
  2370.      Notice  how this patch file explicitly uses C:\PCB\NODE2\.   This
  2371.      means  that  if you ran this DOOR batch file on node  3  that  it
  2372.      would not work because the C:\PCB\NODE2\ is hard-coded into  that
  2373.      batch file.
  2374.      
  2375.      Not  all  of  the node specific information is so easy  to  spot.
  2376.      Let's take a look at another example:
  2377.      
  2378.      C:
  2379.      CD\DOORS\NEATDOOR
  2380.      NEATDOOR ND.CFG
  2381.      C:
  2382.      CD\PCB
  2383.      BOARD
  2384.      
  2385.      On  the outside it appears that this DOOR does not reference  any
  2386.      node-specific  information.   However,  if  you   look   in   the
  2387.      configuration  file for this DOOR (ND.CFG) you will  most  likely
  2388.      find  that it contains some node specific information.  This node
  2389.      specific   information  might  be  where  to  find   PCBOARD.SYS,
  2390.      DOOR.SYS, or even what COM port to use.
  2391.      
  2392.      Once you have determined where the node specific information  is,
  2393.      you  now have to find a way around this so you can still use  one
  2394.      batch  file for all of your nodes.  This is where the environment
  2395.      variables that PCBoard creates and the ones you created  in  each
  2396.      BOARD.BAT  come into the picture.  Now is also the time  that  if
  2397.      you  did  not  heed  the  previous warning regarding  environment
  2398.      variables and how to use them in batch files to consult your  DOS
  2399.      manual for that information.
  2400.      
  2401.      Recalling  that  PCBoard  will set a  few  environment  variables
  2402.      (PCBNODE, PCBDRIVE, PCBDIR, etc.) relevant to your setup and that
  2403.      you  created a few yourself in your BOARD.BAT you should be  able
  2404.      to  see  how these can aid you in your setup.  A batch file  that
  2405.      did not use environment variables might look like this:
  2406.      
  2407.      C:
  2408.      CD\DOORS\ABCGAME
  2409.      ABCGAME C:\PCB\NODE2\
  2410.      C:
  2411.      CD\PCB
  2412.      BOARD
  2413.      
  2414.      The  same batch file using environment variables would look  like
  2415.      this:
  2416.      
  2417.      C:
  2418.      CD\DOORS\ABCGAME
  2419.      ABCGAME %PCBDRIVE%%PCBDIR%\
  2420.      %PCBDRIVE%
  2421.      CD %PCBDIR%
  2422.      BOARD
  2423.      
  2424.      Here is a description of each line above:
  2425.      
  2426.      C:         Change to the C: drive because that is where the  DOOR
  2427.                 is installed
  2428.      CD\DOORS...     Change to the \DOORS\NEATDOOR subdirectory (where
  2429.                 the DOOR is installed)
  2430.      ABCGAME... Execute  the  DOOR  program.  Uses  the  PCBDRIVE  and
  2431.                 PCBDIR  environment variables to tell the  DOOR  where
  2432.                 it  can find specific files (e.g. PCBOARD.SYS) for the
  2433.                 node running the program.
  2434.      %PCBDRIVE% Change   to   the  PCBoard  drive  (where   the   node
  2435.                 subdirectory is located)
  2436.      CD %PCBDIR%       Change  to  the  PCBoard  directory  (the  node
  2437.                 subdirectory)
  2438.      BOARD      Reloads your BBS batch file
  2439.      
  2440.      
  2441.      The  variables  (surrounded by % signs) will be replaced  by  the
  2442.      appropriate values as they are set for each node.  At this  point
  2443.      you  are probably asking yourself, if these environment variables
  2444.      are so great then why did my batch file grow in size?  When using
  2445.      batch  files it is quite likely that your batch files will  grow.
  2446.      The  advantage you gain is that you can use this batch  file  for
  2447.      EVERY  node  in  your system.  This helps you  keep  your  system
  2448.      maintenance down and definately makes installation easier.
  2449.      
  2450.      Consider  the  following two examples to  really  appreciate  how
  2451.      using environment variables in your DOOR batch files can help you
  2452.      out.  1)  You add more nodes to your system.  2)  You change  the
  2453.      location or delete the DOOR from your system.
  2454.      
  2455.      In  the  first example you do not really have to do  anything  to
  2456.      activate  your new nodes on the system.  If your DOOR is  defined
  2457.      in  DOORS.LST and you have copied the DOOR to the C: drive of the
  2458.      new system then you are all set.
  2459.      
  2460.      In  the second example, if you move the location of the DOOR then
  2461.      you  only  need to change the one batch file to reflect  the  new
  2462.      location  (The  first  CD command in the batch  file).   Can  you
  2463.      imagine running 19 nodes and having to change 19 different  batch
  2464.      files.   Having numerous batch files for one DOOR also  increases
  2465.      your chance of making a configuration mistake.
  2466.      
  2467.      Some  DOOR programs use a configuration (config) file for  normal
  2468.      operation.    Some   of   these  programs   store   node-specific
  2469.      information in these files.  Remember that environment  variables
  2470.      can  only  be  used in the batch files themselves (i.e.,  not  in
  2471.      config files).  This may lead you to wonder how you can still use
  2472.      environment variables and create just one batch file for  all  of
  2473.      your  nodes.  The answer is quite simple.  Create multiple config
  2474.      files  and then use the PCBNODE environment variable to load  the
  2475.      proper one.
  2476.      
  2477.      As an example lets say you have the following batch file:
  2478.      
  2479.      C:
  2480.      CD\DOORS\NEATDOOR
  2481.      NEATDOOR ND.CFG
  2482.      C:
  2483.      CD\PCB
  2484.      BOARD
  2485.      
  2486.      Now, lets say in the ND.CFG file is the following:
  2487.      
  2488.      C:\PCB\NODE3\PCBOARD.SYS  ;location of PCBOARD.SYS
  2489.      5                         ;number of times game can be played per
  2490.      day
  2491.      400                  ;points per win
  2492.      
  2493.      If  you  could use environment variables in other files then  the
  2494.      solution  would  be  easy  enough, you  would  just  replace  the
  2495.      C:\PCB\NODE3\PCBOARD.SYS   in   the   ND.CFG    file    to    say
  2496.      %PCBDRIVE%%PCBDIR%\PCBOARD.SYS.   However,  you  cannot  do  that
  2497.      because   environment   variables  cannot   be   read   in   from
  2498.      configuration files.  Therefore you need another alternative.
  2499.      
  2500.      At  this  point you need to create a configuration file for  each
  2501.      node.   You  will  want  to  come up with  some  sort  of  naming
  2502.      convention.  For this example since the original config file  was
  2503.      called  ND.CFG you may want to simply tack on the node number  to
  2504.      each  config  file (e.g. ND1.CFG, ND2.CFG, ND3.CFG).   By  naming
  2505.      them with the node numbers in the filename we will be able to use
  2506.      the  PCBNODE environment variable.  The most important  thing  to
  2507.      remember  is  that you should remain consistent  in  your  naming
  2508.      conventions.   If you differ then you will not  be  able  to  use
  2509.      environment variables.
  2510.      
  2511.      Once you have created (or copied) a config file for each node you
  2512.      need  to  change  the first line to reflect the location  of  the
  2513.      PCBOARD.SYS  for each node.  Once you have made the  modification
  2514.      to  the config file you now need to make the modification to  the
  2515.      batch  file.  Once you have added the environment variables  your
  2516.      batch file would look like this:
  2517.      
  2518.      C:
  2519.      CD\DOORS\NEATDOOR
  2520.      NEATDOOR ND%PCBNODE%.CFG
  2521.      %PCBDRIVE%
  2522.      CD %PCBDIR%
  2523.      BOARD
  2524.      
  2525.      Here is a description of each line in the batch file:
  2526.              
  2527.      C:              Change to the C: drive because that is where the
  2528.                 DOOR is installed
  2529.      CD\DOORS...  Change to the \DOORS\NEATDOOR subdirectory (where
  2530.                 the DOOR is installed)
  2531.      NEATDOOR...  Execute the DOOR program using a config file.
  2532.                 Because of the PCBNODE environment variable a
  2533.                 different file will be loaded for each node.
  2534.      %PCBDRIVE%   Change to the PCBoard drive (where the node
  2535.                 subdirectory is located)
  2536.      CD %PCBDIR%  Change to the PCBoard directory (the node
  2537.                 subdirectory)
  2538.      
  2539.      And  finally, a more complex batch file might look something like
  2540.      this:
  2541.      
  2542.      C:
  2543.      CD\DOORS\PCBMAIL
  2544.      PCBMAIL PCBM.CFG  C:\PCB\NODE3\  /PORT:3E8:5
  2545.      C:
  2546.      CD \PCB\NODE2
  2547.      BOARD
  2548.      
  2549.      This  DOOR represents a DOOR which points to a single config file
  2550.      which  does not contain information specific to any node (maximum
  2551.      plays  per  day,  points rewarded, etc.).   Also  passed  on  the
  2552.      command line is the location of this node and the final parameter
  2553.      passed  on the command line is the base address and IRQ  for  the
  2554.      COM port (/PORT parameter).
  2555.      
  2556.      Do not let the additional parameters worry you.  Your goal should
  2557.      still  be  the same.  Replace the node specific information  with
  2558.      environment  variables.  What makes this problem  just  a  little
  2559.      different  is that PCBoard does not create environment  variables
  2560.      for  the  base address and IRQ for COM port.  That is the  reason
  2561.      that  we  created  the  COMBASE and COMIRQ environment  variables
  2562.      earlier in BOARD.BAT if you were setting up for a multitasker.
  2563.      
  2564.      We  have now assured ourselves that we have environment variables
  2565.      that  we  can use to replace all of the node specific information
  2566.      in the previous batch file we are ready to change the batch file.
  2567.      Your final batch file should resemble this:
  2568.      
  2569.      C:
  2570.      CD\DOORS\PCBMAIL
  2571.      PCBMAIL PCBM.CFG %PCBDRIVE%%PCBDIR%\ /PORT:%COMBASE%:%COMIRQ%
  2572.      %PCBDRIVE%
  2573.      CD %PCBDIR%
  2574.      BOARD
  2575.      
  2576.      One thing that you should note about the above batch file is that
  2577.      the  DOOR that was used for this example does use a configuration
  2578.      file called PCBM.CFG.  However, this configuration file does  not
  2579.      contain any node specific information and that is why we did  not
  2580.      have  to  make any changes.  All of the node specific information
  2581.      was passed on the command line therefore it would be pointless to
  2582.      create multiple configuration files.  This batch is a little more
  2583.      difficult  because it contains more node specific information  on
  2584.      the  commandline.  In reality however, the technique is the  same
  2585.      as in the previous examples.
  2586.      
  2587.      By  now you should have noticed that for all intents and purposes
  2588.      most  of  the batch file looks the same, the only line  that  has
  2589.      changed  is the line that calls the program.  For the  most  part
  2590.      this  is  the way most of your DOOR batch files will  look.   You
  2591.      will  change to the directory where the DOOR is located, run  the
  2592.      actual  DOOR  program,  change back  to  the  PCBoard  drive  and
  2593.      directory, and finally you will reload the BBS.
  2594.      
  2595.      Once  you  have  replaced  the  node  specific  information  with
  2596.      environment variables you are now ready to test the DOOR to  make
  2597.      sure  that  with  the changes you have made that the  DOOR  still
  2598.      works  as  it did when you originally set it up.  If it works  on
  2599.      one  node  then  try  it  on  another node  and  make  sure  that
  2600.      everything  still  works correctly.  As an extra  precaution  you
  2601.      should  try  it out on every node (especially when  a  DOOR  uses
  2602.      config  files)   to make sure that all nodes work correctly.   If
  2603.      the  DOOR works correctly on all nodes then you have done a  good
  2604.      job  and everything should work correctly.  However, if you  have
  2605.      any  problems with any nodes then it is time to do a little "DOOR
  2606.      debugging".
  2607.      
  2608.      Debugging  a  DOOR is an easy process.  There are a two  commands
  2609.      designed  for batch files that you may want to keep  in  mind  --
  2610.      PAUSE,  and  ECHO ON.  The  PAUSE command can be  used  to  delay
  2611.      further execution of the batch file.  This is useful when  trying
  2612.      to  catch  errors that might be displayed as your batch  file  is
  2613.      running.  The pause command will ask you to strike a key when  it
  2614.      runs.   Therefore  you  could  put a PAUSE  command  after  every
  2615.      command  if  you wish until you find the offending  line  in  the
  2616.      batch file.
  2617.      
  2618.      In  conjunction with the PAUSE command you can put  a  line  that
  2619.      says  ECHO ON at the beginning of the batch file.  This will  let
  2620.      you  see  each  command of the batch file run.   This  method  is
  2621.      useful  for  checking  to see if your environment  variables  are
  2622.      being correctly substituted, changing to the wrong directory, and
  2623.      for tracking other obvious errors.
  2624.      
  2625.      Using these two commands together can really help you track  down
  2626.      some of the problems you will incur as you are creating your DOOR
  2627.      batch files.  If you have used these techniques and you still are
  2628.      unable to track down the problem then perhaps you should consider
  2629.      contacting the author of the DOOR for further instructions.
  2630.      
  2631.      There  are  about as many ways to configure a DOOR as  there  are
  2632.      DOOR programs out there.  The previous examples should be used to
  2633.      aid   you   in  several  of  the  more  popular  types  of   DOOR
  2634.      configurations.  Not all of the configurations could  be  covered
  2635.      in  this section so remember that you may run into configurations
  2636.      that  you  may  not  recognize.   If  you  do  run  into  such  a
  2637.      configuration  identify  the node specific  information  and  use
  2638.      environment  variables to create one batch file for all  of  your
  2639.      nodes
  2640.      
  2641.      In  DOORS.LST if you have told PCBoard that it should swap memory
  2642.      to  load  the  DOOR  (placed an S in the Shell column)  then  you
  2643.      should  not  rely  on the environment variables being  in  place.
  2644.      Therefore, you should place the following statements beginning at
  2645.      the second line of each node's BOARD.BAT file.  For example, node
  2646.      1's     configuration     in    a    multitasking     environment
  2647.      (C:\PCB\NODE1\BOARD.BAT) would have these lines added:
  2648.      
  2649.      set PCBDRIVE=C:
  2650.      set PCBDIR=\PCB\NODE1
  2651.      set PCBNODE=1
  2652.      
  2653.      As  an additional example, node 1 on a network where each machine
  2654.      runs one node you would add the following to C:\PCB\BOARD.BAT.
  2655.      
  2656.      set PCBDRIVE=C:
  2657.      set PCBDIR=\PCB
  2658.      set PCBNODE=1
  2659.      
  2660.      Make these modifications to each node's batch file.
  2661.      
  2662.      It  is  absolutely critical that you do not rely on  14.5a's  new
  2663.      environment variables being in the environment space if you  have
  2664.      set  PCBOARD to swap to load the DOOR (placed an "S" in the Shell
  2665.      column in DOORS.LST).
  2666.  
  2667. Setting Up Events
  2668. -----------------
  2669.      
  2670.      Events  operate the same way if you have one node  or  a  hundred
  2671.      nodes.   At  a  specified time a node will drop to  DOS  and  run
  2672.      EVENT.SYS  (which gets renamed to EVENT.BAT by  PCBoard).   There
  2673.      are  a few new elements in regards to event batch files when  you
  2674.      run multiple nodes:
  2675.      
  2676.      1.   Some programs requires that all nodes be down when they run.
  2677.      If  that  is the case then you must make sure that all nodes  are
  2678.      down (i.e. PCBoard is not running).  In a case like that you  can
  2679.      have  the  nodes that do not have any tasks to do  in  the  event
  2680.      simply run a program that counts down x amount of minutes.   Then
  2681.      after  sufficient time has passed the nodes can reload  BOARD.BAT
  2682.      and be ready to take more calls.  There are some utilties on Salt
  2683.      Air that do nothing more than count down x amount of seconds or x
  2684.      minutes and then continue.  Most of these utilities can be  found
  2685.      by  using the (L)ocate command and searching for WAIT*.* in (A)ll
  2686.      directories.
  2687.      
  2688.      2.   Because you have multiple nodes you could elect to  disperse
  2689.      the  programs  that  run in your event to  each  of  your  nodes.
  2690.      However, if you do there is more of a possibility that you  could
  2691.      run  into  conflicts.  For example if one node was accessing  the
  2692.      USERS file at the same time as another utility you could run into
  2693.      a  sharing  violation which would hang your event with a  sharing
  2694.      error.  There are several utilities on Salt Air that can help you
  2695.      prevent  conflicts like the one described previously.  To  locate
  2696.      some of these files you could do a (Z)ippy scan for EVENT MANAGER
  2697.      in (A)ll directories.
  2698.      
  2699.  
  2700. Third Party Software Setup Recommendations
  2701. ------------------------------------------
  2702.      
  2703.   DSZ (ZMODEM TRANSFER PROTOCOL)
  2704.      
  2705.      Your  PCBRZ  &  PCBSZ batch files should resemble  the  following
  2706.      examples:
  2707.      
  2708.      PCBRZ.BAT
  2709.      
  2710.      echo off
  2711.      if exist PCBERR.FIL del PCBERR.FIL
  2712.      if exist %DSZLOG% del %DSZLOG%
  2713.      DSZ  F pY129 handshake both estimate 0 %5 pB4096 pd0 z pr1 rz  -p
  2714.      %3
  2715.      
  2716.      PCBSZ.BAT
  2717.      
  2718.      echo off
  2719.      if exist PCBERR.FIL del PCBERR.FIL
  2720.      if exist %DSZLOG% del %DSZLOG%
  2721.      DSZ F pY129 handshake both pB4096 estimate 0 %5 z sz %3
  2722.      
  2723.      Earlier  we  modified  BOARD.BAT so that an environment  variable
  2724.      called  DSZPORT was created.  This environment variable  contains
  2725.      the  information  regarding the COM port configuration  for  each
  2726.      node  that  is  why nothing regarding which COM port  to  use  is
  2727.      included in either PCBRZ.BAT or the PCBSZ.BAT.
  2728.      
  2729.      The  F  and  pY129  parameters are new to the DSZ  command  line.
  2730.      These parameters will help improve performance and will cause DSZ
  2731.      to  use less CPU cycles during DSZ transfers which will speed  up
  2732.      the  other PCBoard nodes.  If you are not using 16550A UARTs then
  2733.      remove  this  parameters  from the above  batch  files  as  these
  2734.      parameters only work with 16550A UARTs.
  2735.      
  2736.      If  you get error messages that look like the example below  then
  2737.      you  are  experiencing  COM over-runs and need  to  replace  your
  2738.      existing UART with a 16550A UART.
  2739.      
  2740.      Byte 119296 attempt 1: Bad CRC ( or Garbled data subpacket).
  2741.      127232 ZMODEM CRC-32
  2742.      Serial input ERROR : Line Status Register 02
  2743.      
  2744.      All DSZ commands are case sensitive and should be entered just as
  2745.      you find them in this example.
  2746.      
  2747.   DOORWAY
  2748.      
  2749.      The  shareware version of DOORWAY is included with v14.5a so that
  2750.      you  can  do remote drops to DOS via REMOTE.SYS.  If you look  at
  2751.      REMOTE.SYS you will find that it looks like this:
  2752.      
  2753.      set box=no
  2754.      doorway com1 /v:d^O /m:600 /g:on /o: /k:v0 /c:dos
  2755.      set box=
  2756.      c:
  2757.      cd \pcb
  2758.      board
  2759.      
  2760.      If you are using a COM port other than COM1 then you will need to
  2761.      change this value to whatever COM port you are using.  If you are
  2762.      using a COM port other than COM1 or COM2 then instead of com1  or
  2763.      com2  you should use the port command line parameter.  The syntax
  2764.      for this parameter is as follows:
  2765.      
  2766.            PORT:bbb,i     (where bbb is the COM port base address with
  2767.      a zero in front and i is the IRQ).
  2768.      
  2769.      If  you  set the COMBASE and COMIRQ variables that were discussed
  2770.      earlier then you could also make use of them here as well.   Here
  2771.      is an exmaple REMOTE.SYS using the COMBASE and COMIRQ environment
  2772.      variables:
  2773.      
  2774.      set box=no
  2775.      doorway port:0%COMBASE%:%COMIRQ% /v:d^O /m:600 /g:on /o: /k:v0
  2776.      /c:dos
  2777.      set box=
  2778.      c:
  2779.      cd \pcb
  2780.      board
  2781.      
  2782.      NOTE:  The 0 in front of the three digit hexadecimal base address
  2783.      is  necessary  on the DOORWAY command line because  that  is  the
  2784.      syntax that it expects.  If you do not, then you will receive  an
  2785.      error  message telling you that the syntax for the PORT parameter
  2786.      is incorrect.
  2787.      
  2788.  
  2789. Answers to Common Multinode Questions
  2790. -------------------------------------
  2791.      
  2792.      When  I  make  a change to one of the conferences (including  the
  2793.      Main Board) the change shows up on all of the nodes.  Why?
  2794.      
  2795.      This  is because all of your nodes point to the same CNAMES  file
  2796.      (located  in  PCBSetup,  File Locations  #1).   The  CNAMES  file
  2797.      contains  all conference information and since you are using  one
  2798.      CNAMES file you see the changes reflected on all nodes.
  2799.      
  2800.      The  obvious solution would be to specify different CNAMES  files
  2801.      on  each  node.  This is not recommended though because any  time
  2802.      you  made a change to any conference you would have to make  that
  2803.      same change on each node.  For example if you were to setup a new
  2804.      conference you would have to set it up on each node and hope that
  2805.      you  have set it up exactly the same on all nodes.  By specifying
  2806.      a  different CNAMES file for each node you open up the  door  for
  2807.      more mistakes.  Instead use relative addressing.
  2808.      
  2809.      Relative  addressing  depends  on  the  current  subdirectory  to
  2810.      determine  where it looks for files.  In your file  locations  if
  2811.      you give only the filename (no drive or directory locations) then
  2812.      the  PCBoard  will  look for the file in the current  or  default
  2813.      directory.   Because  each  of  your  nodes  should  be  using  a
  2814.      different directory this means that you can still keep  one  copy
  2815.      of  CNAMES but you can have unique conference files for each node
  2816.      as your needs dictate.
  2817.      
  2818.      Relative addressing looks like this:
  2819.      
  2820.        1.   DOORS.LST
  2821.        2.   GEN\BLT
  2822.        3.   \PCB\MAIN\SCRIPT.LST
  2823.      
  2824.      1.  Because no directory information is specified you are telling
  2825.      the  program to look in the current subdirectory for the filename
  2826.      DOORS.LST.   If  your current subdirectory is  C:\PCB\  then  the
  2827.      program  is  going to try and open C:\PCB\DOORS.LST.  On  another
  2828.      machine  your current subdirectory may be D:\PCB\.  If  so,  then
  2829.      the program will look for D:\PCB\DOORS.LST instead.
  2830.      
  2831.      2.   This  example  does have a directory included  in  the  file
  2832.      specification but notice that there is no backslash  (\)  at  the
  2833.      beginning.  This simply means to look for a subdfirectory  called
  2834.      GEN  underneath the current subdirectory.  For example,  if  your
  2835.      current  subdirectory is C:\PCB\ then the GEN\BLT would be  added
  2836.      on to create C:\PCB\GEN\BLT.
  2837.      
  2838.      3.   If  all that is different is the drive letters that you  use
  2839.      between  machines then you may want to use the type  of  relative
  2840.      addressing shown in this example.  Notice how this example starts
  2841.      with  a  backslash.  This will cause the program to begin looking
  2842.      for that file from the root subdirectory on the current drive.
  2843.      
  2844.      When using relative addressing because if you are not careful you
  2845.      could create a message base or user file that is specific to  one
  2846.      particular  node.  For example if you have two nodes running  and
  2847.      you  are having problems with one node not being able to read the
  2848.      MSGS file you may be tempted to use relative addressing.  If  you
  2849.      did  then you would not get the errors saying that you could  not
  2850.      find  the  file but you would end up creating two seperate  files
  2851.      with each copy specific to a particular node.  This means that  a
  2852.      message  that is left on one node would never show up on  another
  2853.      node because they are using seperate files.
  2854.      
  2855.      Absolute addressing, on the other hand, looks like this:
  2856.      
  2857.       1.   C:\PCB\GEN\DOORS.LST
  2858.       2.   D:\PCB\GEN\BLT
  2859.       3.   E:\PCB\MAIN\SCRIPTS\SCRIPT.LST
  2860.       4.   F:\PCB\GEN\DIR.LST
  2861.      
  2862.      You  will  notice that each of these examples are quite  similar.
  2863.      The  reason  that they are so similar is that absolute addressing
  2864.      requires  that  you  start with the drive  letter  and  give  the
  2865.      complete path and filename.
  2866.      I am planning on running multiple nodes but I only want one phone
  2867.      number to access all of my nodes.  How can I do this?
  2868.      
  2869.      This is something you need to consult your local telephone
  2870.      company about.  Your phone company should provide a service
  2871.      called hunt groups or ringdown groups.  You still get a phone
  2872.      number for each incoming line but if the first number is busy it
  2873.      rings down to the second and so on.
  2874.      
  2875.      
  2876.      When I try to login to a second node, the first node's session is
  2877.      accessed instead of a new session.  What am I doing wrong?
  2878.      
  2879.      You are attempting to start PCBoard from the same directory that
  2880.      someone or some other node has started from.  Recall that PCBoard
  2881.      requires that it be loaded from a unique drive and subdirectory
  2882.      because it will write PCBOARD.SYS, DOOR.SYS, USERS.SYS, and
  2883.      ENDPCB to the directory you actually load PCBoard from.  If two
  2884.      nodes try to load from the same directory then they will of
  2885.      course conflict and because PCBoard recognizes that someone is
  2886.      already online their session is continued.
  2887.      
  2888.      
  2889.      Will PCBoard use a modem on another computer via a network?
  2890.      
  2891.      No.  PCBoard talks directly to the COM port therefore it would
  2892.      not be possible.
  2893.      
  2894.      
  2895.      Every once in a while I will see a message that says SHARING
  2896.      VIOLATION.  What exactly is a sharing violation?
  2897.      
  2898.      A sharing violation is when two programs try to access the same
  2899.      file when one of the programs has the file "locked".  In normal
  2900.      multinode operations it is quite common for two or more programs
  2901.      to read/access a file at the same time.  Sometimes though, a
  2902.      program needs to update a file and while it writes to the file it
  2903.      will lock the file from all other programs.  When a file is
  2904.      locked it means that no other program can read or write from that
  2905.      file.  These errors can be reported by the programs themselves or
  2906.      by DOS.  To resolve the conflict check and see what programs
  2907.      could be accessing the same files and try to work around them
  2908.      trying to access the file at the same time.
  2909.      
  2910.      
  2911.      In my network startup batch file I tell it to redirect the local
  2912.      C: drive to the C: drive on the server.  Just after this line
  2913.      executes in my batch file the batch files stops running.  Why?
  2914.      
  2915.      This is one of the reasons why you should not redirect you local
  2916.      C: drive.  Presumably you were redirecting your drives in your
  2917.      AUTOEXEC.BAT file which is loaded from your C: drive at bootup.
  2918.      When you reassigned your local C: to another drive while the
  2919.      batch file is running on C: when it tries to execute the next
  2920.      line in the batch file it stops cold because that batch file that
  2921.      it was running can no longer be found on newly redirected C:
  2922.      drive.
  2923.      
  2924.      
  2925.      Whenever  I open up a node's window it loads the wrong  node  and
  2926.      sometimes gives a modem reset error.  Why does it do this?
  2927.      
  2928.      This  is  most  commonly caused by changing  to  the  wrong  node
  2929.      directory  in  your BOARD.BAT which means PCBoard  might  end  up
  2930.      using  the  wrong COM port.  Make sure you change to the  correct
  2931.      node  directory  before you execute PCBoard so that  the  correct
  2932.      PCBOARD.DAT (setup) file is read.
  2933.      
  2934.      If  that setup checks out okay then also make sure that you  have
  2935.      resolved  all IRQ conflicts between the COM ports and  all  other
  2936.      devices  in your computer.  The most common conflict is that  you
  2937.      have used IRQ4 on both COM1 and COM3.
  2938.      
  2939.      
  2940.      
  2941.      
  2942.      
  2943.      
  2944.      Sometimes  when loading PCBoard it just hangs.  What  is  causing
  2945.      it?
  2946.      
  2947.      Try  disabling  your  cache  for test purposes.   Some  shareware
  2948.      caches  have been known to cause problems. Also, if this  appears
  2949.      to  be  happening with a particular door make a note  of  it  and
  2950.      leave a message on Salt Air detailing what you are seeing.
  2951.      
  2952.      
  2953.      When a DOOR runs it will display the opening screen okay but when
  2954.      a user types something it does not show up on the screen.
  2955.      
  2956.      This problem occurs more often on a multitasking setup because
  2957.      you are more likely to be using non-standard COM ports.  What is
  2958.      happening is the DOOR programs you are running are not currently
  2959.      setup to use non standard COM ports.  In other words the IRQ that
  2960.      the DOOR thinks you are using and the one that you are actually
  2961.      using are different.  You should check the documentation for your
  2962.      DOOR program to see if there is a way to specify the IRQ that you
  2963.      are using for the COM port on your system.
  2964.      
  2965.      
  2966.      I  have often noticed that some programs that wish to run in  the
  2967.      event  require  that all nodes be down while one  node  runs  the
  2968.      event.  How can I make sure that all of the nodes are down?
  2969.      
  2970.      The  most  common solution to this dilemma is to have  the  other
  2971.      nodes  run  a program which will wait x minutes while  the  other
  2972.      node  does its processing.  There is a utility available on  Salt
  2973.      Air  under  the filename of WAIT4.ZIP.  Your EVENT.SYS files  may
  2974.      look like this:
  2975.      
  2976.      
  2977.      Node 1's EVENT.SYS
  2978.      
  2979.      @ECHO OFF
  2980.      PCBPACK /AREA:0
  2981.      PCBPACK /USERS
  2982.      BOARD
  2983.      
  2984.      Node 2's EVENT.SYS
  2985.      
  2986.      @ECHO OFF
  2987.      WAIT4 360
  2988.      BOARD
  2989.      
  2990.      Node 3's EVENT.SYS
  2991.      
  2992.      @ECHO OFF
  2993.      WAIT4 360
  2994.      BOARD
  2995.      
  2996.      Using  these example EVENT.SYS files, node 1 will pack  both  the
  2997.      message  base and the users file and then return upon completion.
  2998.      In the meantime, nodes 2 and 3 will be on hold for 360 seconds (6
  2999.      minutes).  After the 6 minutes are completed, the EVENT.SYS  file
  3000.      reloads the BBS by executing the BOARD batch file.
  3001.      
  3002.      Everyone seems to recommend 16550 UARTs for my COM ports.  What
  3003.      are they, how do I find out what type of UART I have, and why do
  3004.      I need them?
  3005.      
  3006.      A UART is the chip on serial port boards that handles the input
  3007.      and output through the COM port.  What makes the 16550 UART
  3008.      important to multiple node setups is that they can buffer more
  3009.      data than other UARTs.  The 16550 will buffer up to 16 bytes of
  3010.      data as opposed to the one byte that most other UART chips
  3011.      handle.  In order to maintain error-free connections with high
  3012.      speed modems, multitaskers, or networks a 16550 is for the most
  3013.      part mandatory.
  3014.      
  3015.      You can find out what type of UART you have by loading PCBoard
  3016.      (with the COM port you want to check specified in PCBSetup, Modem
  3017.      Information) and logging in as the sysop.  Once you are in the
  3018.      BBS you can press Alt-H four times.  You will notice that after
  3019.      pressing Alt-H four times your status line will change each time
  3020.      and will look like the example below:
  3021.      
  3022.      
  3023.      
  3024.      Notice how on the bottom line towards the right hand side is the
  3025.      text 8250A/16450.  If you had a 16550 UART either 16550 or 16550A
  3026.      would be displayed.  Of the two, 16550A is the one you want as it
  3027.      is the newer UART chip and does not have the serious flaw that
  3028.      the original 16550 UART had.
  3029.      
  3030.      If you do not have 16550 UARTs on all of your serial ports then
  3031.      you may be able to replace your existing UARTs.  Check your
  3032.      serial board to see if the UARTs are socketed or not.  If they
  3033.      are socketed then you could run down to the local electronics
  3034.      warehouse and ask for part number PC16550CN or NS16550AFN.  Once
  3035.      you have the new UART and if your existing UART chip is socketed,
  3036.      then you can simply remove the old one and replace it with a
  3037.      16550.  If the UART(s) on your existing card are soldered in
  3038.      place or you do not feel comfortable in replacing then it is
  3039.      advised that you contact a computer technician who will do it for
  3040.      you.
  3041.      
  3042.      
  3043.      I seem to see a message that always says out of environment space
  3044.      while  my BBS is running.  What does that mean and how do  I  fix
  3045.      it?
  3046.      
  3047.      When  you  receive an out of environment space message  from  DOS
  3048.      that  means that you did not have enough room in your environment
  3049.      to  store the environment variable.  You can increase the size of
  3050.      your environment by using the SHELL= statement in CONFIG.SYS.  It
  3051.      is   not  recommended  that  you  exceed  1000  bytes  for   your
  3052.      environment  size  because some programs have exhibited  problems
  3053.      with  environments  of that size.  Most have found  that  setting
  3054.      their environment for 512 bytes allows plenty of space.
  3055.      
  3056.      If  you are using Windows v3.0 then you may have to make a change
  3057.      in your AUTOEXEC.BAT and BOARD.BAT files due to the way that v3.0
  3058.      handled  environment space.  In your AUTOEXEC.BAT you  could  add
  3059.      the following line:
  3060.      
  3061.      SET
  3062.      PTEMP=********************************************************
  3063.      
  3064.      Then in BOARD.BAT add the following line:
  3065.      
  3066.      SET PTEMP=
  3067.      
  3068.      What  you  just did is reserve space in your environment.   After
  3069.      windows  loads and executes your BOARD.BAT, your batch  file  de-
  3070.      allocates  that  environment variable making that room  available
  3071.      for PCBoard.
  3072.      
  3073.      If  you  have  Windows 3.1 then your setup will be easier.   This
  3074.      version  of  Windows made some changes in the way the environment
  3075.      is  handled.  Windows 3.1 allows you to specify the size you want
  3076.      for   your  DOS  windows  via  your  SYSTEM.INI  file.   In   the
  3077.      NonWindowsApp section of your SYSTEM.INI should be  a  line  that
  3078.      says  CommandEnvSize=512.   This  line  tells  Windows  how  much
  3079.      environment  space to allow to each DOS window  that  is  opened.
  3080.      You  will noted that the default value is 512 bytes which  should
  3081.      be  just fine for nearly all systems.  If you need to change that
  3082.      value  (or add the line to your SYSTEM.INI) please refer to  your
  3083.      Windows manual for further instructions.
  3084.      
  3085.      
  3086.      Ever  since I started using the VROOMM overlay version of PCBoard
  3087.      I  seem  to  be experiencing sharing violations when  PCBoard  is
  3088.      loading  or  returning from DOOR applications.  What  is  causing
  3089.      this?
  3090.      
  3091.      Because the overlay version of PCBoard stores some of the code on
  3092.      disk  there  is  a  chance that two nodes  could  conflict  while
  3093.      loading.   To  help prevent this you can make your PCB145.EXE  or
  3094.      VRM145.EXE  file read only.  To make either of these  files  read
  3095.      only  you can use the ATTRIB command provided by DOS like in  the
  3096.      example below:
  3097.      
  3098.       ATTRIB +R PCB145.EXE
  3099.