home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / bbs_mail / boards21.arj / BOARDS.DOC < prev    next >
Text File  |  1991-05-12  |  17KB  |  456 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.            * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  8.            *                                                         *
  9.            *   BOARDS.EXE         Revision 2.1    By  Mel Warwick.   *
  10.            *                                                         *
  11.            *                      The POACHER CBCS on 2:252/93       *
  12.            *                                                         *
  13.            *                      Grantham UK                        *
  14.            *                                                         *
  15.            *                      Data: 44-476-62450                 *
  16.            *                                                         *
  17.            * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.          What it's for.
  30.          ~~~~~~~~~~~~~~
  31.          Many bulletin boards carry a list of other bulletin boards for the
  32.          benefit  of  their users.  A problem with this is keeping the list
  33.          updated and valid.
  34.  
  35.          One of the most up to date lists around  is the Fidonet  Nodelist.
  36.          Published  weekly  it  lists  the  details  of all bulletin boards
  37.          world-wide that form FidoNet.
  38.  
  39.          The purpose of BOARDS is to  use the FidoNet Nodelist to  generate
  40.          a bulletin board listing in a format suitable for viewing by users
  41.          of a BBS while online.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.          Overview
  48.          ~~~~~~~~
  49.  
  50.          BOARDS.EXE scans a raw FidoNet Nodelist and  extracts  details  of
  51.          all  boards  within a given Fidonet Region or Zone.  The extracted
  52.          information is reformatted and placed into a file (or files) ready
  53.          for display online.  The file produced may be in  Avatar,  ANSI or
  54.          plain ASCII format.
  55.  
  56.          An  information  screen  may  be  included  at  the  start  of the
  57.          generated listing.  This is achieved by the provision of a 'header
  58.          file' which may be used to pass information to your  users  or  to
  59.          simply advertise your own board.
  60.  
  61.  
  62.  
  63.          Usage:
  64.          ~~~~~~
  65.  
  66.          BOARDS.EXE  is  run  from  the command line or from within a batch
  67.          file.  One or more optional arguments may be passed to  BOARDS.EXE
  68.          to  tailor  it  to  your  system.   All  arguments will assume the
  69.          default values detailed below if they  are  not  declared  in  the
  70.          command line. Usage details are available from within the program.
  71.  
  72.          The  best  time  to run BOARDS.EXE is immediately after processing
  73.          the weekly Nodelist update.  If you process  the  Nodelist  update
  74.          automatically  via  a batch file then include a call to BOARDS.EXE
  75.          in that batch file.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.          Syntax
  82.          ~~~~~~
  83.          BOARDS [?]  [/Z n]  [/R n|*]  [/N path]  [/O filespec]  [/X filespec]
  84.  
  85.                 [/H filespec]  [/M filespec]  [/S string:string]  [/L string]
  86.  
  87.                 [/F n]  [/P n]  [/Qn]  [/K]  [/C1 n] [/C2 n] [/C3 n] [/C4 n]
  88.  
  89.  
  90.          Arguments.
  91.          ~~~~~~~~~~
  92.  
  93.          1. All arguments are optional.
  94.  
  95.          2. Arguments may appear in any order on the command line.
  96.  
  97.          3. Spaces are not needed in the command line.
  98.  
  99.          4. In cases of duplicated arguments..... only the first occurrance
  100.             on the command line will be recognised.
  101.  
  102.  
  103.  
  104.          /?
  105.  
  106.          A  question  mark  placed anywhere in the argument list will cause
  107.          the program to display help screens with  information  on  correct
  108.          program usage.  There are two levels of help available.  The first
  109.          is  internal  to  BOARDS.EXE  and  gives  brief usage details. The
  110.          second level of help, giving fuller details of program  usage,  is
  111.          provided  by  a  file called BOARDS.HLP which should reside in the
  112.          current directory. This extended help is optional  and  BOARDS.HLP
  113.          may be deleted if desired.
  114.  
  115.  
  116.  
  117.          /Z number                                                 [ Zone ]
  118.  
  119.          Declares  the  FidoNet  Zone  you  wish  to  extract  the selected
  120.          region(s) from. Currently, Zone numbers range from 1 to 6.
  121.  
  122.               1 = North America            2 = Europe           3 = Oceania
  123.               4 = Latin America            5 = Africa           6 = Asia
  124.  
  125.                  Default:    Zone 2
  126.  
  127.                  Example:    BOARDS /Z 3
  128.  
  129.  
  130.  
  131.          /R number | *                                           [ Region ]
  132.  
  133.          Defines the FidoNet Region to extract from the NODELIST and  build
  134.          into  the  online  listing.  If,  instead  of  a Region number, an
  135.          asterisk is used then ALL regions from the selected Zone  will  be
  136.          extracted to individual listings (see /O argument).
  137.  
  138.                  Default:    Region 25
  139.  
  140.                  Example:    BOARDS /R 20  or: BOARDS /R *
  141.  
  142.  
  143.  
  144.  
  145.  
  146.          /N path                                               [ Nodelist ]
  147.  
  148.          Points to a disk directory containing an uncompressed copy of  the
  149.          FidoNet  Nodelist  (e.g  NODELIST.272).   To  ensure  the bulletin
  150.          boards listing is reasonably up to  date  -  BOARDS.EXE  will  not
  151.          process a FidoNet Nodelist that was issued more than 21 days prior
  152.          to  the  current system date.  Do not include a trailing backslash
  153.          '\' at the end of the path.
  154.  
  155.                  Default:    Current disk directory.
  156.  
  157.                  Example:    BOARDS /N C:\Opus\Nodes
  158.  
  159.  
  160.  
  161.          /O filespec                                        [ Output file ]
  162.  
  163.          Declares the full path and filename of the file to be created  for
  164.          display to users.
  165.  
  166.          If a complete Zone is being extracted (see /R argument)  then  the
  167.          root  of  the  filename  will  be discarded and a system generated
  168.          filename root used in its place. System generated  filenames  take
  169.          the  form  of  "Zx_Ryyy.ext"  - where 'x' is the Zone number being
  170.          processed and 'yyy' is the Region number being extracted.
  171.  
  172.                  Default:    BOARDS.BBS in the current disk directory.
  173.  
  174.                  Example:    BOARDS /O C:\Opus\Misc\Edtorial.bbs
  175.  
  176.  
  177.  
  178.          /X filespec                                          [ eXit file ]
  179.  
  180.          Declares  the  full path and filename of an OPUS Avatar file to be
  181.          displayed if the user terminates viewing  of  the  bulletin  board
  182.          listing.  The existence of any declared file is checked.  If it is
  183.          not located a warning will be given and the program will proceed.
  184.  
  185.          (Note: This option is only valid when used on an OPUS system.)
  186.  
  187.                  Default:    Exits to the calling menu.
  188.  
  189.                  Example:    BOARDS /X C:\Opus\Bulletin
  190.  
  191.  
  192.  
  193.          /H filespec                                        [ Header file ]
  194.  
  195.          The  full  path  and  filename  of  the file to be included in the
  196.          bulletin board listing for display prior to  the  actual  listing.
  197.          This  file  should  be  in  a  format  that is compatible with the
  198.          output file (see /F argument).  If the stated or default file does
  199.          not exist then the listing will be produced without a header and a
  200.          warning issued.  /H without any following  filespec  indicates  no
  201.          header is to be used.
  202.  
  203.  
  204.                  Default:    BOARDS.HDR in the current directory
  205.  
  206.                  Example:    BOARDS /H C:\Opus\Misc\Advert.bbs
  207.  
  208.  
  209.  
  210.          /S string:string                                    [ Substitute ]
  211.  
  212.          Carries  out  a  string  substitution  on  the  IDC (International
  213.          Dialing Code) section of a boards telephone number.  The string in
  214.          front of the colon is replaced by  the  string  after  the  colon.
  215.          Should  the  Region  you  choose  to  extract  be that of your own
  216.          country, the inclusion of the IDC for  that  country  may  confuse
  217.          local users who will attempt to dial the number including the IDC.
  218.          This  argument  enables the removal of the IDC and its replacement
  219.          with the local code.
  220.  
  221.                  Default:    44-:0  (Replaces UK IDC with normal UK prefix.)
  222.  
  223.                  Example:    BOARDS /S 44-:0
  224.  
  225.  
  226.  
  227.          /L string                                             [ Location ]
  228.  
  229.          Declares that the given country name be stripped from the end of a
  230.          boards  listed  location.   If the listing you produce is for your
  231.          own country then users will recognize the locations  as  being  in
  232.          their  own country and adding that information to the listing is a
  233.          bit superfluous. The test for the existence of the given string in
  234.          each  boards entry in the listing is case sensitive so an input of
  235.          'Norway' would not match 'NORWAY' or 'norway'.
  236.  
  237.                  Default:    UK
  238.  
  239.                  Example:    BOARDS /L Sweden
  240.  
  241.  
  242.  
  243.          /F number                                               [ Format ]
  244.  
  245.          Sets the display format of the output file to one of three styles.
  246.          The three styles selectable are:
  247.  
  248.                       0 = OPUS Avatar + IBM graphic characters
  249.                       1 = ANSI colour + IBM graphic characters
  250.                       2 = Plain ASCII text
  251.  
  252.                  Default:    0
  253.  
  254.                  Example:    BOARDS /F 2
  255.  
  256.  
  257.  
  258.          /P number                                           [ Pagination ]
  259.  
  260.          Sets the number of bulletin  boards  to  be  displayed  per  page.
  261.          Omitting  this argument causes default to the details of 16 boards
  262.          being displayed per page. Setting to a value of zero will  prevent
  263.          pagination  of  the  listing.  The  zero  setting is a good way of
  264.          getting rid of the OPUS specific 'More?' prompt and  letting  your
  265.          system handle pagination.
  266.  
  267.                  Default:    16
  268.  
  269.                  Example:    BOARDS /P 10
  270.  
  271.  
  272.  
  273.          /Qn                                                   [ Qwiksort ]
  274.  
  275.          Sorts  the  Bulletin  Board  listing  on one of the four displayed
  276.          fields.  By placing a minus sign in  front  of  the  field  number
  277.          (e.g. /Q-3 ) the direction of the sort will be reversed.
  278.  
  279.          /Q1 Sort the listing on the `Baud Rate' field.
  280.  
  281.          /Q2 Sort the listing on the `Board Name' field.
  282.  
  283.          /Q3  Sort the listing on the `Telephone Number' field.
  284.  
  285.          /Q4  Sort the listing on the `Location' field.
  286.  
  287.                  Default:    Sort by Location
  288.  
  289.                  Example:    BOARDS /Q4
  290.  
  291.  
  292.  
  293.          /M filespec                                                [ Map ]
  294.  
  295.          Creates  a MAP file for use by the companion program BOARDSMU. The
  296.          parameter 'filespec' is optional. If given, it declares  the  full
  297.          path  and  filename of the map file to be created. If omitted, the
  298.          file BOARDS.MAP will be created in the current directory.
  299.  
  300.          See the documentation to BOARDSMU.EXE for further details.
  301.  
  302.                  Default:    No map file produced
  303.  
  304.                  Example:    BOARDS /M C:\Opus\Menus\Reg25.map
  305.  
  306.  
  307.  
  308.          /K                                                        [ Keep ]
  309.  
  310.          BOARDS.EXE will, by default, not include in the listing any boards
  311.          that has the same telephone number  as  a  board  already  in  the
  312.          listing. Should you wish to keep all entries.. then including this
  313.          argument in the command line will prevent the  deletion  of  these
  314.          duplicate entries.
  315.  
  316.                  Default:    Delete duplicated entries
  317.  
  318.                  Example:    BOARDS /K
  319.  
  320.  
  321.  
  322.          /Cn                                                     [ Colour ]
  323.  
  324.          Sets the colour (range 0 - 15 ) to be used  for  sections  of  the
  325.          display  in  Avatar  and  ANSI  output.  All display is on a black
  326.          background.  Parameter values out of range will  revert  to  their
  327.          default values.  Possible colour values are:
  328.  
  329.                   Value      Colour                 Value     Colour
  330.                   ~~~~~      ~~~~~~                 ~~~~~     ~~~~~~
  331.                     0        use default colour       8       Grey
  332.                     1        Blue                     9       Light Blue
  333.                     2        Green                   10       Light Green
  334.                     3        Cyan                    11       Light Cyan
  335.                     4        Red                     12       Light Red
  336.                     5        Magenta                 13       Light Magenta
  337.                     6        Brown                   14       Yellow
  338.                     7        White                   15       Bright White
  339.  
  340.  
  341.          /C1 and /C2
  342.  
  343.          Each  boards  details  are  displayed  in  one  of two alternating
  344.          colours.  The parameters to arguments /C1 and /C2  set  these  two
  345.          colours.  The two colours may be the same if desired.
  346.  
  347.                  Default:    Light Green (10)  &  Light Magenta (13)
  348.  
  349.                  Example:    BOARDS /C1 12   /C2 14
  350.  
  351.  
  352.  
  353.          /C3
  354.  
  355.          To separate portions of the display.. lines are ruled  across  the
  356.          screen.   The parameter to this argument declares the colour to be
  357.          used for drawing these lines.
  358.  
  359.                  Default:    Bright White (15)
  360.  
  361.                  Example:    BOARDS /C3 4
  362.  
  363.  
  364.  
  365.          /C4
  366.  
  367.          Headings are displayed at the top of each page of the listing  for
  368.          each  column of bulletin board information.  The parameter to this
  369.          argument declares the colour to be used for these headings.
  370.  
  371.                  Default:    Yellow (14)
  372.  
  373.                  Example:    BOARDS /C4 4
  374.  
  375.  
  376.  
  377.  
  378.  
  379.          Exits and Errors
  380.          ~~~~~~~~~~~~~~~~
  381.  
  382.          BOARDS.EXE keeps a wary eye out for things going wrong during  its
  383.          operation.  If it spots anything  it will issue a message  and set
  384.          its exit errorlevel to one of the values listed below.  These  may
  385.          be tested for in a calling batch file and handled appropriately.
  386.  
  387.          The values and their meanings are:
  388.  
  389.  
  390.           0 - Great!!!   As  far  as  BOARDS.EXE  is aware, everything went
  391.               according to plan and the listing has been produced.
  392.  
  393.  
  394.           1 - Indicates  trouble  with  the  Nodelist.   Either a valid one
  395.               couldn't be found or it did not contain the selected Zone  or
  396.               Region. No listing is created.
  397.  
  398.  
  399.           2 - The  output  file  could  not be created.  Check any filespec
  400.               given to the /O argument. No listing is created.
  401.  
  402.  
  403.           3 - Major  trouble  was  found  getting hold of enough memory for
  404.               BOARDS.EXE to get itself going.  You shouldn't ever see  this
  405.               as  BOARDS.EXE is as frugal as possible with memory and would
  406.               rather bow out gracefully than  fail  with  this  error.   No
  407.               listing is created.
  408.  
  409.  
  410.           4 - BOARDS.EXE  was aborted from the console by the user pressing
  411.               Ctrl-C or Ctrl-Break.  No listing is created.
  412.  
  413.  
  414.           5 - A warning was issued by BOARDS.EXE which, although it  should
  415.               be  heeded, is not fatal to the programs operation.  Possible
  416.               things that may go wrong, and the programs response,  are  as
  417.               follows:
  418.  
  419.               Header  file  not located.  - Listing will be created without
  420.               use of a header file.
  421.  
  422.               Exit file not located.  - Listing will still include  a  call
  423.               for display of the exit file.  Unless you subsequently create
  424.               the declared  exit file  this call  will fail in use  and the
  425.               listing will exit to the calling menu.
  426.  
  427.  
  428.               Insufficient memory.        -  You shouldn't suffer this  one
  429.               unless you are being really stingy in buying memory chips. If
  430.               it  does  occur  then  BOARDS.EXE will process as much of the
  431.               listing as it can with  the  memory  available  to  it.   The
  432.               listing will be truncated but still valid.
  433.  
  434.  
  435.  
  436.  
  437.  
  438.          End Zone
  439.          ~~~~~~~~
  440.  
  441.          BOARDS.EXE is released as Zero Cost Software.  You can do what you
  442.          like  with  it  within  the  privacy of your own home.  You are at
  443.          liberty to distribute copies as long as no monetary charge is made
  444.          and the program and its documentation are not altered in any way.
  445.  
  446.          Any  problems  or  questions may be addressed to the author on the
  447.          bulletin board listed at the head of this documentation.
  448.  
  449.          You own and run copies of BOARDS.EXE entirely at your own risk. It
  450.          is  provided  `as is' and it is up to you to determine  whether to
  451.          let it anywhere near your beloved machine.
  452.  
  453.  
  454.  
  455.  
  456.