home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / CLDRP310.ZIP / CALLDROP.DOC < prev    next >
Text File  |  1992-09-21  |  15KB  |  284 lines

  1.                         ╒═════════════════════════╕
  2.                         │  CALLDROP 3.10          │
  3.                         │  By Steve Mathieson     │
  4.                         │  ALL RIGHTS RESERVED    │
  5.                         │  Copyright 1992         │
  6.                         ╘═════════════════════════╛
  7.  
  8. Wot is it?
  9. ─────────
  10. Calldrop is a util that should be placed in your batch file before you
  11. delete your Max.log ( And maybe your Bluewave log also), what it will do is
  12. scan the log for any users who Dropped Carrier during the day, and give you
  13. several optional reports of the cumulative statistics for each user.
  14.  
  15. Also, Calldrop will now keep running totals of Input timeouts and will track
  16. LEECH-Z modem usage for each user. These figures will be added into the Sysop
  17. report that's created when CallDrop is run.
  18.  
  19. This is NOT Public Domain software! Rather it is being distributed as Freeware
  20. ( In the spirit of Maximus ), you are free to use this software, without charge.
  21. If you are distributing this program please include all the Documentation and
  22. sample CFG files that are included.
  23.  
  24. *Please* If you choose to use this software let me know.  This is the only
  25. form of registration I request, as it allows me to guage whether further
  26. development is worthwhile. Just a simple Netmail would be fine.
  27.  
  28. Quick Installation
  29. ──────────────────
  30. Put all the included CallDrop files into the directory you want to run
  31. CallDrop from. The MakeMsg.exe program can be placed either in the same
  32. directory as Calldrop, or somewhere in your path statement.
  33. Edit the Calldrop.cfg file to suit your needs, and edit your batch file(s)
  34. so that Calldrop is run during your event schedule just before you delete
  35. or otherwise rename/move the MAX.LOG. After Calldrop runs you may also want
  36. to add in MECCA statements in your batch to compile the report(s) generated.
  37.  
  38. Upgrading
  39. ─────────
  40. If you are upgrading from Version 3.00 then you will have to run
  41. CUPDATE to update your data files. Simply put Cupdate into your Calldrop
  42. directory, and run it. Cupdate will update the Calldrop.dat file for use
  43. with CallDrop version 3.10. You can then safely delete the Cupdate program as
  44. it's no longer required. Then just copy the new Calldrop executable over the
  45. old one, edit your CFG to your liking and away you go.
  46.  
  47. Command Line Parameters
  48. ───────────────────────
  49. There are two optional parameters that may be passed on the command line
  50. when CallDrop is run: -KMAX Will cause CallDrop to delete your Maximus log
  51. file(s) after it has finished, and -KBLU will cause CallDrop to delete your
  52. BlueWave log file(s) when it's finished. Both these options are case
  53. insensitive.
  54.  
  55. The Calldrop.cfg File
  56. ─────────────────────
  57. The following is a list of valid Verbs that may be used in the CFG:
  58.  
  59. BBSNAME - Just put the Name of your system, and it will appear on the screen,
  60.           when Calldrop is run, and will be placed into your Sysop report file.
  61.  
  62. SYSOP - This is your Name, use this if you don't want your own Name to appear
  63.         in the Carrier drop report(s). Case is not important so joe sysop is
  64.         the same as JOE SYSOP or JoE SysOp. You may specify up to 5 SYSOP verbs
  65.         followed by names you don't want to appear in the reports. The name
  66.         following the first SYSOP verb is used as the FROM: field in messages
  67.         that are created. Any more than 5 are ignored. Also, names you don't
  68.         want to appear in the reports must match exactly the name that Max
  69.         writes to the log.
  70.  
  71. MAXLOG - This is the PATH and NAME of your Max.log files. This is where
  72.          Calldrop gathers it's information from, and is mandatory if you
  73.          want it to work. For Multi-line systems, You may specify up to 8
  74.          MAXLOGs to scan, by putting 8 MAXLOG verbs followed by the path and
  75.          filename to the log. They will all be scanned for data each time
  76.          Calldrop is run. Extras are ignored, and NOTE: the -KMAX command line
  77.          switch will delete ALL the logs specified when Calldrop is finished.
  78.  
  79. BLUEWAVE - This is ONLY for people who use the BlueWave Mail Door, and allow
  80.            the G)oodbye from within the door. Put the full path and filename
  81.            of your BlueWave log here. To use this feature, you MUST have the
  82.            Log General Activity   '='   set to YES in bwutils. Also, Calldrop
  83.            will not alter the logs in any way, so it's important to delete,
  84.            rename or move the BlueWave log file before Calldrop runs again.
  85.            The same applies to the Max.log file, Calldrop will be completely
  86.            inaccurate otherwise. For Multi-line systems, up to 8 BLUEWAVE logs
  87.            may be specified, extras are ignored. Also the -KBLU command line
  88.            switch will delete ALL the BlueWave logs specified when Calldrop
  89.            is finished.
  90.  
  91. REPORTPATH - This is the Directory where you want the Sysop Reports to be placed.
  92.              Both the ASCII, and the MECCA (if enabled) will be created here.
  93.              It may be worth noting here that the old ones will be overwritten
  94.              when the new is created. The report will be called either
  95.              SYSOP.RPT or SYSOP.MEC depending on what you specify for the
  96.              REPORT TYPE verb.
  97.  
  98. REPORT TYPE - This verb specifies the type of file you want the SYSOP report to
  99.               be created as. The two options are: MECCA, which will create the
  100.               Sysop report in a colour Mecca format using the colours you
  101.               specify with RPTCOLOUR. The second option being ASCII which will
  102.               cause Calldrop to create a flat ASCII sysop report.
  103.  
  104. RPTSHOW - Defines the minimum # of Drops for a user to be listed in the SYSOP
  105.           Report.. For example specifying RPTSHOW 5 will cause only users with
  106.           5 or more Carrier drops to be shown in the SYSOP.RPT file.
  107.  
  108. MAKEMEC - Uncomment this if you want to use either the default Mecca report, or
  109.           the Custom header. If it's commented out, no MEC's will be created
  110.           except for a SYSOP.MEC if you use custom color. ( See RPTCOLOUR )
  111.  
  112. MECPATH - The Directory where you want the MEC file created. The MEC file will
  113.           be placed in the directory, and named CALLDROP.MEC
  114.           Again, the old ones will be overwritten each time Calldrop is run, so
  115.           you can keep a fairly up to date record on-line for viewing if you
  116.           wish.
  117.  
  118. BULLSHOW - Works the same a RPTSHOW, but controls the minimum # required for
  119.            a user to be shown in the bulletin (MEC) files.
  120.  
  121. HEADERFILE - This verb will optionally allow you to use your own custom
  122.              MEC file for the MEC report generated. Basically all Calldrop
  123.              will do is copy it to the MECPATH, and append the data to the
  124.              end. This leaves the original untouched so you can easilly run
  125.              Calldrop in your batch file and update the report.
  126.              ALSO - Calldrop WILL NOT add in the Name and # of Drops headings
  127.              in to the report, I left this so you may put your own in.
  128.  
  129. QUIETMODE - If this is uncommented most screen output will be suppressed during
  130.             CallDrop's execution. This is faster, and is advised for use during
  131.             your batch processing.
  132.  
  133. SORTBY - This keyword allows you to specify how ( or if ) you want the output
  134.          reports to be sorted by either: NAMES - The users names in descending
  135.          alphabetical order, or NUMBER - the list to be in descending numeric
  136.          order on the number of Dropes per user. IE: The user with the most
  137.          drops to his name will be listed first. Also worth mentioning is that
  138.          the Calldrops data file is also saved in the sorted format, so if you
  139.          switch from Names to None for example, the list will still remain in a
  140.          semi-sorted format, and additions will be added to the end.
  141.  
  142. RPTCOLOUR           - Most of the Colours in the Sysop report created by
  143. Customizing Colours   Calldrop are configurable.
  144. (Canadian Spelling)   The RPTCOLOUR verb is followed by 10 numbers seperated
  145.                       by commas. Each number represents a colour, and the
  146.                       order of the Numbers is VERY important. Unexpected
  147.                       results may also occur, if the spacing between the
  148.                       numbers is altered.
  149.  
  150.   ──────────────────────────────────────────────────────────────────────────
  151.   Colour Values:
  152.                 1 - Black                           9 - Dark Gray
  153.    Colours      2 - Blue         Colours 9-16      10 - LightBlue
  154.      1-8        3 - Green            Are           11 - LightGreen
  155.      Are        4 - Cyan           Valid for       12 - Light Cyan
  156.   Valid For     5 - Red              Only          13 - Light Red
  157.     Both        6 - Magenta        Foreground      14 - Light Magenta
  158.   Foreground    7 - Brown                          15 - Yellow
  159.      And        8 - Gray                           16 - White
  160.   Background
  161.   ──────────────────────────────────────────────────────────────────────────
  162.  Explanation:
  163.              (2)   (4)    (6)    (8)    (10)
  164. RPTCOLOUR 16, 1, 5, 1, 10, 1, 15, 1, 11, 1
  165.          (1)    (3)    (5)    (7)    (9)
  166.  
  167.  (1) is the Header colour            (7) - Colour for Names
  168.  (2) - Header background             (8) - Names Bkgrnd
  169.  (3) - Border colour                 (9) - Number of drops Colour
  170.  (4) - Border bkgrnd                (10) - Drops Background colour
  171.  (5) - Text Colour
  172.  (6) - Text Bkgrnd
  173.  
  174. The first number sets the color for the Header and Title on the reports.
  175. in the above example it's 16, which is White, and the number following
  176. the 16 is 1, which sets the background colour to black. Also worth mentioning
  177. is that the numbers 1-8 may be used as both Fore/Background colours, but the
  178. remaining 8-16 are only available for the foreground. If the RPTCOLOUR Verb is
  179. commented out, a plain ASCII SYSOP report will be generated with a RPT
  180. extension rather than an MEC.
  181.  
  182.  ───────────────────────────────────────────────────────────────────────────
  183.  The Following is Only Used For Automatic Message Creation
  184.  ───────────────────────────────────────────────────────────────────────────
  185.  If you don't want messages written, then comment out this section entirely
  186.  ───────────────────────────────────────────────────────────────────────────
  187.  
  188. ADDRESS - Your Network Address in the format ZONE:NET/NODE.POINT
  189.  
  190. MSGPATH - The path ( and BaseName ) to your Private Comments message area.
  191.           Only Squish is presently supported, because I see no reason why
  192.           any Max sysops would want to use anything else :-)  But if this is
  193.           a problem for anyone please let me know, and I'll allow *.MSG creation
  194.           as well.
  195.           Warning messages will be placed into this message base, addressed to
  196.           the user in question and from you as defined with the SYSOP verb.
  197.           ALL messages will be marked as Private.
  198.  
  199. CDCONTENT - Carrier Drops MSG content file. This is a flat text file that will
  200.             essentially become the body of the message. Full PATH and FileName
  201.             is required! Also worth mentioning is that if %N is found anywhere
  202.             in this file, the %N will be replaced with the total carrier drops
  203.             the user in the from field has accumulated.
  204.  
  205. CDTHRESHOLD <x> This is the threshold for message creation. Once a given user
  206.                 passes <x> drops, they will be issued a warning message.
  207.  
  208. TOCONTENT - This is the contents file for the Input Timeouts message. Full path
  209.             AND filename are required. As with CDCONTENT, a %N will be replaced
  210.             with the total INPUT TIMEOUTS for the user that the message is
  211.             addressed to.
  212.  
  213. TOTHRESHOLD <x> The same as CDTHRESHOLD, but for Input timeouts. Once they have
  214.                 Input timeout'd <x> times, CallDrop will start writing the user
  215.                 warning messages.
  216.  
  217. LZCONTENT - Again, this is the Path and filename to the contents file for LEECH
  218.             Z modem users. For those who don't know, Leech-Z is a protocol that
  219.             users can use to Download files from the BBS, but it sends an abort
  220.             code during the last few moments of the transfer. Normally this
  221.             will fool the BBS software into thinking the user DID NOT receive
  222.             the file and will not adjust the users Ratio/DL count. Maximus
  223.             2.01wb and greater versions are aware of this protocol, and does
  224.             it's best to report it.
  225. ──────────────────────────────────────────────────────────────────────────────
  226. ******* NOTE: Be careful with this, because sometimes a LEGITIMATE Download
  227.         will be aborted, and Maximus will report it as a possible Leech-Z
  228.         attempt. Use your discretion, if the user get's logged as having 10
  229.         consequtive leech-Z transfers, it's probably safe to assume s/he's
  230.         using it.
  231. ──────────────────────────────────────────────────────────────────────────────
  232.             As with the other content files, a %N anywhere in this file, will
  233.             be replaced with the total Leech-Z reports the user has had.
  234.  
  235. LZTHRESHOLD <x> If a user passes the value x, then CallDrop will begin sending
  236.                 out warning messages.
  237.  
  238.  
  239. That'd be it :-)
  240.  
  241. My Thanks to the Beta-Testers:
  242. ( In no particular order )
  243.  
  244.                  Chris Grainger     -  1:163/518
  245.                  Paul Venne         -  1:163/305
  246.                  Michael Downing    -  1:112/25
  247.                  Randy Hough        -  1:204/7
  248.                  Stephane Seguin    -  1:163/116
  249.  
  250. Contacting the Author
  251. ─────────────────────
  252.  
  253.            The Author may be conatacted through various electronic means,
  254.  
  255.                 Fidonet 1:163/319        BBS # (613) 837-0413
  256.                 IMEX   89:483/319
  257.  
  258.            I'm also generally available in the MUFFIN Maximus Support Echo.
  259.            Netmail is preferred, and is likely the fastest means to contact
  260.            me. If you're reporting a bug, if at all possible, please include
  261.            your CallDrop.Dat file, CallDrop.cfg and your Max.Log snippets.
  262.  
  263. Warranty
  264. ────────
  265.            THERE IS NONE. THIS SOFTWARE IS PROVIDED 'AS IS' WITH NO WARRANTY
  266.            EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE
  267.            IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  268.            PURPOSE. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF CALLDROP
  269.            AND THE ACCURACY OF IT'S ASSOCIATED DOCUMENTATION, LIES WITH YOU.
  270.  
  271.            IN NO WAY WILL STEVE MATHIESON BE HELD RESPONSIBLE FOR THE USE OR
  272.            MISUSE OF CALLDROP, INCLUDING BUT NOT LIMITED TO, DEFECTS, DAMAGES,
  273.            LOST MONIES, LOST DATA, OR SPECIAL, INCIDENTAL OR CONSEQUENTIAL
  274.            DAMAGES ARISING OUT OF THE USE, OR INABILTY TO USE CALLDROP.
  275.  
  276. Copyrights
  277. ──────────
  278. CallDrop is Copyright 1992 by Steve Mathieson
  279. Maximus CBCS Is Copyright By Scott J. Dudley.
  280. Squish is a trademark of Scott Dudley.
  281. BlueWave Mail is Copyright by Cutting Edge Computing.
  282. MakeMsg is Copyright by Tower Enterprises and Jeff Galbraith
  283. TheDraw is Copyright by TheSoft Programming and Ian E. Davis.
  284.