home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / TESTF21D.ZIP / TESTF.DOC < prev   
Encoding:
Text File  |  1992-03-19  |  18.7 KB  |  464 lines

  1. =======================
  2. TESTF 2.1  - ShareWare
  3. =======================
  4.  
  5.   (C) 1992 Rui Jorge Ramos Claro
  6.   All rights reserved
  7.  
  8.  
  9.   By: Rui Ramos Claro
  10.   1st. Release 29 Jan 1992
  11.   Last revision: 18 Mar 1992
  12.   AFTA BBS - 3649684 - R. Belem 75 1300 Lisboa - PORTUGAL
  13.  
  14.   It's forbidden the selling of this program or any changes whitout
  15.   specific authorization from the author !
  16.  
  17.   I make no warranties for this software except that it will TEST your
  18.   uploads!
  19.  
  20.   This program was developed to test uploaded files for PCboard 14.5a. (Tm)
  21.  
  22.   Although there are several programs to do this task, none of them
  23.   was sufficient for my needs, so here is a new program to test uploads.
  24.  
  25.   ---------------
  26.   Files included:
  27.   ---------------
  28.  
  29.      TESTF.EXE    the actual program
  30.      SAMPLE.CFG   then sample configuration file
  31.      TESTFL.ENG   English language file
  32.      TESTFL.POR   Portuguese language file
  33.      FILECRC.ZIP  Utility to get CRC codes of files
  34.      PCBTEST.BAT  To replace your PCBTEST.BAT (have a look at it first!)
  35.      TESTF.DOC    This Document
  36.  
  37.  
  38.   -------------------------------------------------------------------------
  39.   ----------------------- WHAT DOES TESTFile DO ? -------------------------
  40.   -------------------------------------------------------------------------
  41.  
  42.    - Tests uploads in any archive type
  43.    - Tests for EXE or COM compressed archive formats
  44.    - Tests for GIF files
  45.    - Tests for age constraints
  46.    - Tests for CRC value of files
  47.    - Stores CRC values of files, not allowing 2 equal CRC values
  48.    - Tests for Virus
  49.    - Skips testing of some users
  50.    - Skips testing of some files (wildcards allowed)
  51.    - Bulletin of last x uploads
  52.    - Adds comments to files
  53.    - Deletes files inside compressed ones
  54.    - Adds      "      "       "       "
  55.    - etc.
  56.  
  57.  
  58.   -------------------------------------------------------------------------
  59.   ----------------------------- INSTALATION -------------------------------
  60.   -------------------------------------------------------------------------
  61.  
  62.   If you are using a former version, CHANGES MUST BE MADE!
  63.  
  64.   Here's what you should do:
  65.  
  66.   Make a directory for the program (i.e. MD C:\TESTF)
  67.   Decompress this file in the directory made.
  68.   Place in your autoexec this directory in the autoexec statment
  69.    (i.e. PATH=C:\TESTF)
  70.  
  71.   If you are running a multi-node BBS then several config files must be
  72.   made to work with this:
  73.  
  74.  
  75.   Explanation of a config file:
  76.  
  77.    config files can have comments by placing a ; in the first column of every
  78.    line.
  79.    Also blank lines are allowed.
  80.    Every field must exist, even if you don't intend to use it.
  81.    Some fields require an = sign, refer to the sample config file.
  82.    Some field are followed by others, with no ; comment lines. Don't put
  83.     blank lines or comments between this (refer to the sample config file).
  84.    Order of fields is not significant, nor is case.
  85.  
  86.    FIELDS:       Explanation:
  87.    ----------    ----------------------------------------------------------
  88.    PCBDIR        Variable that should contain the path and filename of your
  89.                  PCBOARD.SYS
  90.  
  91.    COM           Same as EXE
  92.    EXE           YES if you want to check for a compressed file
  93.                  (several compression programs allow you to make EXE or COM
  94.                  files of your compressed file)
  95.                  NO, don't check this
  96.  
  97.    COMMENT       YES if you want to place a comment file in the compressed
  98.                  files. Many compressed formats let you do this, like
  99.                  ZIP or ARJ or ZOO.
  100.                  NO leave as is. Don't place any comment file
  101.    COMFILE       Path and filename of your comment file
  102.  
  103.    COMNUM        YES, if you want to insert the number of files that
  104.                  the compressed file has in the description file.
  105.    COMDATE       YES, if you want to put the newest file, in the
  106.                  description
  107.  
  108.    ADDFILE       Followed by the files that you want to include in the
  109.                  compressed file (maximum 20)
  110.                  This must end with ENDADD
  111.  
  112.    DELETEFILE    Same as ADDFILE, but the following files, if found will
  113.                  be deleted.
  114.                  This must end with ENDDEL
  115.  
  116.    BLT           Yes if you want to make a bulletin of the last uploads
  117.                   including the one that is to be tested (if passed test).
  118.                  The next line must have the path and filename of the
  119.                   bulletin (do not append G for graphics, as the program
  120.                   will do this)
  121.                  The next line has the number of uploads that you want
  122.                   to report (18 maximum)
  123.                  The next line has the control file for this bulletin
  124.                   (don't include path because this file will be placed
  125.                    in the path defined by the DATAFILES parameter).
  126.    VIRUS         YES if you want to check for viruses
  127.                  The next line has the path and filename of the program
  128.                   that looks for viruses
  129.                  The next line has the parameters passed to the virus
  130.                   check program
  131.                  The next line has the errorlevel of a good exit
  132.                   (in case of using SCAN from McAfee the errorlevel of
  133.                    a good exit is 0, for other software refer to its
  134.                    documentation, this also applies to the compress
  135.                    programs, see EXT fields).
  136.                  This must end with ENDVIRUS statment.
  137.  
  138.    USER          These next lines contain the users that you want
  139.                   to skip testing (maximum 100).
  140.                  End this with ENDUSER
  141.  
  142.    GIF           YES if you want to test GIF (Tm) files.
  143.                  Program to test GIFS
  144.                  Parameters passed to it
  145.                  Errorlevel of a good exit
  146.                  Errorlevel of a good exit
  147.                   (I allow 2 exit codes here because there are programs
  148.                    that return more than one errorlevel of a good exit)
  149.  
  150.    NOTEST        Followed by this line should be the files that you
  151.                   wish to skip testing (up to 20)
  152.                   Use *EXT if you want to specify an extension rather
  153.                   than just a filename.
  154.                   i.e. if you want to skip testing for *.DOC files,
  155.                   and TESTF.EXE:
  156.                    NOTEST
  157.                    *DOC
  158.                    TESTF.EXE
  159.                    ENDTEST
  160.                   Got it ?
  161.                  End this with ENDTEST statment
  162.  
  163.    EXT           Place extension made by the compressing program
  164.                  The testing program and parameters
  165.                  The compress program and parameters for adding files
  166.                  The compress program and parameters for deleting files
  167.                  The decompressing program and it's parameters
  168.                  The insert/replace comment file program and parameters
  169.                  The errorlevel of a successfull testing exit
  170.                    Note that you should place in these programs the
  171.                    'Quiet mode' and 'Batch mode' options if available.
  172.                    Refer to the program's documentation or manual
  173.                    Example for ZIP:
  174.                                    EXT=ZIP       (say its ZIP extension)
  175.                                    pkunzip -t    (test archive)
  176.                                    pkzip -a -k   (add a file)
  177.                                    pkzip -d      (delete a file)
  178.                                    pkunzip -o    (decompress)
  179.                                    recom -s      (place comment)
  180.                                    0             (exit code 0 means good exit)
  181.                  TESTfile 2.1 allows you to put up 10 extensions!
  182.                  Repeat this EXT statment for every archive format that
  183.                  you wish to test.
  184.                   NOTE: in case of some archive types there is no comment
  185.                         file (case of LZH), in this situation just leave
  186.                         a blank line.
  187.                   In the sample config file, there are lots of archive types
  188.                   for you to look at.
  189.  
  190.    LOG            YES for logging information.
  191.                   File to place LOG (don't include path, as this file will
  192.                    be placed in the DATAFILES path.
  193.                    NOTE: Extended logging report is done, allowing you
  194.                          to see what went wrong.
  195.  
  196.    DATAFILES      Path to where all control files needed by TESTF will
  197.                    be placed
  198.  
  199.    BOOSTDRIVE     Drive and Path of a 'boost' drive. Boost can be a ramdrive,
  200.                    or a device faster than the hard disk. All the testing
  201.                    will be done here, instead of the hard disk.
  202.                    You will need however some considerable free space to
  203.                    use this option, because TESTFile will decompress all
  204.                    the files in here. I suppose 1 Mbyte is a good choice.
  205.                    It all dependes on the size of the uncompressed files!
  206.                    If you don't have this, leave blank, I mean:
  207.                           BOOSTDRIVE=
  208.  
  209.    OLDERTHAN      YES if you want to check for a file's age.
  210.                   month
  211.                   day
  212.                   year
  213.                    All files will be tested to see if any of them is
  214.                    older than month/day/year, if so the file will
  215.                    be placed offline.
  216.                    Answer NO if you don't want this option
  217.                   End this line with ENDOLDER statment
  218.  
  219.    OFFLINE        This is the drive and path of your offline directory.
  220.                    I could of get this in PCBOARD.DAT, but to allow
  221.                    future verions including other type of software rather
  222.                    than PCBoard (Tm) I placed this statment.
  223.  
  224.    CRC            YES if you want to delete files containing the CRC values
  225.                    specified in the next lines. The file will be posted
  226.                    but without the files that have this CRC values.
  227.                   CRC values in 16 bit HEX
  228.                   End with ENDCRC
  229.                    You can have up to 100 hex values.
  230.                    In order for you to know what is the CRC value of files
  231.                    there is a program called FILECRC that gives you the
  232.                    CRC value of files. Refer to its included documentation.
  233.  
  234.    CRCSTORE       YES or NO
  235.                    Suppose you have TESTF21.ZIP in your BBS available for
  236.                    download. Suppose then that a user, seeing that you
  237.                    already have this file, but needs more time or bytes
  238.                    than he would rename it and upload it to you.
  239.                    what now? (what a bad guy this user is!)
  240.                    YOUR PROBLEM IS OVER!
  241.                    This option will store all CRC values of files that
  242.                    are uploaded (including the ones that are compressed),
  243.                    and if this CRC value is found in the file that you
  244.                    will specify, the file will go offline!
  245.                   Filename of the file that has stored CRC values of
  246.                    files.
  247.                    This file is formated in the following manner:
  248.                     Column 1  - 4 digit (16 bits) CRC HEX value
  249.                     Column 6  - Filename of file that has this CRC value
  250.                     Column 20 - Path and filename of compressed file
  251.                                 where the file is located.
  252.                    This must be manually entered, for REGISTERED users
  253.                    I will distribute (freely) a program to do this.
  254.  
  255.    ->> END OF CONFIG FILE (don't include this!!)
  256.  
  257.    Refer to the sample config file included for more information.
  258.  
  259.  
  260.  
  261.   -------------------------------------------------------------------------
  262.   ------------------------------ MULTI LANG -------------------------------
  263.   -------------------------------------------------------------------------
  264.  
  265.   The program is now fully prepared to work with multi lingual files.
  266.   I distribute here two language files:
  267.  
  268.       TESTFL.ENG - English
  269.       TESTFL.POR - Portuguese (Long live Portuguese Shareware)
  270.  
  271.   These next few lines are not chinese but actually only for Portuguese
  272.    Sysops:
  273.  
  274.    Vivam Sysops portugueses. Gostaram desta (eheheh), um ingles quando ler
  275.    isto nao vai perceber nada (eheheh). Sao mesmo nabos estes ingleses!!
  276.    Bem, voltemos a lingua deles.
  277.  
  278.   These next lines explain the fields:
  279.  
  280.  
  281.  
  282.  
  283.  
  284.   -------------------------------------------------------------------------
  285.   ------------------- RECOMMENDED SOFTWARE AND CREDITS --------------------
  286.   -------------------------------------------------------------------------
  287.  
  288.   For this program, I used some other software that are available in most
  289.   BBS's that I found reliable to work with, here's the list:
  290.  
  291.   - ReComment - .ZIPfile comment processor
  292.     Version 1.05 - Copyright 1990, Michael C. Loewen
  293.  
  294.   - SCAN BETA85 Copyright 1989-91 by McAfee Associates.  (408) 988-3832
  295.  
  296.   - PKUNZIP (R)    FAST!    Extract Utility    Version 1.1
  297.     Copr. 1989-1990 PKWARE Inc. All Rights Reserved.
  298.     PKUNZIP Reg. U.S. Pat. and Tm. Off.
  299.  
  300.   - PKZIP (tm)   FAST!   Create/Update Utility   Version 1.01
  301.     Copyright 1989 PKWARE Inc.   All Rights Reserved.
  302.  
  303.   - LHA version 2.13 - Copyright (c) Haruyasu Yoshizaki, 1988-91
  304.  
  305.   - ARJ 2.30 Beta_2 Copyright (c) 1990,91 Robert K Jung.
  306.  
  307.   - GIFtest 4.0ß, CopyRight 1991 by Dave Navarro, Jr.
  308.  
  309.   - Zoo archiver, zoo 2.1
  310.     (C) Copyright 1991 Rahul Dhesi
  311.  
  312.   - PKARC    FAST!    Archive Create/Update Utility    Version 3.5
  313.     Copyright (c) 1986,1987 PKWARE Inc. All Rights Reserved.
  314.  
  315.   - PKXARC    FAST!    Archive Extract Utility    Version 3.5
  316.     Copyright (c) 1986,1987 PKWARE Inc. All Rights Reserved.
  317.  
  318.   - FILECRC.COM  3.02  File Integrity Checker
  319.     (c) C J Mair 1989.
  320.  
  321.   - PCBOARD is a trademark of Clark Development Company
  322.  
  323.   All programs listed here are available in AFTA BBS, 351-01-3649684,
  324.   except for PCBoard, which is not shareware.
  325.  
  326.  
  327.  
  328.   -------------------------------------------------------------------------
  329.   -------------------------- THANKS TO: -----------------------------------
  330.   -------------------------------------------------------------------------
  331.  
  332.   I wish to thank the following people for their interest and cooperation
  333.   on making this project:
  334.  
  335.   - Luis Silva (McBBS) - for his interest and support
  336.   - Antonio Cerqueira  - suggestion to include CRC checking
  337.   - Pedro Cardoso      - suggestion to include Zip AV checking
  338.  
  339.  
  340.  
  341.  
  342.   -------------------------------------------------------------------------
  343.   ------------------------ FUTURE VERSIONS --------------------------------
  344.   -------------------------------------------------------------------------
  345.  
  346.   This project if well accepted amongst BBS's will be continuously updated
  347.   to include other items of interest.
  348.  
  349.   I hope the next version to include:
  350.  
  351.    - Test for security level. If greater than 'x' then no test will be
  352.      performed.
  353.    - Test for 'real' zip -AV
  354.    - Don't test the upload now, test it later (when the user logs off or
  355.      in an event).
  356.    - My own 32bit CRC file testing
  357.    - Default archiving format
  358.    - JPEG file testing
  359.    - Default graphic file format
  360.  
  361.  
  362.  
  363.   -------------------------------------------------------------------------
  364.   ------------------------------- REGISTER --------------------------------
  365.   -------------------------------------------------------------------------
  366.  
  367.   Mail to: Rui Jorge Claro
  368.            R. Prof. Vitorino Nemesio, 64 Madorna
  369.            2775 Parede - Portugal
  370.  
  371.   With the following information:
  372.  
  373.     Name:______________________________________________________________
  374.     Address:___________________________________________________________
  375.     City, State:_______________________________________________________
  376.     Country:___________________________________________________________
  377.     Zip. Code:_________________________________________________________
  378.     Name and phone number of your BBS:_________________________________
  379.     Fax number (if available):_________________________________________
  380.     FidoNet address (if available):____________________________________
  381.     Version that you got of TESTFile:__________________________________
  382.  
  383.  
  384.     $20 USD in cash.
  385.  
  386.  
  387.   To all that register this Program it will be given the possiblity to:
  388.  
  389.   - Minor changes or corrected bugs -> free version.
  390.   - Major changes                   -> lower prices.
  391.   - Full support
  392.   - Remove delay telling unregistered
  393.   - Program to store CRC values of files already on disk in the
  394.     file specified by the CRCSTORE statment.
  395.   - If using a 80286 or a 80386 then you will get the 80x86 version
  396.     of TESTFile 2.1 (it's FASTER!)
  397.  
  398.   Support:
  399.  
  400.   In case of any error (if the programmer 'goofed') a file TESTF.ERR
  401.   will be made in the root directory of drive C
  402.  
  403.   Contact me at AFTA BBS 351-01-3649684 (data) <2400-V42,MNP>
  404.                          351-01-3631622 (voice)
  405.          FidoNet address 2:362/16
  406.  
  407.  
  408.  
  409.  
  410.   --------------------------------------------------------------------------
  411.   History:
  412.  
  413.   Version 1.0 - 28 Jan 1992
  414.     Test for ZIP, LZH, ARJ
  415.     Test for normal EXE COM or compressed EXE COM
  416.     Seach for Viruses.
  417.     Placement of comments in Zips and Arjs
  418.     LOG file of all operations
  419.  
  420.   Version 1.1 - 30 Jan 1992
  421.     Corrected the error when PKUNZIP v1.01 is in use
  422.     Changed name to TESTEF, due to the existance of a program to work with
  423.      PCBoard called Testfile.exe
  424.     Test for GIF
  425.  
  426.   Version 2.0 - 7 Fev 1992
  427.     Descriptive Screen
  428.     4DOS is not needed now
  429.     Instalation with /I parameter
  430.     Parameters for Giftest
  431.     Parameters for Scan
  432.     Detection of communication port
  433.     Added user name, node in use and MB available for Upload
  434.     Multi-Node (Multitasking ou net) operation
  435.     Add files and/or delete files from compressed file to test
  436.  
  437.   Version 2.1 - 11 Fev 1992
  438.     Multi lang Support added
  439.     Bulletin of Last 'X' Uploads with @PCB ansi esc codes
  440.     Ansi color suported
  441.     Skip tests for some users
  442.     Skip tests for some files (wildcards allowed)
  443.     Detection of Desqview
  444.     Description from DESC.SDI or FILE_ID.DIZ
  445.     ANY compressed file format!
  446.     Test for file's CRCs
  447.     Comparing of file's CRCs already on the BBS
  448.     EXTENDED logging report
  449.     Test of Date
  450.  
  451.  
  452. ---------------------------------------------------------------------------
  453. --------- SHAREWARE IS ONLY POSSIBLE WITH YOUR CONTRIBUTION TO IT ---------
  454. ---------------------------------------------------------------------------
  455.  
  456. .
  457. End of Document
  458. TESTF 2.1
  459. 30 Mar 1992
  460. Rui J. Claro
  461. .
  462.  
  463.  
  464.