home *** CD-ROM | disk | FTP | other *** search
/ The CIA World Factbook 1992 / k3bimage.iso / sel / 02 / 0003 / aviewcom.doc < prev    next >
Encoding:
Text File  |  1991-12-02  |  33.4 KB  |  737 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.       _____________________________________________________________________
  9.  
  10.                 AViewCom.Exe    Version 3.9d, 4.5d   10/01/90
  11.  
  12.                    Archive View to Console and Com port
  13.  
  14.              CopyRight (C) 1989, 1990 by Cygnus Data Systems
  15.                            Daniel A. Durbin
  16.       _____________________________________________________________________
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.         Contents
  26.         --------
  27.                 Description ........................ 2
  28.                 Operation .......................... 2
  29.                 SysOp Commands ..................... 3
  30.                 OnLIne Commands .....................4
  31.                 Files .............................. 5
  32.                 Setup .............................. 6
  33.                 Syntax ............................. 7
  34.                 AVIEWCOM /C (create CALLINFO.BBS)... 11
  35.                 AVIEWCOM /S (Setup Menu)............ 11
  36.                 AVIEWCOM /U (User Update)........... 12
  37.                 Command Priority ................... 13
  38.                 Display Files .......................13
  39.                 Configuration File ................. 14
  40.                 Exit Codes ......................... 15
  41.                 Credits and Acknowledgements ....... 15
  42.                 Disclaimer ......................... 16
  43.                 Bugs ............................... 16
  44.                 Future ............................. 16
  45.  
  46.         AViewCom                        1
  47.  
  48.         DESCRIPTION
  49.         -----------
  50.  
  51.         AViewCom was inspired by the ArcView function in Perspective
  52.         Data Systems by Carey Nash.  Although the code for AViewCom
  53.         is completely my own, most of what I know about C was learned
  54.         through modifying the source code for Perspective.
  55.  
  56.         AViewCom allows BBS callers to view archive contents, read
  57.         ASCII files within archives, and download any file from within an
  58.         archive.  Callers may also create a temporary archive containing
  59.         any number of files from the original archive.  AViewCom supports
  60.         .arc, .pak, .zip, .zoo, .lzh, and some .exe and .com archives.
  61.  
  62.         AViewCom is written specifically with WildCat BBS in mind since
  63.         WildCat has a [V]iew Archive file function in the files menu which
  64.         makes a call to an external arcview program and passes the caller's
  65.         specified filename to VIEWCOMP.BAT as a DOS parameter %1.  However,
  66.         AViewCom may be used with other BBS's since if no filename is
  67.         specified, AViewCom will prompt the caller for the full pathname to
  68.         the archive file.  A configuration file may be used to specify
  69.         directories to be searched for the file.
  70.  
  71.         OPERATION
  72.         ---------
  73.  
  74.         AViewCom may be run directly from the command line.  Simply specify
  75.         the full pathname to the archive to be viewed.  You should try this
  76.         before adding AViewCom to your BBS.  The screen will clear and prompt
  77.         you for ANSI display.  After answering, the contents of the archive
  78.         will be displayed, and a command line prompt will appear.
  79.  
  80.         Then try adding it to your BBS.  If you're using WildCat, modify
  81.         your VIEWCOMP.BAT file to read:  AVIEWCOM %1 COM1.  Once you're sure
  82.         this is working okay, you may add other options, such as reading
  83.         caller information from the CALLINFO.BBS, a file which may be created
  84.         with AVIEWCOM /C.  Add the command AVIEWCOM /C to your VIEWCOMP.BAT
  85.         file before it calls AViewCom and include the '-w' parameter on the
  86.         AViewCom command line.  For example:
  87.  
  88.                 AVIEWCOM /C
  89.                 AVIEWCOM %1 COM1 -W
  90.  
  91.  
  92.         AViewCom                        2
  93.  
  94.  
  95.         Notice that case is not significant in command line parameters.
  96.         Once all this is working, you may wish to further review
  97.         the other options that are available as specified in the SETUP
  98.         section of this documentation.  If you have any trouble, start with
  99.         things as simple as possible.  Then add options one at a time and
  100.         verify that each is working properly.  Also, take time to read all
  101.         options and review all files included in this archive package.
  102.  
  103.         Review the files included and delete ALL that are not
  104.         applicable to your configuration.  Most WildCat systems can use the
  105.         VIEWCOMP.BAT file included.  Review the syntax listed below to
  106.         select options for your system.  You may choose to specify all
  107.         options on the command line, OR use AVIEWCOM /S, OR specify them
  108.         in the AVIEWCOM.CNF file, whichever is most comfortable for you to
  109.         use.  However, if you use the command line for specifying options,
  110.         please delete the .CFG and .CNF files to reduce confusion.  If you
  111.         use either the .CFG or .CNF file, do not use the command line
  112.         options.
  113.  
  114.         SysOp COMMANDS
  115.         --------------
  116.  
  117.         These commands are available ONLY in the registered version.
  118.         The SysOp commands are read directly from the keyboard and
  119.         are NOT accessible to the caller online.  There is no
  120.         possibility of the caller being able to drop to DOS.
  121.  
  122.         While the user is online, the following commands are
  123.         available to the SysOp.  I will add any other commands you
  124.         may desire - just make the suggestion!
  125.  
  126.         UP arrow          add 1 minute to user's time.
  127.         DOWN arrow        subtract 1 minute from user's time.
  128.         PG-UP             add 5 minutes to user's time.
  129.         PG-DOWN           subtract 5 minutes from user's time.
  130.         ALT-D             drop to DOS.
  131.         ALT-C             chat with user
  132.         ALT-Q             goodbye to user (terminate aviewcom session)
  133.         ALT-G             Drop DTR and HANGUP on user!
  134.  
  135.         The user time adjustment does not carry through to WildCat
  136.         when the user returns to the BBS.  This may change in the future.
  137.  
  138.         AViewCom                        3
  139.  
  140.  
  141.         ONLINE COMMANDS
  142.         ---------------
  143.  
  144.         AViewCom displays the contents of archives in the following format.
  145.  
  146.   #  FileName      Stowage   UnZIP Sz  ZIP Size  Pct  Date      Time   CRC 
  147. ═══  ════════════  ════════  ════════  ════════  ═══  ════════  ═════  ════
  148.   1  aviewcom.cnf  Implode       1713      1006  42%  12/04/89  19:21  DE6C3024
  149.   2  aviewcom.hlp  Implode       1196       646  46%  12/04/89  19:21  5CBD530E
  150.   3  viewcomp.bat  Implode        970       625  36%  07/13/90  18:59  78996873
  151.   4  aviewdsz.bat  Implode        497       380  24%  12/04/89  19:21  C4D82A2B
  152.   5  digifone.txt  Implode       3260      1489  55%  01/27/90  18:07  C2CA5418
  153.   6  aviewcom.doc  Implode      30467      9558  69%  09/29/90  21:52  2B808774
  154.   7  aviewcom.exe  Implode      81152     40520  51%  09/29/90  22:41  9186AADF
  155.   8  whatsup.doc   Implode       2218      1244  44%  09/28/90  16:31  FD37CFD3
  156.   9  register.msg  Implode       1897      1068  44%  03/04/90  13:36  DCEAF6C6
  157.  10  av-pif.dvp    Implode        416       126  70%  07/13/90  19:23  A3D5C9F9
  158.  11  aviewcom.hst  Implode       8561      2629  70%  09/29/90  22:46  42810BAD
  159.  12  aviewcom.bye  Stored          50        50   0%  09/29/90  21:52  FFCA0810
  160. ───  ────────────            ────────  ────────  ───
  161.  12  File(s)       ZIP Total   132397     59341  56%
  162.  
  163. Enter [filename] or [#] to read, [D]ownLoad, [M]ark, [V]iew, [L]ist, or [H]elp
  164. [ # [filename] D M V L H [Return] to Quit]?
  165.  
  166.         The viewer is then presented with the above command prompt.
  167.         The viewer may enter the filename as it appears in the view
  168.         listing, or may enter the number associated with the filename
  169.         (shown on the very left of the listing).  
  170.  
  171.         [filename]      full filename of the file to view
  172.         D               download a file or marked files from the archive
  173.         M               mark a file
  174.         V               re-View the archive showing detailed information
  175.         L               list filenames, dates, and marked status
  176.         H               display AVIEWCOM.HLP
  177.         [Return]        terminate AViewCom session
  178.  
  179.         Not shown is the S command.  This command displays the user's
  180.         "Statistics".  This command is provided to check that AViewCom
  181.         has properly read the user's information from USERFILE.DAT
  182.         and system information from CONFIGWC.BBS.
  183.  
  184.         AViewCom                        4
  185.  
  186.  
  187.         FILES
  188.         -----
  189.                 AVIEWCOM.CNF       A sample configuration file
  190.                 AVIEWCOM.DOC       This file
  191.                 AVIEWCOM.EXE       The ArcView program
  192.                 AVIEWCOM.HLP       Displayed when caller requests [H]elp
  193.                 AVIEWCOM.HST       History of revisions
  194.                 AVIEWCOM.BYE       Displayed after ALT-G hot-key logoff
  195.                 AVIEWDSZ.BAT       How to use batch file to call DSZ
  196.                 DIGIFONE.TXT       A Telephone Answering System Ad
  197.                 VIEWCOMP.BAT       A sample batch file for WildCat
  198.                 WHATSUP.DOC        Information on the latest haps
  199.  
  200.         Not Included:
  201.  
  202.                 AVIEWCOM.SCR       Welcome screen for ANSI callers
  203.                 AVIEWCOM.BBS       Welcome screen for MONO callers
  204.                 AVIEWCOM.CFG       Created when using AVIEWCOM /S
  205.                 AVIEWCOM.LOG       Activity log for AVIEWCOM.EXE
  206.                 AVIEWCOM.USR       Saved user download information
  207.                 AVIEWTMP.???       Temporary archive used during downloading
  208.                 AVIEWDSZ.ERR       (see AVIEWDSZ.BAT)
  209.                 AVIEWCOM.DAT       Created and erased by AVIEWCOM.EXE
  210.  
  211.         Because of the number of files AViewCom uses, it is
  212.         suggested that AViewCom be run from its own directory,
  213.         although this is optional.  When run from its own directory
  214.         and in the WildCat mode (-w switch), AViewCom must be able
  215.         to find CONFIGWC.BBS.  You may specify the path to this
  216.         file in the setup menu (AVIEWCOM /S).
  217.  
  218.         The file AVIEWCOM.CNF is primarily intended for Non-Wildcat
  219.         systems.  If you are entering all your options on the
  220.         command line or are using the /s option, please delete this
  221.         file to prevent AViewCom from reading options from it.
  222.  
  223.         You may use your editor to create the welcome screen files.
  224.         AViewCom will display the appropriate file depending on
  225.         their color setting.  If they have color selected but the
  226.         .SCR file does not exist, the .BBS file will be displayed
  227.         instead.
  228.  
  229.  
  230.         AViewCom                        5
  231.  
  232.         SETUP
  233.         -----
  234.         - Setup Procedure and Information:
  235.         AViewCom will display the contents of an archive to the local
  236.         console and to COM1, COM2, COM3, or COM4 as specified on the
  237.         command line.  If no COM port is specified, AViewCom enters the
  238.         local mode and no output is sent to the COM port.  When displaying
  239.         a text file, AViewCom makes a DOS call to an external extractor
  240.         which may be anywhere in the DOS path.  An extractor other than
  241.         PKUNZIP (the default) may be specified with the '-e' option.  The
  242.         SysOp may specify a temporary path to extract files to with the '-p'
  243.         parameter on the command line.  AViewCom can display ANSI color.
  244.         If the '-a1' parameter is included on the command line, the
  245.         contents are displayed in color locally and to the remote caller.
  246.         If ANSI is selected, an ANSI device driver is required for the host
  247.         computer.  However, a color monitor is not required.  You must have
  248.         a line in your CONFIG.SYS file resembling the following:
  249.  
  250.                   DEVICE=C:\DOS\ANSI.SYS
  251.  
  252.         If an ANSI driver is not installed and ANSI is selected the display
  253.         will be cluttered with ANSI escape sequences.
  254.  
  255.         AViewCom will allow BBS callers to read text files that are
  256.         contained within an archive file.  AViewCom will not display files
  257.         with .com, .exe, .obj, or .ovl extensions. The file is also checked
  258.         for nul characters contained within the first 255 bytes of the file
  259.         and will not display it if there are any.  If the file passes the
  260.         tests, it will be extracted by making a DOS call to an external
  261.         extractor which must reside somewhere in the DOS path (which
  262.         includes the current directory).  The file is then extracted to the
  263.         current directory or temporary path, displayed, and deleted.
  264.         However, if the file already exists before the call to the
  265.         extractor, it is displayed, but not deleted.
  266.  
  267.         AViewCom will allow BBS callers to download any file that is
  268.         contained within an archive file.  AViewCom makes a DOS call
  269.         to DSZ.COM which may be anywhere in the DOS path (which
  270.         includes the current directory).  The file is then extracted to
  271.         the current directory or temporary path, transfered, and deleted.
  272.         However, if the file already exists before the call to DSZ.COM,
  273.         it is sent, but not deleted.  Including '-d' on the command
  274.         line disables the downloading feature.
  275.  
  276.         AViewCom                        6
  277.  
  278.  
  279.         SYNTAX
  280.         ------
  281.  
  282.         Some special features of AViewCom are invoked by using ONE of
  283.         the following special parameters.
  284.  
  285. AViewCom [?] [/C] [/S] [/C]
  286.  
  287.         ?          If first and only parameter, displays syntax help screen.
  288.         /C         If first parameter, creates the CALLINFO.BBS file.
  289.         /S         If first and only parameter, invokes the setup menu.
  290.         /U         If first parameter, updates the WildCat v2.0
  291.                    database files (available on AViewCom v4 only).
  292.  
  293.  
  294.         In the arcview mode, AViewCom accepts the following parameters on
  295.         the command line.  Each is detailed below.
  296.  
  297. AViewCom file [port] [-a#] [-c] [-d] [-e#] [-l] [-p{tpath}] [-t#] [-u] [-w]
  298.  
  299.         file       is a required parameter.  If omitted, there must be
  300.                    no other parameters on the command line and the caller
  301.                    will be prompted for a file to an archive file.  file
  302.                    is any valid DOS pathname to the file to be viewed.
  303.                    The archive extension is optional and is added if not
  304.                    included.  Some BBS's like WildCat! pass the file
  305.                    as a DOS parameter.  WildCat! uses %1.  If the character
  306.                    '*' use used as file, other options may be specified
  307.                    and the caller will be prompted for a file to view.
  308.  
  309.         port       is either 'com#' or 'local' where # is 1, 2, 3, or 4.
  310.                    This is an optional parameter and defaults to local.
  311.                    If neither of these are specified, local mode is entered
  312.                    and no transmission is sent to the com port.  In this
  313.                    manner, AViewCom may be run in the local mode.
  314.  
  315.         -a#        is an optional parameter where # either 0, 1, or 2:
  316.                       0 = no ANSI.  In this mode, all display is MONO.
  317.                       1 = ANSI color.  All display is in ANSI color.
  318.                       2 = prompt caller for ANSI color or not (default).
  319.  
  320.  
  321.  
  322.         AViewCom                        7
  323.  
  324.         -c         If -c is included on the command line, AViewCom will search
  325.                    through directories that are listed after the #search
  326.                    command in the AVIEWCOM.CNF file.  This option is included
  327.                    for non-WildCat systems which do not pass the filename to
  328.                    view as a DOS parameter.
  329.  
  330.         -d         disables the download option.  This is included for those
  331.                    systems which prefer not to allow downloading.  If not
  332.                    included, downloading is enabled and DSZ.COM must be
  333.                    somewhere in the DOS path.  Protocols supported are
  334.                    XmodemCRC, YmodemBatch, and Zmodem.
  335.  
  336.         -e#        Used to specify an extractor where # is as follows:
  337.  
  338.                         0        pkxarc (.COM or .EXE)
  339.                         1        pkunpak
  340.                         2        pak e
  341.                         3        arc e
  342.                         4        pkunzip [default]
  343.                         5        zoo
  344.                         6        lharc
  345.  
  346.                    If you use code 2, make sure that PAK.CNF is such that
  347.                    the archive will not be deleted after extracting it.  The
  348.                    specified extractor is also used to create the temporary
  349.                    archive which is assigned the name AVIEWTMP.
  350.  
  351.                    Archiver versions supported (up to and including):
  352.  
  353.                            PKXARC       v3.61
  354.                            PKUNPAK      v3.61
  355.                            PAK          v2.50
  356.                            ARC          v6.02
  357.                            PKUNZIP      v1.10
  358.                            ZOO          v2.01
  359.                            LHARC        v1.13c
  360.  
  361.                    Please let me know if an archiver has a more current
  362.                    version.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.         AViewCom                        8
  369.  
  370.         -l         enables activity logging.  If this is included,
  371.                    AViewCom will create and maintain an activity log called
  372.                    AVIEWCOM.LOG which will contain dates and times of
  373.                    all arcviews and downloads that occur.
  374.                    The call to DSZ will contain port number, protocol
  375.                    (either sx, sb, or sz), and the filename.  %1="port",
  376.                    %2=port number, %3=protocol (sx, sb, sz), %4=filename
  377.  
  378.                    If you wish to include other options on call to DSZ.COM,
  379.                    you may do so in a batch file, BUT IS NOT REQUIRED!
  380.                    To do this, you must "set" the pathname to this batch
  381.                    file as a DOS environment string.
  382.  
  383.                         set AVIEWDSZ=pathname
  384.  
  385.                    where pathname is the full path to the batch file
  386.                    you have created to call DSZ.COM from (for an
  387.                    example, see AVIEWDSZ.BAT) AViewCom will look for
  388.                    the AVIEWDSZ string in the environment and call
  389.                    the batch file through a DOS system call.  The
  390.                    batch file should create a file called AVIEWDSZ.ERR
  391.                    DSZ returns an errorlevel greater than 1.  AViewCom
  392.                    will delete AVIEWDSZ.ERR after checking for its
  393.                    existance.
  394.  
  395.         tpath      is an optional parameter and if omitted, defaults
  396.                    to the current working directory.  tpath is any
  397.                    valid DOS path and specifies a temporary directory
  398.                    for the external extractor to use when extracting files.
  399.                    A useful tpath is a ramdrive.  The '-p' indicates
  400.                    that a DOS pathname follows.
  401.  
  402.         -t#        This parameter allows the SysOp to specify a maximum
  403.                    number of minutes that the caller will be allowed to spend
  404.                    in a session of AViewCom.  # is the number of minutes
  405.                    to be allowed.  In the WildCat mode, the time allowed
  406.                    is read from CALLINFO.BBS.
  407.  
  408.                    AViewCom computes file transfer times as if the file
  409.                    were transfered at 95% efficiency.  If the caller does
  410.                    not have enough time left for the file transfer, he
  411.                    will not be allowed to download the file.
  412.  
  413.  
  414.         AViewCom                        9
  415.  
  416.         -u         if included, instructs AViewCom to create a file called
  417.                    AVIEWCOM.USR which will contain the number of files and
  418.                    kilobytes the caller downloaded during the current session
  419.                    of AViewCom.  When AVIEWCOM /U is run, the WildCat databases
  420.                    will be updated (FILESEC.DAT and USERFILE.DAT) to reflect
  421.                    the number of downloads and total download kbytes.  However,
  422.                    AVIEWCOM /U must be run after the caller logs off and before
  423.                    midnight of the current day.
  424.  
  425.                    Available only for WildCat v2.0! and AViewCom v4.
  426.                    Version 3 of AViewCom does NOT write any information
  427.                    to USERFILE.DAT or FILESEC.DAT.  Version 4 does update
  428.                    the databases and is available only to registered users.
  429.  
  430.         -v         Disable direct screen writes.  AViewCom uses bios writes
  431.                    for everything except saving the screen when dropping to
  432.                    DOS and shelling out to DSZ or any archiver/extractor.
  433.                    Disabling direct screen writes provides compatibility with
  434.                    programs like DesqView and is not normally necessary.
  435.                    Also, disabling direct screen writes slows down the capture
  436.                    of the screen considerably.
  437.  
  438.         -w         Read the CALLINFO.BBS file for caller information.
  439.                    With this option, the CALLINFO.BBS file is read for
  440.                    caller information and the caller's download ratio and
  441.                    number of downloaded kbytes are checked.  The caller will
  442.                    not be able to download files if the ratio has exceeded
  443.                    the values on CONFIGWC.BBS.  If CONFIGWC.BBS does not
  444.                    exist, the upload/download ratio is set to 1:20.
  445.  
  446.                    AViewCom will search the current directory for
  447.                    CALLINFO.BBS and CONFIGWC.BBS.  If you operate AViewCom
  448.                    from another directory, you will need to copy these two
  449.                    small files to that directory before calling AViewCom.
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.         AViewCom                        10
  461.  
  462.  
  463.         AVIEWCOM /C  (Create the CALLINFO.BBS file)
  464.         -------------------------------------------
  465.  
  466.         WildCat does NOT create the CALLINFO.BBS file when the caller
  467.         selects the [V]iew Archive function from the files menu.  AViewCom
  468.         will create this file when invoked with the /C parameter.  It will
  469.         then search the ACTIVITY.LOG to determine who the current caller is
  470.         and the baud rate or if the caller is on locally.  The USERFILE.DAT
  471.         file is then searched for the caller's record and the information is
  472.         read.  It then reads CONFIGWC.BBS to get the system default settings.
  473.         This information is then used to create CALLINFO.BBS.  You may enter
  474.         the path to CONFIGWC.BBS on the command line. This program will ONLY
  475.         work with WildCat v2.0.  I will update it as new versions of WildCat
  476.         are released.
  477.  
  478.         AVIEWCOM /S  (SETUP MENU)
  479.         -------------------------
  480.  
  481.         AVIEWCOM /S is provided for convenience only and is not required.
  482.         Normally, options are specified on the command line.  AVIEWCOM /S
  483.         allows you to store your default options in the AVIEWCOM.CFG file.
  484.         If you choose to use AVIEWCOM /S, you should not specify other
  485.         options on the AVIEWCOM command line.
  486.  
  487.         The default settings are:
  488.  
  489.                 setup.port        =        1;        COM1
  490.                 setup.ansi        =        0;        MONO
  491.                 setup.cnf         =        0;        NO .CNF FILE
  492.                 setup.down        =        1;        ALLOW DOWNLOADING
  493.                 setup.extractor   =        4;        PKUNZIP
  494.                 setup.log         =        0;        NO CALL LOGGING
  495.                 getcwd(setup.tpath, 80);             CURRENT WORKING DIR
  496.                 setup.left        =        45;       45 MINUTE TIME LIMIT
  497.                 setup.wildcat     =        0;        NOT WILDCAT
  498.                 setup.update      =        0;        DON'T CREATE AVIEWCOM.USR
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.         AViewCom                        11
  507.  
  508.  
  509.         The binary configuration file AVIEWCOM.CFG is created using
  510.         AVIEWCOM /S which is self explanitory.  The command line options are
  511.         summerized in AVIEWCOM.DOC and will be listed by typing AVIEWCOM ?.
  512.         Only comm port, caller ansi status, and caller time left options
  513.         are determined from CALLINFO.BBS.  The text file AVIEWCOM.CNF is
  514.         provided for NON-WILDCAT systems, but may also be used by WildCat
  515.         systems and may be edited with any ASCII editor.  The options are
  516.         outlined in AVIEWCOM.DOC and a sample AVIEWCOM.CNF file is
  517.         provided.  Remember that the commands entered in AVIEWCOM /S will
  518.         be overrided any listed in AVIEWCOM.CNF, the command line, and in
  519.         CALLINFO.BBS.
  520.  
  521.         AVIEWCOM /U  (UPDATE DATABASES)
  522.         -------------------------------
  523.  
  524.         AViewCom will now save information on the caller's downloading
  525.         activity.  If the caller has downloaded anything, the number of
  526.         downloads and the download kbytes are saved in a file called
  527.         AVIEWCOM.USR which is used by AVIEWCOM /U to update the WildCat
  528.         databases.  AVIEWCOM /U must be run while no one is online.  It
  529.         should be run directly after the caller logs off the system.  This
  530.         may be accomplished by running a daily event BEFORE midnight or
  531.         by dropping to errorlevel 60 after each caller.  I wanted to be able
  532.         to update the caller's information after exiting AViewCom but before
  533.         returning to WildCat but WildCat will overwrite the updated
  534.         information if I do it that way.  So the best I can do is wait until
  535.         the caller logs off.  WildCat v3.0 will alleviate this problem.
  536.  
  537.         There are 4 bits of information that are updated:
  538.  
  539.                 DailyDL
  540.                 DailyDK
  541.                 Downloads
  542.                 TotalDK
  543.  
  544.         If AVIEWCOM /U is run on the next calendar day from when the caller
  545.         downloaded from AViewCom, DailyDL and DailyDK are not altered.
  546.         You may enter the pathname to CONFIGWC.BBS on the command line.
  547.  
  548.  
  549.  
  550.  
  551.  
  552.         AViewCom                        12
  553.  
  554.  
  555.         Several problems have been brought to my attention regarding
  556.         AVIEWCOM /U.  Since there are multiple files to deal with, and
  557.         multiple different places they may be found, I'll include these
  558.         suggestions.  Run AVIEWCOM from its own directory.  For example,
  559.         C:\WILDCAT\AVIEWCOM.  The AVIEWCOM.USR file should be created
  560.         and found in that directory.  When you run AVIEWCOM /U, run it from
  561.         that directory, but include the pathname to CONFIGWC.BBS on the
  562.         command line.  AVIEWCOM /U will read it and determine the pathnames
  563.         to the USERFILE.DAT.  To summarize:
  564.  
  565.         You MUST Run AVIEWCOM /U from the same directory as AVIEWCOM.
  566.  
  567.         Enter the pathname to CONFIGWC.BBS on the command line.  ie:
  568.  
  569.                 AVIEWCOM /U C:\WILDCAT\CONFIGWC.BBS
  570.  
  571.         PRIORITY
  572.         --------
  573.  
  574.         AViewCom will accept options from (low to high priority):
  575.  
  576.                 lowest:    1)  defaults
  577.                            2)  a binary configuration file  (AVIEWCOM.CFG)
  578.                            3)  the command line
  579.                            4)  callinfo.bbs (port, ansi, timelimit only)
  580.                 highest:   5)  a text configuration file    (AVIEWCOM.CNF)
  581.  
  582.         The lowest priorty option settings are overwritten by the highest
  583.         option settings.  If you don't need the AVIEWCOM.CNF file, delete
  584.         it.  Most systems can do without it.  It is mainly included for
  585.         non-WildCat systems to list directories to search for the file.
  586.         For WildCat systems, you should be able to list all of the options
  587.         you need on the command line.
  588.  
  589.         DISPLAY FILES
  590.         -------------
  591.  
  592.         These files are not required, but if they exists, will be displayed.
  593.  
  594.         AViewCom.hlp        Displayed when the caller requests [H]elp
  595.         AViewCom.scr        Welcome screen, ANSI color version
  596.         AViewCom.bbs        Welcome screen, monochrome version
  597.  
  598.         AViewCom                        13
  599.  
  600.         CONFIGURATION FILE
  601.         ------------------
  602.  
  603.         If the file AVIEWCOM.CNF exists, options will be read
  604.         from a configuration file.  The configuration file may
  605.         contain ';' to indicate comments.  The rest of the line
  606.         after the ';' is ignored.  Lines beginning with '#' are
  607.         command lines.  Recognized commands are:
  608.  
  609.                 #search                   ;search directories
  610.                 #paths                    ;paths to search
  611.                 #port                     ;com port
  612.                 #video                    ;ANSI or MONO
  613.                 #temporary                ;extracting directory
  614.                 #extractor                ;type of extractor
  615.                 #nodownload               ;disables downloading
  616.                 #log                      ;enables activity log
  617.                 #timelimit                ;max minutes allowed
  618.                 #update                          ;create AVIEWCOM.USR
  619.                 #wildcat                  ;read CALLINFO.BBS
  620.  
  621.            After each command line, another line begins containing
  622.            options for the last command.  The paths command is used
  623.            to specify directories to search for the requested
  624.            archive file.  There is no limit to the number of
  625.            directories which may be searched.  See the included
  626.            AVIEWCOM.CNF file for further information.
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.         AViewCom                        14
  645.  
  646.         EXIT CODE
  647.         ---------
  648.  
  649.         A DOS errorlevel of 1 is returned when an error in command line
  650.         parameters is encountered, or upon any error during execution.
  651.  
  652.         AViewCom monitors carrier detect and returns a DOS errorlevel
  653.         of 2 upon loss of carrier detect.  It also monitors keyboard
  654.         inactivity.  If no keyboard activity occurs for 3 minutes while
  655.         waiting at a prompt, AViewCom exits with a DOS errorlavel of 3.
  656.  
  657.         CREDITS & ACKNOWLEDGEMENTS
  658.         --------------------------
  659.  
  660.         AViewCom was inspired by the ArcView function in Perspective
  661.         Data Systems by Carey Nash.  Original versions used his code,
  662.         but have since been replaced by my own.  AViewCom version
  663.         3 may be freely distributed but may not be sold for any
  664.         reason.  AViewCom version 4 may NOT be distributed and may
  665.         only be used on one system per registration.
  666.  
  667.         The comm port communications are interrupt driven.  The original
  668.         interrupt request vector is saved and replaced with a local
  669.         interrupt service routine.  The original ISR is replaced on exit.
  670.  
  671.         To registered register copy of AViewCom, print the file ORDER.FRM.
  672.         You may wish to use your editor to fill in the blanks before
  673.         printing the form.  If you choose to register AViewCom, you will
  674.         receive the latest version of the program, and a printed manual.
  675.         In addition, I will be able to continue to support AViewCom and
  676.         provide additional features and enhancements.  See future below.
  677.  
  678.                       Daniel Durbin
  679.                       6216 Agee Street #124
  680.                       San Diego, CA  92122-3533
  681.                       (619) 457-2532 (voice)
  682.                       (619) 457-2665 (data)
  683.  
  684.         I now receive messages through WildCat EchoMail on the General
  685.         BBS in San Diego, as well as NetMail to node 1:202/312.
  686.  
  687.  
  688.  
  689.  
  690.         AViewCom                        15
  691.  
  692.         DISCLAIMER
  693.         ----------
  694.  
  695.         THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
  696.         EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  697.         IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  698.         PARTICULAR PURPOSE.  THE AUTHOR WILL NOT BE LIABLE TO USERS
  699.         OF THIS PROGRAM FOR ANY DAMAGES, INCLUDING LOST PROFITS OR
  700.         LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES,
  701.         ARISING OUT OF USE OF THIS PROGRAM.
  702.  
  703.         BUGS and LIMITATIONS
  704.         --------------------
  705.  
  706.         AViewCom will not work with DesqView unless direct screen writes
  707.         are allowed.  The archive pathname is limited to 48 characters.
  708.         The temporary pathname is limited to 48 characters.
  709.         The re-list archive filenames function is limited to 255 filenames.
  710.  
  711.         FUTURE
  712.         ------
  713.  
  714.         Version 4 updates WildCat's file and caller databases
  715.         to reflect the number of downloads made and limit the number of
  716.         downloads permitted.  Version 4 is available only to
  717.         registered users.
  718.  
  719.         I am working on adding more file transfer protocols.
  720.  
  721.         All suggestions are welcome and encouraged and may be mailed,
  722.         emailed or phoned to me anytime.  This is a continuation of AViewCom
  723.         and many enhancements and improvements will be added and supported.
  724.         I thank all those who have given me feedback and encouragement.
  725.  
  726.         If enough copies of AViewCom are registered, I will implement the
  727.         above features and enhancements, but I can not if you choose not
  728.         to register your copy of AViewCom.
  729.  
  730.  
  731.  
  732.         Daniel Durbin___________________________________________________
  733.         SysOp: Cygnus X-1 BBS                | CIS: 73447,1744
  734.         (619) 457-2665 (data)                | GEnie: D.DURBIN
  735.  
  736.         AViewCom                        16
  737.