home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / EVENTS / CBVW172U.ZIP / CBV171.DOC < prev    next >
Text File  |  1994-01-01  |  46KB  |  1,112 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                    C B V
  8.  
  9.  
  10.               ┌──────────────────────────────────────────────┐
  11.               │▐▐▐▐▐▐▐▐▐▐· Call Back Verification ·▌▌▌▌▌▌▌▌▌▌│
  12.               └──────────────────────────────────────────────┘
  13.  
  14.                          ---=== Release 1.71 ===---
  15.  
  16.                       Copyright 1991,1993 Chris Holko.
  17.                        All Rights Reserved Worldwide.
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  (CBV171)
  26.  
  27.                 ┌─────────────────────────────────────────┐
  28.                 │▐▐▐▐▐▐▐▐▐▐· Table of Contents ·▌▌▌▌▌▌▌▌▌▌│
  29.                 └─────────────────────────────────────────┘
  30.  
  31.     WARRANTY                                                              1
  32.  
  33.     ACKNOWLEDGEMENTS                                                      1
  34.  
  35.     SHAREWARE DISTRIBUTION                                                2
  36.  
  37.     DISTRIBUTION FILE CONTENTS                                            3
  38.  
  39.     CBV
  40.      ├ Description                                                        4
  41.      ├─ Requirements                                                      .
  42.      ├── Restrictions                                                     .
  43.      │
  44.      ├ Support Files                                                      5
  45.      │  ├ CBVCFG.DAT                                                      .
  46.      │  ├─ CBVTRASH.DAT                                                   .
  47.      │  ├── CBVAREAC.DAT                                                  6
  48.      │  └─── CBVCALLS.DAT                                                 .
  49.      │
  50.      └ User Message Files                                                 7
  51.         ├ WELCOME.CBV                                                     .
  52.         ├─ PREPARE.CBV                                                    .
  53.         ├── PASSWORD.CBV                                                  .
  54.         ├─── NOLONGD.CBV                                                  .
  55.         ├──── LOCKOUT.CBV                                                 .
  56.         └───── VERIFIED.CBV                                               .
  57.  
  58.     CBV INSTALLATION
  59.      ├─ Files                                                             8
  60.      ├── Command Line                                                     .
  61.      ├─── CHAINEDIT                                                       .
  62.      └──── NEWUSER Event                                                  .
  63.  
  64.     CBV CONFIGURATION
  65.      ├ Main Menu                                                          9
  66.      ├─ Security Validation Menu                                         10
  67.      ├── Modified "userrec" Menu                                         11
  68.      ├─── Modem Menu                                                     12
  69.      ├──── Long Distance Menu                                            13
  70.      └───── Miscellaneous Menu                                           14
  71.  
  72.     APPENDICES
  73.      ├ A. Error Messages                                                 16
  74.      ├─ B. Session Control                                               19
  75.      ├── C. Contacting the author                                        20
  76.      ├─── D. User Restrictions                                           21
  77.      └──── E. CBVCFG.DAT layout                                          22
  78.  
  79.  (CBV171)  1
  80.  
  81.  
  82.                      ┌────────────────────────────────┐
  83.                      │▐▐▐▐▐▐▐▐▐▐· WARRANTY ·▌▌▌▌▌▌▌▌▌▌│
  84.                      └────────────────────────────────┘
  85.  
  86.  
  87.     CBV (Call-Back Verification) has NO WARRANTY.  Use of CBV,  and any
  88.     accompanying programs/files IS AT YOUR OWN RISK.  By your use of CBV
  89.     you agree to hold the author and parties directly or indirectly related
  90.     to the author faultless from the non-use,  use,  and/or misuse of CBV.
  91.  
  92.     CBV (CALL-BACK VERIFICATION) IS PROVIDED "AS-IS" AND WITHOUT WARRANTY,
  93.     IMPLIED OR OTHERWISE.
  94.  
  95.  
  96.  
  97.                  ┌────────────────────────────────────────┐
  98.                  │▐▐▐▐▐▐▐▐▐▐· ACKNOWLEDGEMENTS ·▌▌▌▌▌▌▌▌▌▌│
  99.                  └────────────────────────────────────────┘
  100.  
  101.  
  102.     References not otherwise documented.
  103.  
  104.     WWIV                     refers to World War Four Bulletin Board System
  105.     CBV                      refers to Call Back Verification Program
  106.     DOS                      refers to MS-DOS and/or PC-DOS
  107.  
  108.  
  109.     Copyright,  Trademark,  and Servicemark notices.
  110.  
  111.     WWIV                     Copyright (c) 1987-1992 by Wayne Bell.
  112.     Turbo Pascal             Copyright (c) 1982-1992 by Borland Int.
  113.  
  114.  
  115.  
  116.  (CBV171)  2
  117.  
  118.  
  119.               ┌──────────────────────────────────────────────┐
  120.               │▐▐▐▐▐▐▐▐▐▐· SHAREWARE DISTRIBUTION ·▌▌▌▌▌▌▌▌▌▌│
  121.               └──────────────────────────────────────────────┘
  122.  
  123.     Shareware is a unique method for the marketing of computer software.
  124.     Most of all the products are easily obtained from larger Bulletin Board
  125.     Systems worldwide.  The basis behind the workings of the Shareware
  126.     system is the HONOR system.  This means that the end user is free to
  127.     use the product for a limited trial period to see if suits their needs.
  128.     If the user continues to use the product after the trial period it is
  129.     expected of them to register the product with its author with any
  130.     stated fees,  this is to reimburse the author for both his time spent
  131.     in developing the product and to provide incentive to maintain and
  132.     update the product.
  133.  
  134.     You are free to test and use this program,  CBV,  to determine if it
  135.     suits your needs.  If you continue to use this program beyond thirty
  136.     (30) days complete the registration form (REGISTER.TXT) and mail it
  137.     with the registration fee to the address listed on the form.  Upon the
  138.     receipt of the completed registration form and fees you will be kept
  139.     advised on the status and availability of CBV,  granted use of the
  140.     registered version,  get timely support when needed,  and possible use
  141.     of beta and specialized versions of CBV.
  142.  
  143.  (CBV171)  3
  144.  
  145.  
  146.             ┌──────────────────────────────────────────────────┐
  147.             │▐▐▐▐▐▐▐▐▐▐· DISTRIBUTION FILE CONTENTS ·▌▌▌▌▌▌▌▌▌▌│
  148.             └──────────────────────────────────────────────────┘
  149.  
  150.     CBV is distributed as a complete package compressed into one archive
  151.     file.  The archive file of the UNREGISTERED version may be freely
  152.     distributed so long as no charge is required to obtain the package and
  153.     no modification to the distribution package is made.
  154.  
  155.     The naming convention the archive file is
  156.  
  157.     CBV?MMRT.AAA             AAA = Archiving method used.
  158.  
  159.                               MM = Major version number  ie. 14
  160.  
  161.                                R = Revision number       ie.  0
  162.  
  163.                                ? = BBS Package Supported
  164.                                    W = WWIV
  165.                                    R = Renegade
  166.  
  167.                                T = Release Type Specifier
  168.                                    U = UNREGISTERED
  169.                                    R = REGISTERED
  170.  
  171.      DISTRIBUTION OF REGISTERED, ALPHA, OR BETA VERSIONS IS PROHIBITED.
  172.  
  173.  
  174.      Take time to examine the contents of the archive file,  you will find
  175.      the following files with possibly a late text file addition.
  176.  
  177.  
  178.      [     ] CBV     .EXE    - The CBV program executable
  179.      [     ] CBVCFG  .EXE    - The CBVCFG program executable
  180.              CBVCFG  .DAT    - Sample CBV configuration file
  181.              CBVTRASH.DAT    - Sample CBV phone number trash file
  182.              CBVAREAC.DAT    - Sample Local Area Code(s) file
  183.              CBVTOLLS.DAT    - Sample Toll-Call File
  184.              CBVCALLS.DAT    - Sample Call-Only file
  185.  
  186.              CBVMENU .MOD    - Mod to run CBV from Main Menu
  187.  
  188.              AUTOCFG .C      - .C source for users of modified WWIV BBSes
  189.  
  190.              CBV171  .DOC    - This documentation
  191.              HISTORY!.DOC    - List of revisions made to CBV
  192.              READ    .ME     - Last minute updates / notices
  193.  
  194.              WELCOME .CBV    - Sample user welcome message
  195.              LOCKOUT .CBV    - Sample invalid/locked phone number message
  196.              NOLONGD .CBV    - Sample no long distance calls message
  197.              PREPARE .CBV    - Sample prepare for call back message
  198.              PASSWORD.CBV    - Sample enter password message
  199.              VERIFIED.CBV    - Sample account upgraded message
  200.              NOTOLLS .CBV    - Sample no toll calls message
  201.  
  202.              REGISTER.TXT    - REGISTRATION FORM FOR CBV.
  203.  
  204.  (CBV171)  4
  205.  
  206.  
  207.                        ┌───────────────────────────┐
  208.                        │▐▐▐▐▐▐▐▐▐▐· CBV ·▌▌▌▌▌▌▌▌▌▌│
  209.                        └───────────────────────────┘
  210.  
  211.  
  212.     ▐ Description
  213.  
  214.     CBV is a call back verification system designed for use with World War
  215.     Four Bulletin Board Systems.  It is intended to provide an easy way for
  216.     WWIV users to self validate themselves without direct System Operator
  217.     intervention.  CBV also enhances system security by recording the
  218.     complete phone numbers used for verification.  It can also be
  219.     configured to lockout troublesome users,  lockout specific area codes
  220.     and prefixes,  and prevent users from gaining multiple accounts.  CBV
  221.     can also be configured to offer long distance callers a customized
  222.     access level different from local callers.
  223.  
  224.     CBV has its own built in communication routines,  which auto-sense the
  225.     speed of the communication port,  and can be used with high speed
  226.     modems.  CBV also has built in safeguards to prevent accidental
  227.     corruption of system files.  If for any reason CBV should abort because
  228.     of internal errors it will provide and explanation of said reason both
  229.     on the local screen and the system log.  CBV uses direct DTR control to
  230.     disconnect callers and has an optional fall back option to use a modem
  231.     control string.
  232.  
  233.     CBV was coded entirely in Turbo Pascal,  features built in ANSI
  234.     interpetation,  WWIV-ANSI interpetation,  wordwrap,  and a System
  235.     Operator interface based upon WWIV.  CBV is comprised of approximately
  236.     3000 lines of code,  the configuration program about 1000 lines.
  237.  
  238.  
  239.     ▐▐ Requirements
  240.  
  241.     Basically if you can use WWIV on your system then you should be able to
  242.     run CBV.  All support files must be in the same directory with the CBV
  243.     executable.
  244.  
  245.  
  246.     ▐▐▐ Restrictions
  247.  
  248.     CBV can be adapted to any WWIV BBS using WWIV versions 4.10 and above
  249.     provided the following conditions are met.
  250.  
  251.      > The length of the NAME, PASSWORD, and NOTE fields cannot be changed.
  252.      > The size of SL, DSL, and EXEMPT must not be changed.
  253.      > The size of AR, DAR, and RESTRICT must not be changed.
  254.  
  255.     If you are running a modified version of WWIV where you have made
  256.     changes to the structure "userrec" you must compile the enclosed
  257.     source to DISPLAY.C with your modified source.  This will produce a
  258.     program which will display field offsets into your modified "userrec"
  259.     which are needed by the CBVCFG configuration program.
  260.  
  261.  (CBV171)  5
  262.  
  263.  
  264.     ▐▐▐▐ Support Files.
  265.  
  266.     CBV requires the following four data files to be present at all times.
  267.  
  268.     (CBVCFG.DAT)
  269.  
  270.     CBVCFG.DAT is the name of the CBV configuration file.  It is produced
  271.     by the program CBVCFG.EXE .  This file cannot be edited by a word
  272.     processor or standard editor as it is NOT ASCII.  No other program but
  273.     CBVCFG.EXE should be used to modify this file.  The layout of the
  274.     configuration file is detailed in APPENDIX F.
  275.  
  276.     (CBVTRASH.DAT)
  277.  
  278.     This is an ASCII file,  which can be edited using a ASCII file editor.
  279.     If you use a word processor to edit this file make sure it outputs as
  280.     ASCII.  This file contains the list of all INVALID area codes,
  281.     prefixes, arecode-prefixes,  and phone numbers.  CBV can optionally add
  282.     numbers to this file to prevent callers from gaining multiple user ids
  283.     on your system.
  284.  
  285.     Only one entry per line is permitted,  comments may be on the same line
  286.     as any number provided the comment begins with a semi-color ";".  All
  287.     entries must start at column one.
  288.  
  289.     Example CBVTRASH.DAT :
  290.  
  291.              1         2
  292.     123456789012345678901234567890
  293.  
  294.     900             ; We don't want to allow 900 calls
  295.     976             ; Neither do we want 976 calls
  296.     555             ; Directory assistance... NOT!
  297.     911             ; Emergency,  yeah,  like no access
  298.     404-555         ; Lockout of specific areacode-prefix
  299.     404-555-9999    ; Locked out number <- bad user?
  300.  
  301.     ---
  302.  
  303.     Basically there are certain numbers which should not be dialed,  and
  304.     certain numbers which are reserved for specialized purposes.  CBV also
  305.     prevents to the best of its ability users from entering invalid area
  306.     codes and prefixes.  This means no "1"s or "0"s as the first number
  307.     of an area code or prefix,  and only a "1" or "0" as the middle number
  308.     of the area code.  Also,  area codes and prefixes are supposed to
  309.     unique,  however this cannot be guaranteed so CBV will not enforce it.
  310.  
  311.  (CBV171)  6
  312.  
  313.  
  314.     ▐▐▐▐ Support Files  - Continued
  315.  
  316.     (CBVAREAC.DAT)
  317.  
  318.     This file contain a list of the areacodes that are *LOCAL* to your
  319.     BBS.  Only one entry per line is permitted,  and no comments are
  320.     allowed.  You can create or edit this file with an ASCII editor.
  321.     If you have CBV versions 1.40-1.45 installed then the config program
  322.     for CBV 1.50+ will automatically create this file for you.  You should
  323.     still check this file for validity of data.
  324.  
  325.     (CBVCALLS.DAT)
  326.  
  327.     This file contains the list of AREACODE-PREFIXES that you only want
  328.     CBV to call.  This file is only accessed if the CBVCFG.Miscellaneous
  329.     option "(E) - Use CBVCALLS.DAT Call Only File" is set to "YES".  Even
  330.     if set to no this file must exist,  the data contained within will
  331.     simply be ignored.  The file may be edited with an ASCII editor
  332.     following the rules set forth for the file "CBVTRASH.DAT".
  333.  
  334.     (CBVTOLLS.DAT)
  335.  
  336.     This file contains a list of AREACODE-PREFIXES that are toll calls from
  337.     your system.  TOLL calls are treated like other long-distance calls,
  338.     the call-back must be within the long-distance window,  and the CBVCFG
  339.     option "Allow TOLL calls" must be set on.  CBV checks the number entered
  340.     against this file to determine if it is a toll call.  This file follows
  341.     are similar format to "CBVTRASH.DAT",  however the numbers entered are
  342.     numbers known to be TOLL calls from the BBS.  This is mainly used to
  343.     screen in AREACODE toll calls that do not require a long distance access
  344.     code to call.
  345.  
  346.  (CBV171)  7
  347.  
  348.  
  349.     ▐▐▐▐▐ User Message Files.
  350.  
  351.     CBV requires that six message files exist before it will run.  These
  352.     files are displayed to the user as needed.  They are ASCII files and
  353.     rules for editing them are similar to the CBVTRASH.DAT file.  WWIV ANSI
  354.     codes may be used freely within these files,  however pure ANSI should
  355.     be avoided.  A sample of each file has been included with the archive
  356.     package.
  357.  
  358.  
  359.     (WELCOME .CBV)
  360.  
  361.     This file is displayed to the user before he enters any information.
  362.     It purpose is to explain what call back verification is for.  After
  363.     this file is displayed the program will ask the user if they wish to
  364.     continue.
  365.  
  366.     (PREPARE .CBV)
  367.  
  368.     This file is displayed to the user before the actual call back begins.
  369.     This is done immediately after the user has entered a number CBV has
  370.     judged to be valid.
  371.  
  372.     (PASSWORD.CBV)
  373.  
  374.     This file is displayed once CBV has reconnected with the user BUT
  375.     before they have entered their password.
  376.  
  377.     (NOTOLLS .CBV)
  378.  
  379.     This file is displayed if the user has entered a phone number matching one
  380.     listed in "CBVTOLLS.DAT" and the SysOp has configured CBV not to allow
  381.     them,  or if the long distance calling window is closed.
  382.  
  383.     (NOLONGD .CBV)
  384.  
  385.     This file is displayed if the user has entered a long distance phone
  386.     number and the SysOp has not configured CBV to allow them.  It will
  387.     also be displayed if the long distance calling window is closed.
  388.  
  389.     (LOCKOUT .CBV)
  390.  
  391.     This file will be displayed if the user enters a phone number in which
  392.     the area code,  prefix,  or whole number appears in the CBVTRASH.DAT
  393.     file.
  394.  
  395.     (VERIFIED.CBV)
  396.  
  397.     This file is displayed after the user has completed the verification
  398.     process,  just after correctly entering their password.  This is a good
  399.     method of describing what access they have,  and to inform long distance
  400.     callers that they will need to call back again.
  401.  
  402.     (CANTCALL.CBV)
  403.  
  404.     This file will be displayed if the option for "Check Call Only File" is
  405.     set to "Yes" and the user's AREACODE-PREFIX is not found in the
  406.     CBVCALLS.DAT file.
  407.  
  408.  (CBV171)  8
  409.  
  410.  
  411.                  ┌────────────────────────────────────────┐
  412.                  │▐▐▐▐▐▐▐▐▐▐· CBV INSTALLATION ·▌▌▌▌▌▌▌▌▌▌│
  413.                  └────────────────────────────────────────┘
  414.  
  415.     ▐ Files
  416.  
  417.     Extract all files contained within the archive file into the same
  418.     directory.  It is suggested that CBV be placed in its on sub-directory.
  419.     When running the program make sure to switch to the same directory as
  420.     where these files reside.
  421.  
  422.  
  423.     ▐▐ Command Line
  424.  
  425.     CBV requires the path/filename to the CHAIN.TXT be present on the
  426.     command line.  The path is not needed if the CHAIN.TXT file is in the
  427.     same directory as CBV.  CBV will abort if it cannot find this file or
  428.     if it cannot read it.
  429.  
  430.  
  431.     ▐▐▐ CHAINEDIT
  432.  
  433.     To make the door available to your users,  enter into CHAINEDIT either
  434.     by pressing "C" at the WFC or entering "//CHAINEDIT" at the main menu
  435.     prompt.  It is recommended that CBV be the first entry listed in your
  436.     online programs list.
  437.  
  438.     Example CHAINEDIT entry :
  439.  
  440.     Name           : "CALL BACK DOOR"
  441.     FileName       : "CALLBACK.BAT %1"
  442.     SL             : ??
  443.     AR             : ??
  444.     ANSI           : N/A
  445.     300 Baud       : N/A
  446.     Use DOS Intr.  : NO                   <- DOS INTR MUST BE TURNED OFF!
  447.     Shrink         : YES                  <- YOU MUST HAVE SHRINK ON!
  448.     Turn off pause : N/A
  449.  
  450.     "N/A" means that they have not effect on the operation of CBV.  If the
  451.     user does not want ANSI displays then CBV will strip ANSI as needed.
  452.     The option for pause is ignored by CBV.
  453.  
  454.     "??" means that these values are strictly your preference.
  455.  
  456.  
  457.     ▐▐▐▐ NEWUSER EVENT (4.23 ONLY)
  458.  
  459.     When installing CBV as the new user event in WWIV 4.23 use the following
  460.     line in INIT.
  461.  
  462.     CALLBACK.BAT %1 /NEWUSER
  463.  
  464.     The batch file used by CBV should pass both parameters to CBV.  Example:
  465.  
  466.     CD CBVDIR
  467.     CBV %1 %2
  468.  
  469.  (CBV171)  9
  470.  
  471.  
  472.                 ┌─────────────────────────────────────────┐
  473.                 │▐▐▐▐▐▐▐▐▐▐· CBV CONFIGURATION ·▌▌▌▌▌▌▌▌▌▌│
  474.                 └─────────────────────────────────────────┘
  475.  
  476.  
  477.  
  478.     You must run the configuration program before using CBV.  There are
  479.     many system dependant values which need to be altered to reflect your
  480.     system's configuration.  CBV has the ability to alter the user's SL,
  481.     DSL,  ARs,  DARs,  Exemptions,  and Restrictions.  Most of the fields
  482.     are self explanatory.  CBV does simple error checking,  and will not
  483.     correct values designed to cause problems.  CBVCFG is divided into five
  484.     sections,  main,  security,  userrec,  modem,  and long distance.
  485.  
  486.     The only difference between UNREGISTERED SHAREWARE versions and REGISTERED
  487.     versions is a 3 second shareware notification message sent to users.
  488.  
  489.     ▐ MAIN MENU
  490.  
  491.  
  492.       (A) `Goto Security Validation Menu         '
  493.       (B) `Goto Modified "userrec" Menu          '
  494.       (C) `Goto Modem Menu                       '
  495.       (D) `Goto Long Distance Menu               '
  496.       (E) `Goto Miscellaneous Menu               '
  497.  
  498.          The above options change to their respective menus.
  499.  
  500.       (F) `BBS Phone Number       (XXX)XXX-XXXX  '    {404-426-6426}
  501.  
  502.          Change this number to reflect your BBSes phone number.  This
  503.          is used only when CBV displays the example phone number entry.
  504.          It is reccommended you enter your BBS phone number into the
  505.          "CBVTRASH.DAT" file too.  (Well,  only other restriction)
  506.  
  507.       (G) `PATH to main BBS directory            '
  508.  
  509.          Enter the <drive\path> to your main BBS directory.  This is the
  510.          same directory where BBS.EXE resides.  If not properly set CBV
  511.          will be unable to locate the file "RESTORE.WWV" and will not be
  512.          able to determine if the BBS is running under SHRINK.
  513.  
  514.       (S) `Save Configuration and Quit           '
  515.  
  516.          Choose this option to save any changes you have made to your
  517.          configuration.  After saving the program will exit to the previous
  518.          task,  usually DOS.
  519.  
  520.       (X) `eXit without saving                   '
  521.  
  522.          Choose this option NOT to save any changes you have made to your
  523.          configuration.  This is good if you forgot something or changed
  524.          something inadvertently.
  525.  
  526.  (CBV171)  10
  527.  
  528.  
  529.     ▐▐ SECURITY
  530.  
  531.  
  532.       (A) `Maximum SL allowed to use CBV         '
  533.  
  534.          This option specifies the highest SL a user can have and still use
  535.          the call back verification program.
  536.  
  537.       (B) `Validated SL                          '    (   0 / 255 )
  538.       (C) `Validated DSL                         '    (   0 / 255 )
  539.  
  540.          These options specify the SL and DSL given to users who
  541.          sucessfully complete the call back verification.
  542.  
  543.       (D) `Validated AR                          '    { }
  544.       (E) `Validated DAR                         '    { }
  545.  
  546.          These options specify the AR and DAR flags given to users who
  547.          sucessfully complete the call back verification.  Press the letter
  548.          of the flag you wish to toggle on or off.  To exit the routine
  549.          without making changes press the Escape key,  otherwise press the
  550.          RETURN key to keep changes.  Valid keys are "ABCDEFGHIJKLMNOP".
  551.  
  552.       (F) `Validated Restrictions                '    { }
  553.  
  554.          This options controls which restrictions are active on callers who
  555.          sucessfully complete the call back verification.  Press the letter
  556.          of the restriction you wish to toggle on or off.  To exit the
  557.          routine without making changes press the Escape key,  otherwise
  558.          press the RETURN key to keep changes.   Valid keys are
  559.          "LCMA*PEVKNU".
  560.  
  561.       (G) `Validate Exemptions                   '    { }
  562.  
  563.          This option controls which exemptions a user gets once they
  564.          sucessfully complete the call back verification.  Press the number
  565.          of the restriction you wish to toggle on or off.  To exit the
  566.          routine without making changes press the Escape key,  otherwise
  567.          press RETURN to keep changes.  Valid keys are "1234".
  568.  
  569.       (H) - (M)  'LD Validated ......            '
  570.  
  571.          These options work identically to their above counterparts but
  572.          are given to callers who sucessfully complete call back
  573.          verification and are long distance from the BBS.  This includes
  574.          both callers long distance within and outside the local calling
  575.          areas.
  576.  
  577.       (Q) `Quit to Main Menu                     '
  578.  
  579.          This option will return you to the main menu.
  580.  
  581.  (CBV171)  11
  582.  
  583.  
  584.     ▐▐▐ USERREC
  585.  
  586.  
  587.     You only need to modify the values given in this section if you have
  588.     made changes to the size or layout of your user file.  CBV uses the
  589.     name and SL fields to make sure that it has the correct user,  it uses
  590.     the length field to see if the user file is of the correct length.  To
  591.     obtain the values necessary for this section you will need to compile
  592.     and run the program "DISPLAY.C" and write down the values it lists.
  593.  
  594.                                                                 [4.22]
  595.       (A) `Length of structure "userrec"        '    [ 700       1024]
  596.  
  597.         Enter the length of the your "userrec" structure.  The default
  598.         value is 700,  which is accurate for stock WWIV boards.
  599.                                                                [4.22]
  600.       (B) `Offset to "userrec.name"             '     [   0 ]  [   0]
  601.       (C) `Offset to "userrec.phone"            '     [  59 ]  [  59]
  602.       (D) `Offset to "userrec.passwd"           '     [  72 ]  [ 165]
  603.       (E) `Offset to "userrec.note"             '     [  99 ]  [ 192]
  604.       (F) `Offset to "userrec.sl"               '     [ 391 ]  [ 584]
  605.       (G) `Offset to "userrec.dsl"              '     [ 392 ]  [ 585]
  606.       (H) `Offset to "userrec.exempt"           '     [ 393 ]  [ 586]
  607.       (I) `Offset to "userrec.ar"               '     [ 444 ]  [ 706]
  608.       (J) `Offset to "userrec.dar"              '     [ 446 ]  [ 708]
  609.       (K) `Offset to "userrec.restrict"         '     [ 448 ]  [ 710]
  610.  
  611.         The above fields are the offsets from the beginning of the
  612.         structure "userrec" to the beginning of the field.  If any of these
  613.         is not correct possible corruption of the user file is possible.
  614.                                                                [4.22]
  615.       (L) `RESTORE.WWV - ACTSL offset           '     [   0 ]  [ 257]
  616.  
  617.         This one is very important.  If you are running WWIV versions 4.20a
  618.         you may have to modify the value here.  For all 4.20 versions the
  619.         value can be left at 0 or 265.  WWIV version 4.21 should be 267.
  620.         You can find out the exact value by examining the source file
  621.         SHRINK.C which comes as part of the WWIV source file.  Check the
  622.         procedure that writes RESTORE.WWV,  and if the variable ACTSL is
  623.         the last variable written leave this setting at 0,  else enter
  624.         its offset from the first value to be written.  Refer to the
  625.         program GETACTSL.EXE and its documentation.
  626.  
  627.       (M) `Configure using AUTOCBV.CFG          '
  628.  
  629.         Choose this option if you have compiled and run AUTOCFG.C.  It will
  630.         auto-enter entries A-K.  If the file is not found it will beep
  631.         when chosen and "(NOT FOUND)" will be displayed next to the entry.
  632.  
  633.       (Q) `Quit to Main Menu                    '
  634.  
  635.          This option will return you to the main menu.
  636.  
  637.  (CBV171)  12
  638.  
  639.  
  640.     ▐▐▐▐ MODEM
  641.  
  642.  
  643.       (A) `Seconds to delay from hangup to callback'    (  1 / 59 )
  644.  
  645.          This is the time CBV will wait from sucessful disconnection before
  646.          attempting to make the call back.  This default value is "3"
  647.          seconds,  and rarely should it ever be increased beyond 10.
  648.  
  649.       (B) `Seconds to keep DTR lowered for hangup  '    (  1 / 59 )
  650.  
  651.          This is the time CBV will keep DTR "Data Transmit Ready" lowered.
  652.          This is the primary method CBV uses to disconnect a caller.  This
  653.          may need adjustment if your modem in unusually slow to react to
  654.          changes in DTR settings.  The default setting is "2" seconds.
  655.  
  656.       (C) `Perform CTS-RTS flow control            '     ( yes / NO )
  657.  
  658.          Set this to "YES" if you are using a high speed modem where you
  659.          have the communications port locked to a specified speed.
  660.          Normally CBV simply uses XON/XOFF checking,  but high speed modems
  661.          normally use this method to control when it is okay to transmit
  662.          characters.
  663.  
  664.       (D) `Command to use for dialing              '     ( ATDT )
  665.  
  666.          Enter the command your modem uses to DIAL.  You may use the tilde
  667.          character "~" for half-second delays.
  668.  
  669.       (E) `Command to use to hangup                '     ( +++~~~ATH0 )
  670.  
  671.          Normally CBV uses direct DTR control to disconnect the user,
  672.          however some modems fail to respond to DTR control.  This option
  673.          allows you to specify the command required to hangup your modem.
  674.          You may use the tilde character "~" for half-second delays.
  675.  
  676.       (Q) `Quit to Main Menu                    '
  677.  
  678.          This option will return you to the main menu.
  679.  
  680.  (CBV171)  13
  681.  
  682.  
  683.     ▐▐▐▐▐ LONG DISTANCE
  684.  
  685.  
  686.       (A) `Perform In-AREAC LD Validation        '    ( yes / {NO} )
  687.  
  688.          Set this option to "YES" if you want CBV to verify callers who are
  689.          long distance from the BBS but within the local area code(s).
  690.          Caller will be disconnected to avoid unnecessary expense.
  691.  
  692.       (B) `Perform Out of AREAC LD Validation    '    ( yes / {NO} )
  693.  
  694.          Set this option to "YES" if you want CBV to verify caller who are
  695.          long distance from the BBS and outside the local area code(s).
  696.          Caller will be disconnected to avoid unnecessary expense.
  697.  
  698.       (C) `LD Validation WINDOW begins at        '    ( 00:00 )
  699.       (D) `LD Validation WINDOW ends at          '    ( 00:00 )
  700.  
  701.          These two options if set control when CBV can make long distance
  702.          call back verifications.  They have no effect if option "A" is set
  703.          to NO.  The values are entered in military format,  "00:00" to
  704.          "24:00".  To leave the value unchanged press the Escape key else
  705.          press ENTER or complete the time field.
  706.  
  707.       (F) `Long Distance ACCESS Code             '    ( "1-" )
  708.  
  709.          Important,  normally most long distance calls are performed by
  710.          prepending a "1-" to the phone number.  There are some types of
  711.          long distance services that require some type of special code to
  712.          use them.  If you belong to one of these services then enter that
  713.          code here else leave it set to "1-".
  714.  
  715.       (Q) `Quit to Main Menu                    '
  716.  
  717.          This option will return you to the main menu.
  718.  
  719.  (CBV171)  14
  720.  
  721.  
  722.     ▐▐▐▐▐▐ MISCELLANEOUS
  723.  
  724.  
  725.       (A) `Using WWIV version 4.20+              '    ( yes or NO )
  726.  
  727.          Set this to "YES" if you are using WWIV versions 4.20 or greater,
  728.          otherwise the user's SL will not be properly updated.
  729.  
  730.       (B) `Compare phone numbers (logon/entry)   '    ( yes or NO )
  731.  
  732.          Set this to "YES" if you want CBV to notify you in the current
  733.          SysOp log if the number used by the user for verification was
  734.          different from the one they entered when initially logging onto
  735.          the BBS.  If also using option C (below) the number placed in
  736.          the note field will be preceeded by "****".  The user will also
  737.          be queried for the reason of the difference.  If you are using
  738.          free-form phone numbers this may not work correctly.
  739.  
  740.       (C) `Place phone numbers in "userrec.note" '    ( yes or NO )
  741.  
  742.          Set this to "YES" if you want CBV to place the verification phone
  743.          number into the user's note field.
  744.  
  745.       (D) `Auto-Update "CBVTRASH.DAT" file.      '    ( yes or {NO} )
  746.  
  747.          Set this to "YES" if you want CBV to place the verification phone
  748.          number into the trash file.  This can be used to automatically
  749.          prevent users from obtaining mulitple accounts via CBV.
  750.  
  751.       (E) `Use "CBVCALLS.DAT" Call Only File     '    ( yes or NO )
  752.  
  753.          Normally CBV determines if a call is long-distance by either
  754.          comparing the areacode entered by the user to the entries in the
  755.          "CBVAREAC.DAT" file or by asking the user.  This helps prevents
  756.          incurring unnecessary expense.  This option is ignored when call
  757.          is determined to be out of areacode long distance.
  758.  
  759.          If this option is also set CBV will check to see if the
  760.          AREACODE-PREFIX combination exist in the Call Only File,  if not
  761.          the user will be shown the "CANTCALL.CBV" message.  This can be
  762.          used to insure that calls are made only to certain AREACODE-PREFIX
  763.          combinations.  Please note,  if the AREACODE-PREFIX combination
  764.          does not exist in the "CBVCALLS.DAT" file and this option is turned
  765.          on only those numbers matching will be called.
  766.  
  767.          If you wish to simply lockout AREACODE-PREFIX combinations then
  768.          make the entry into the "CBVTRASH.DAT" file.
  769.  
  770.  
  771.  (CBV171)  15
  772.  
  773.  
  774.     ▐▐▐▐▐▐ MISCELLANEOUS - Continued
  775.  
  776.  
  777.       (F) `Hangup after ALL verifications        '    ( yes or NO )
  778.  
  779.          If set to YES after any successful verification the caller will be
  780.          disconnected.  You should inform the caller about this in one of
  781.          the user messages,  preferably in "VERIFIED.CBV".
  782.  
  783.  
  784.       (G) `Perform DIRECT Screen Writes          '    ( yes or NO )
  785.  
  786.          Some multi-tasking operating systems lockup when programs write
  787.          directly to the screen,  leaving this option set to "NO" can
  788.          alleviate this problem.  Setting this option to "YES" will however
  789.          greatly increase local screen updates.
  790.  
  791.       (H) `Operate in QUITE mode                 '    ( yes or NO )
  792.  
  793.          If "YES" CBV will not beep on the local console UNLESS there is
  794.          a fatal error or warning.  CBV normally sounds a "bell" whenever
  795.          the user makes invalid character entries,  this option when turned
  796.          on will filter the "bells" from the local console.
  797.  
  798.       (I) `Number of attempts to call back       '    ( { 1 } / 10 )
  799.  
  800.          This setting controls how many times CBV will attempt to call back
  801.          the user in one session.
  802.  
  803.       (J) `Minimum time granted in CBV (min)     '    (  0    / 20 )
  804.  
  805.          This option can be used to make sure a user has a minimum amount
  806.          of time to complete the verification process.  If set to 0 then
  807.          the user will simply have their normal timeleft as defined by
  808.          the BBS,  if set to any other value other than 0 then the users
  809.          time will be increased to that value but never decreased.  Please
  810.          note that when the user exits the verification process that this
  811.          option will not change the BBS defined timeleft.
  812.  
  813.       (K) `Time allowed between keystrokes (sec) '    (  180  / 600 )
  814.  
  815.          This option is used to define the remote/local keyboard timeout.
  816.          The minimum value is 90 seconds.  This can be changed to suit
  817.          the needs of your users.  If a character is not received either
  818.          from the modem or local keyboard within the specified number of
  819.          seconds since the lastone the user will be returned to the BBS.
  820.  
  821.       (Q) `Quit to Main Menu                    '
  822.  
  823.          This option will return you to the main menu.
  824.  
  825.  
  826.  (CBV171)  16
  827.  
  828.  
  829.                     ┌──────────────────────────────────┐
  830.                     │▐▐▐▐▐▐▐▐▐▐· APPENDICES ·▌▌▌▌▌▌▌▌▌▌│
  831.                     └──────────────────────────────────┘
  832.  
  833.  
  834.     ▐ A. ERROR MESSAGES
  835.  
  836.  
  837.     CBV when properly setup should not error.  However not everything goes
  838.     right and CBV was written to take this into account.  There are two
  839.     types of errors,  FATAL and NOTICE.
  840.  
  841.     FATAL errors are just what you expect,  errors that in some way prevent
  842.     CBV from continuing.  Usually these are caused by improper installation
  843.     and/or configuration of the program.
  844.  
  845.     NOTICEs occur when CBV encounters something which the System Operator
  846.     should be made aware of.  These usually involve problems with the user,
  847.     like being locked out or not wishing to use the door.
  848.  
  849.  
  850.     FATAL ERRORS :
  851.  
  852.      1> CHAIN.TXT PATH/FILENAME NOT FOUND ON COMMAND LINE.
  853.  
  854.        a) Verify that the %1 was entered as part of the filename
  855.           specification in CHAINEDIT.
  856.  
  857.        b) If using a batch file to run CBV verify that actual call of CBV
  858.           uses the DOS SUBSITUTION variable %1.
  859.  
  860.      2> UNABLE TO FIND FILE "filename.ext".
  861.  
  862.        a) This error should only occur when CBV is executed from a batch
  863.           file that specifies the path/filename to CHAIN.TXT and that
  864.           specification is incorrect.
  865.  
  866.      3> ERROR READING FILE "filename.ext".
  867.  
  868.        a) Verify that the CHAIN.TXT file is not corrupted,  or that the
  869.           file specified as being CHAIN.TXT really is.
  870.  
  871.      4> CONFIG FILE NOT FOUND.
  872.  
  873.        a) If executing CBV from a batch file make sure that you switch to
  874.           the proper directory.
  875.        b) Run CBVCFG to create the config file.
  876.  
  877.      5> UNABLE TO READ CONFIG FILE.
  878.  
  879.        a) Check to see if the config file is corrupted.  If it is then
  880.           delete it and rerun CBVCFG.
  881.  
  882.  (CBV171)  17
  883.  
  884.  
  885.     ▐ A. ERROR MESSAGES - Continued
  886.  
  887.  
  888.      6> CONFIG FILE NOT CORRECT FOR THIS VERSION.
  889.  
  890.        a) Delete the configuration file and run the configuration program
  891.           included within this package.
  892.  
  893.      7> FAILED TO INITIALIZE COMMUNICATIONS MODULE.
  894.  
  895.        a) Verify that the communications port passed in CHAIN.TXT is
  896.           correct.  If it is and you still receive this error then there is
  897.           a hardware incompatibilty and little can be done.
  898.  
  899.      8> CANNOT FIND FILE *.CBV.  (where * = paticular user message file)
  900.  
  901.        a) If executing CBV from a batch file make sure that you switch to
  902.           the proper directory.
  903.        b) Recreate the proper user message file.
  904.  
  905.      9> CANNOT FIND FILE CBVTRASH.DAT
  906.  
  907.        a) as per error #8
  908.  
  909.     10> COULD NOT OPEN USER FILE.
  910.  
  911.        a) CBV obtains the path/filename for the file USER.LST by reading
  912.           the DATA pathname from CHAIN.TXT.  Check to be sure that the
  913.           value for the data path in CHAIN.TXT is correct.  (Line 17)
  914.  
  915.     11> ERROR IN SIZE OF USER FILE.
  916.  
  917.        a) This will occur if filesize of the file USER.LST is not evenly
  918.           divisable by size of the userrec in the configuration.  If you
  919.           have modified your systems userrec you must compile and run the
  920.           DISPLAY.C program included with the CBV archive file.
  921.  
  922.     12> USER FILE ACCESS FAILED,  USER NAME MISMATCH
  923.        a) This will occur if the value entered for "userrec.name" offset is
  924.           incorrect.  Compile DISPLAY.C with your current source code and
  925.           then run the program and write down the values it lists.  Make
  926.           sure that these are the same as in CBVCFG menu USERREC.
  927.  
  928.     13> USER FILE ACCESS FAILED,  USER SL MISMATCH
  929.        a) Same as #12 but in reference to "userrec.sl".
  930.  
  931.     14> UNABLE TO LOCATE RESTORE.WWV - (MUST USE SHRINK)
  932.  
  933.        a) Make sure your CHAINEDIT has SHRINK set to "YES" or "ON".
  934.        b) Make sure the CBVCFG entry for Main BBS Directory is correct.
  935.  
  936.  (CBV171)  18
  937.  
  938.  
  939.     ▐ A. ERROR MESSAGES - Continued
  940.  
  941.  
  942.     NOTICE ERRORS :
  943.  
  944.      1> CALLER'S SECURITY LEVEL IS TO HIGH TO USE CBV.
  945.  
  946.        a) Simple,  The caller's SL is higher than the CBVCFG option for
  947.           maximum SL allowed to use program.
  948.  
  949.      2> COULD NOT RECONNECT,  CBV FAILED.
  950.  
  951.        a) This is reported whenever CBV attempts call back and cannot
  952.           reestablish the link.
  953.  
  954.     There are other notices that CBV will output,  most of all will appear
  955.     in the current SysOp log.  Most of these notices are just for
  956.     informational purposes,  there is usually no corrective action needed.
  957.  
  958.  (CBV171)  19
  959.  
  960.  
  961.     ▐▐ B. SESSION CONTROL
  962.  
  963.  
  964.     CBV has a SysOp interface loosely based upon WWIV SysOp controls.
  965.     They are available through all parts of CBV EXCEPT during the actual
  966.     call back attempt.  During that time CBV will not update the status
  967.     line nor will it respond to local key presses.
  968.  
  969.     The status line appears at the bottom of the local display,  it is
  970.     routinely updated throughout the duration of the session.  It is
  971.     divided into five sections.   The first part displays the user's user
  972.     number on the system,  the second part displays their name.  Section
  973.     three displays the current communication parameters to include the
  974.     current communications port and whether or not flow control is being
  975.     used.  The last to sections display time used and time left.
  976.  
  977.     The following keyboard commands are available during the session.
  978.  
  979.     F5 = Hangup.        - disconnects user from BBS
  980.     F7 = Decrease Time  - lowers timeleft by 180 seconds
  981.     F8 = Increase Time  - raises timeleft by 180 seconds
  982.  
  983.  (CBV171)  20
  984.  
  985.  
  986.     ▐▐▐ C. CONTACTING THE AUTHOR
  987.  
  988.  
  989.     Comments,  suggestions,  questions,  and problems can be sent to the
  990.     author using the following methods.
  991.  
  992.     U.S. Mail        (the slowest)
  993.  
  994.     Mr. Chris Holko
  995.     4593 Old Stilesboro Road
  996.     Acworth, Georgia 30101-4002
  997.  
  998.     WWIVNet
  999.  
  1000.     E-Mail #1@4433 from any WWIVNet BBS.
  1001.            #1@4433 from any ICENet BBS.
  1002.  
  1003.     BBS
  1004.  
  1005.     PastPresnet     WWIV  (Reg #11238)
  1006.     (404)917-1084
  1007.     PcPursuit via GAATL
  1008.     1200-14400/MNP5        (v32/v32bis/v42/v42bis)
  1009.     340 MB Online Storage
  1010.  
  1011.     E-Mail #1 "Chris"
  1012.  
  1013.  
  1014.     REGISTRATION forms must be sent via U.S. Mail.
  1015.  
  1016.  
  1017.  (CBV171)  21
  1018.  
  1019.  
  1020.     ▐▐▐▐ D. USER RESTRICTIONS
  1021.  
  1022.  
  1023.     The following is a list of restrictions that can be placed on users of
  1024.     WWIV BBSes.  This is provided so that you may accurately alter values
  1025.     entered in the CBVCFG Security Validation Menu.
  1026.  
  1027.     Restriction         - Description
  1028.  
  1029.     A - Automessage     The caller cannot change the automessage.
  1030.     C - Chat            Caller won't be able to request chats with you.
  1031.     E - E-Mail          The caller cannot send e-mail.
  1032.     L - Logons          Limits the caller to 1 logon per day.
  1033.     N - WWIVnet         The caller cannot use WWIVnet on your board.
  1034.     P - Posts           The caller cannot post messages.
  1035.     V - Voting          The caller is not permitted to vote.
  1036.     * - Anonymous       The caller cannot post anonymously.
  1037.     M - Messages        Posts by the caller will not be accessible by your
  1038.                          other callers until either yourself or a co-sysop
  1039.                          have read and approved the message for public
  1040.                          viewing.
  1041.  
  1042.  
  1043.     Exemption           - Description
  1044.  
  1045.       1                 Exempt from file ratio
  1046.       2                 Exempt from time  (not sure)
  1047.       3                 Exempt from all   (unknown)
  1048.       4                 Exempt from post/call ratio
  1049.  
  1050.  (CBV171)  22
  1051.  
  1052.  
  1053.     ▐▐▐▐▐ E. CBVCFG.DAT LAYOUT
  1054.  
  1055.  
  1056.     This structure of CBVCFG.DAT is provided for informational purposes
  1057.     only,  it should not be modified except by the CBVCFG program.
  1058.  
  1059.     ConfigRec           = RECORD
  1060.       header            : STRING[15];
  1061.       use_note_field,                  (* place number in note field      *)
  1062.       compare_fons,                    (* compare userrec.phone 2 entry?? *)
  1063.       update_trash,                    (* auto-update trash file          *)
  1064.       allow_ld,                        (* allow in-areac ld calls         *)
  1065.       allow_out_ld,                    (* allow out of areac ld calls     *)
  1066.       CTS_RTS,                         (* perform CTS/RTS checking        *)
  1067.       hangup_after,                    (* hangup after all verifications  *)
  1068.       wwiv_421,                        (* using wwiv 4.20a and above      *)
  1069.       use_callfile,                    (* CANCALL.DAT - ac-pr to only call*)
  1070.       direct_write,                    (* perform non-bios screen updates *)
  1071.       tbool1,tbool2     : BOOLEAN;
  1072.       retry_attempts,                  (* call back attempts per session  *)
  1073.       delay_time,                      (* delay between hangup/callback   *)
  1074.       drop_delay,                      (* delay to keep DTR lowered       *)
  1075.       min_time,                        (* min time granted for door use   *)
  1076.       hang_time,                       (* no entry hangup time            *)
  1077.       max_SL,                          (* max sl to use door              *)
  1078.       LC_SL,                           (* New SL when validated           *)
  1079.       LC_DSL,                          (* New DSL when validated          *)
  1080.       LC_exempt,                       (* New Exempt when validated       *)
  1081.       LD_SL,                           (* New SL when Long-Dist validated *)
  1082.       LD_DSL,                          (* New DSL when Long-Dist validated*)
  1083.       LD_exempt        : BYTE;         (* New Exempt when LD validated    *)
  1084.       IRQLevel,                        (* not used                        *)
  1085.       LC_AR,                           (* ARs when validated              *)
  1086.       LC_DAR,                          (* DARs when validated             *)
  1087.       LC_REST,                         (* Restrictions when validated     *)
  1088.       LD_AR,                           (* LD ARs when validated           *)
  1089.       LD_DAR,                          (* LD DARs when validated          *)
  1090.       LD_REST          : WORD;         (* LD Restrictions when validated  *)
  1091.       bbs_areac,bbs_prefix,
  1092.       bbs_suffix       : STRING[4];    (* BBS phone number                *)
  1093.       LD_PREFIX        : STRING[20];   (* 1- or whatever                  *)
  1094.       dialcommand,                     (* command to dial on modem        *)
  1095.       hangupcmd        : STRING[30];   (* command to hangup the modem     *)
  1096.       bbsdirectory     : STRING[60];   (* path to main BBS directory      *)
  1097.       loc_actsl,                       (* byte location in restore.wwv    *)
  1098.       userreclen,                      (* lenght of structure userrec     *)
  1099.       offset_name,                     (* offset for name field           *)
  1100.       offset_phone,offset_passwd,
  1101.       offset_note,offset_sl,
  1102.       offset_dsl,offset_exempt,
  1103.       offset_ar,offset_dar,
  1104.       offset_rest      : WORD;
  1105.       version1,version2,               (* version checking - 2 flags      *)
  1106.       LastDate,                        (* NOT USED                        *)
  1107.       LD_WIN_START,                    (* seconds since midnight timing   *)
  1108.       LD_WIN_STOP      : LONGINT;      (* for ld window                   *)
  1109.     END;
  1110.  
  1111.  
  1112.