home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / TRIBBS / HDUTL52A.ZIP / HDUTL.NEW < prev   
Text File  |  1994-01-28  |  20KB  |  463 lines

  1.  
  2.                          Heavy Duty Utility
  3.                           By H.D. Holland
  4.                         From: HD's Support BBS
  5.                            (404) 941-1308
  6.                            (404) 941-1940
  7.  
  8.                            V5.02a 02/01/94
  9.  
  10.           PLEASE READ THE INSTRUCTIONS FOR INSTALLATION/UPGRADE.
  11.  
  12. UPGRADE 07
  13.  
  14. 1. When the /U, upload verify option is used, new uploads are added to
  15. the .IDX files (if used). There is no need to run MAKEIDX now after an
  16. upload.
  17.  
  18. 2. Change in the handling of the KEY file (just to keep the hackers on
  19. their toes).
  20.  
  21. 3. HDUTL now builds only .BBS screens using @Xcodes for colors. With the
  22. improved handling of the codes by TriBBS, the .ANS screens are no longer
  23. needed.
  24.  
  25. 4. Change in name of program to remove any conflict with Mark's registered
  26. 'Tri' trademark. (No! there was no problem, I just wanted to avoid one.)
  27.  
  28. INSTALLATION: Rename all THDUTL.* files in the \UTL directory to HDUTL.*.
  29. Change your BETWEEN.BAT to reflect HDUTL. If you are a registered user,
  30. call the Support BBS and pick up a new HDUTL.KEY, use the temporary key
  31. provided until then. Expand HDUTL.EXE, HDUTL.CLR (and HDUTL.KEY) into the
  32. \UTL directory. You should be ready to go, run HDUTL /N to rebuild new
  33. screens.
  34.  
  35. UPGRADE 06
  36.  
  37. 1. Correct handling of DEADFILE, file listings. They will now be added
  38. to the FILES.LST in \DEADFILE vice overwriting the existing FILES.LST.
  39.  
  40. 2. Add Subscription notification and trial subscription functions. If
  41. file HDUTL.SUB exist, new callers will be given a trial subscription
  42. of xx days and users whose subscription will expire in yy days will be
  43. given a notification in the form of a user specific logon message. Build
  44. HDUTL.SUB as follows:
  45.  
  46. xx,yy
  47. @X04 Text to be placed in the user specific logon message, any length.
  48.  
  49. xx = trial subscription length in days, 0 = none
  50. yy = days before expiration that the notifications will start.
  51.  
  52.  
  53. UPGRADE 05
  54.  
  55. 1. FINALLY! Found a routine that will compute the number of days between
  56. two different dates without 10K of code or strange errors! (I read the
  57. durn documentation for PDS 7.1 :-) ) No more strange outputs in the Hourly
  58. Usage Graphs.
  59.  
  60. UPGRADE 04
  61.  
  62. 1. Add an /N switch to simply rebuild all the screens with the data stored
  63. in the various support files. As all the files are straight ASCII, they may
  64. be edited to add/subtract or correct information contained within them. You
  65. may then run HDUTL /N to rebuild the screens with the edited data.
  66.  
  67. 2. Extract the data from the affected FILES.LST for files failing integrity
  68. or virus scan and place the data in the FILES.LST in the DEADFILE area if
  69. DEADFILE is indicated with the /U switch. e.g. /UC:\DEADFILE.
  70.  
  71. UPGRADE 03
  72.  
  73. NOTE: Upgrade Action required on this item:
  74. 1. Extend the range of variable for those control freaks who maintain 2 to
  75. 3 years of CALLERS.LOG. :)  Dates indicated in the Tally and the BBS Usage
  76. Graph are now in MM-DD-YY format. You may 1). Edit your HDUTL.TIM file and
  77. add "-YY" (YY = the start year of your CALLERS.LOG) to the end of the date
  78. line (second element in the tile) and do the same to the first line of the
  79. HDUTL.DOR file, or; 2). Rerun HDUTL /F to build new files and screens.
  80.  
  81.  
  82. UPGRADE 02
  83.  
  84. 1. FIX FOR YEAR END SORT PROBLEM. Extended the sort routine input to
  85. include the year so we don't have problems on January 01 each year with
  86. the last 15 callers screen. We will still have a problem on January, 01
  87. 2000. If I am still alive, give me a call, otherwise you best remember
  88. to delete your CALLERS.LOG on that day and start a fresh set of screens.
  89.  
  90. NOTE: Upgrade Action required on this item:
  91. 2. Add node # to the last 15 caller screen (far right side) at the expense
  92. of the year of the logon (we can probably figure that out). :) This change
  93. adds an additional item to the HDUTL.WRK file and makes your old one
  94. incpmpatable. You must run HDUTL /F to recompile the files. ALTERNATELY,
  95. you may edit HDUTL.WRK adding ONE blank line JUST BEFORE every user name
  96. in the list EXCEPT the first one (which will be the second line of the file).
  97. The first line in the file is the pointer into CALLERS.LOG, the second line
  98. is a user name, the next 9 refer to that user (old file), the next 10 now
  99. refer to the user (new file). Be sure to add a blank line at the very end
  100. of the file also (for the bottom user).
  101.  
  102. UPGRADE 01
  103.  
  104. NOTE: Upgrade Action required on this item:
  105. 1. Added a start date to the HDUTL.TIM file. It previously used the start
  106. date of the HDUTL.DOR file, however; when you changed the number of doors
  107. in your DOORS.MNU, the date reverted to the current date, causing a
  108. Situation 6 in Process 12 error when the BBS Usage Graph was constructed.
  109. EDIT YOUR HDUTL.TIM FILE AND ADD A DATE BETWEEN THE FIRST AND SECOND LINES
  110. OF NUMBERS IN THE FORMAT mm-dd (e.g. 12-25). The date reflects the date
  111. when the Usage graph was first started with it's current values. OR,,,,,
  112. rerun HDUTL /F and rebuild all the files and screens.
  113.  
  114. 2. More thorough checking of uploads for imbedded archive files (within an
  115. archive) is performed. Internal archives are extracted and repacked into
  116. the default archive unless the /SP (Skip rePack) switch is used. Tradeoff:
  117. If internal archives are repacked, the original archive must also be
  118. repacked to include them. Any volume labels or path data will be lost (I
  119. haven't gotten that good yet).
  120.  
  121. 3. The filesize of the repacked archive is updated to the ACTUAL size vice
  122. an estimation as used previously.
  123.  
  124. 4. File date stamping in the FILES.LST. The oldest date found in an
  125. uploaded archive, or the actual file date of an uploaded file will be
  126. indicated at the end of the 'Uploaded By' line in mm-dd-yy format.
  127.  
  128. 5. For you dropped carrier watchers, build a file named HDUTL.DRP and
  129. place it in the \UTL directory. It can be either ANSI or ASCII and should
  130. contain your comment to those users who tend to drop carrier without first
  131. signing off the BBS (Use the @X color codes for best results). When HDUTL
  132. finds a user who has dropped carrier, HDUTL.DRP is copied to ##.BBS (user
  133. specific logon screen) to welcome them on their next call. Only one screen
  134. is made and given the .BBS extension so it will always be displayed.
  135. Additionally, in order to keep the amount of code down, I hinged the
  136. function off of the /R (Real name) routine. In order to use it you must
  137. include the /R switch in your BETWEEN.BAT call to HDUTL. (Note I have NOT
  138. tested this feature thoroughly, let me know if there are any problems). The
  139. function is only called for normal runs and is not called by the /F switch.
  140. (e.g. you can't go back and build several display screens for past
  141. offenses) :) Oh yeah, the ##.BBS file is KILLED the next time the same
  142. caller is noted by HDUTL so it doesn't hang around forever.
  143.  
  144. 6. The exit ERRORLEVEL function now indicates whether an upload occurred or
  145. not. An ERRORLEVEL of 1 is returned when upolad(s) were found.
  146.  
  147. 7. Add a deadfile path to the /U switch. If you want files which failed
  148. integrity or virus scanning to be retained, add a path to the /U switch
  149. e.g.  /UC:\TRIBBS\DEADFILE. All files failing /U validity checks will be
  150. copied to this directory and deleted from the upload directory.
  151.  
  152.  
  153.                            V5.01 93/12/24
  154.  
  155. 1. Revamp the BBS Tally and Hourly usage graph screens to make them
  156. more useful and match the other screens more closely.
  157.  
  158. 2. Rework troublesome areas to make them more reliable under all
  159. situations.
  160.  
  161. 3. Add /Q switch to allow HDUTL to run Quietly (Limited printing
  162. of advisories to the screen).
  163.  
  164. 4. Add /SP switch to skip the repacking of uploaded archives to the
  165. default. When used, archives will NOT be repacked, however integrity
  166. and virus checks WILL be performed as usual when the /U switch is
  167. used. The /SP switch has no meaning except as an amplification to the
  168. /U switch.
  169.  
  170. 5. Check for archives within archives and perform integrity and virus
  171. checking on them independently. Normally, internal archives will be
  172. repacked into the default unless the /SP switch is indicated.
  173.  
  174. 6. Add support for DOS 6.2 simply by clipping the comma from the
  175. filesize entered into the FILES.LST.
  176.  
  177. 7. Revamp the handling of excluded callers. Uploads and Downloads and
  178. Door Tallys are now checked as if they were not excluded, however they
  179. will NOT show up in any of the screens.
  180.  
  181. UPGRADE INFO:
  182. This version changes the format of HDUTL.TIM. Rerun HDUTL /F [/R /H##]
  183. to rebuild all screens. (Only the /R /H## /A /L switches should be used
  184. for a forced run) /Recompile your CALLERS.LOG if necessary for the full
  185. run/
  186.  
  187. FIRST TIME USERS:
  188. HDUTL will run 'out of the box' with no switches and do Download
  189. Tracking, and screen generation. You need only edit the HDUTL.CFG for
  190. your board and put HDUTL in your BETWEEN.BAT. Please read the .DOC file
  191. for the advanced features.
  192.  
  193. Note: It was brought to my attention that chunked archives (large
  194. archives split into several files) may cause a problem when they are
  195. reformatted to a new archive format. Off hand, I don't have a solution
  196. for this! Any suggestions?
  197.  
  198. Future:
  199. I would really like to be able to see quickly (from the last 15 callers
  200. screen for instance) if all my MAILRUN stuff went off OK during the
  201. night. Maybe some simple cryptic check marks or something. Hmmm?
  202.  
  203. I will do a quick-and-dirty Dropped Carrier screen soon (by request).
  204.  
  205. APOLOGY: I am sorry but it has become necessary to use a KEY file with
  206. HDUTL in order to realize any benefit from my efforts. Effective with
  207. the release of the V5.01 and V4.02 versions, a KEY file will be necessary
  208. to remove the 30 second wait and alarm. Registered users may pick up
  209. their keys from the Support BBS. The HDUTL.KEY provided with this
  210. archive will allow you to evaluate the program. After it expires the
  211. program will continue to run, but with some agrivation. Copy the .KEY
  212. file to the /UTL directory.
  213.  
  214.                            V3.06 93/12/04
  215.  
  216. 1. Correct yet another stupid programmer's error. Misspelled one of
  217. the variables in the Download tracking section. How dumb!
  218.  
  219.                            V3.05 93/12/04
  220.  
  221. 1. Another bug found in the download section added to handle exclusion
  222. of files from the Top 15 list. Some (if not all) downloads were NOT
  223. being tracked. Fixed. THIS IS THE FINAL RELEASE ?  maybe!
  224.  
  225.                            V3.04 93/12/03
  226.  
  227. 1. Yet another bug fix &^)(%$#.
  228.  
  229.                            V3.03 93/12/02
  230.  
  231. 1. A few more bug fixes, particularly in the /F (force new screens)
  232. area, and the Top 15 exclusion routines. Barring any unforeseen
  233. multi-legged critters, THIS IS THE FINAL RELEASE.
  234.  
  235. Note: It may be worthwhile to recombine your CALLERS.LOG and rerun
  236. HDUTL /F to build new (and hopefully more correct) screens. Use
  237. the DOS call COPY CALLERS.TRM+CALLERS.LOG TMP, then DEL CALLERS.*,
  238. and finally REN TMP CALLERS.LOG, to rebuild your full log. Then
  239. run HDUTL /F (/R if you use it) to rebuild new screens.
  240.  
  241.                            V3.02 93/12/02
  242.  
  243. //Thanks again to my trusty beta observers and testers for their
  244.   input and interest//
  245.  
  246. 1. Correct an error where an extra blank line was added to FILES.LST
  247. for downloads when the downloaded file was the last one in the list.
  248.  
  249. 2. Add some 'fool proofing' to areas that used input from the various
  250. HDUTL.xxx exclusion files.
  251.  
  252. 3. Extend the Top 10 list to the Top 15, and extend the New Users
  253. screen to a full 15 to match the Last 15 screen in length. I still
  254. refer to it alternately as a Top 10 or Top 15 list. I found it weird
  255. that the screens did not fill the computer display and were not the
  256. same length as the Last 15 caller screen.
  257.  
  258. 4. Add yet another exclusion file for the Top 15 list. HDUTL.AFX (Area
  259. File exclude). The file is a pure ASCII file with the file area numbers
  260. you wish to exclude from the screen. The HDUTL.TTX (Top Ten file name
  261. exclude) is still operative if you wish to use it (see B04 below).
  262.  
  263. HDUTL.AFX  Example:
  264. 1
  265. 3
  266. 9
  267. 14         <Simply list the file areas by number, no blank lines.
  268.  
  269. 5. Speed up the search for downloads on /F runs (and on normal runs
  270. as a by-product). (Thanks to the new binary FILES.LST format).
  271.  
  272. 6. Exclude those callers listed in HDUTL.XCL from the Top 15 Up/
  273. Download screen. Now the SysOp won't show up as the top uploader :)
  274.  
  275. 7. Move the DOOR tally routine outside of the Last 15 loop. Due to
  276. the coding used, items in the logon line from the CALLERS.LOG were
  277. not checked for the DOOR tally. Things like baudrate were not looked
  278. at. They are now! (Thanks to Steve Sears's observation).
  279.  
  280. Note1: Index files are suggested to speed up the handling of Download
  281. tracking. MAKEIDX must however be run for all upload directories to
  282. make the recently uploaded files available. Suggest the following in
  283. BETWEEN.BAT to run MAKEIDX if uploads occurred.
  284.  
  285. IF NOT EXIST UPLOAD.DAT GOTO NEXT1
  286. TYPE UPLOAD.DAT >> UPLOADS.DAT           <Save the data if you want
  287. DEL UPLOAD.DAT                           <Delete the file for next run
  288. MAKEIDX /F:#-#     (where #-# will include your upload directories)
  289. :NEXT1
  290. <rest of your BETWEEN.BAT>
  291.  
  292. Note2: If you use the /U upload checking function, ensure the archive
  293. programs, PKZIP/PKUNZIP.EXE, LHA.EXE, PAK.EXE are in the DOS path.
  294. Without them strange things happen to the FILES.LST and file
  295. discriptions, not to mention loss of uploads.
  296.  
  297.  
  298.                            V3.01 93/11/24
  299.  
  300. Revise handling of FILES.LST to support TriBBS V5.01 B07 and
  301. later releases.
  302.  
  303. Follow the instructions in BETA.DOC/README.1ST provided with TriBBS and
  304. run ASCTOBIN /ALL.
  305.  
  306. DO NOT ATTEMPT TO USE THIS VERSION WITH TriBBS VERSION PRIOR TO B07!
  307.  
  308.  
  309.                            V3.00 93/11/20
  310.  
  311. Version 3.0 released.
  312.  
  313. Thanks to: (for trying the new products and offering suggestions)
  314.  
  315.    Michael Kauffmann    Villa Rica, Ga.
  316.    Karl Duncan          Reading, Pa.
  317.    Michael Guerra       Waldorf, Md.
  318.    Butch Nordstrom      Billerica, Ma.
  319.    Jim Kunert           Sheboygan, Wi.
  320.    Jim Wellis           Knoxville, Tn.
  321.    Doug Nelson          Columbia, Mo.
  322.    Steve Sears          Ft.Meyers, Fl
  323.  
  324. Your comments were well taken and greatly appreciated.
  325.  
  326. B04 Released 93/11/17
  327.  
  328. 1. Rework the default archive area to prevent losing Volume Labels in
  329.    ZIPs, to update the file size in FILES.LST and to clean up some
  330.    'bugs' in the routine. File sizes placed in the FILES.LST may differ
  331.    from actual by an amount equal to the size of the DESC.SDI and the
  332.    HDUTL.MSG as they are not contained in the archive when the filesize
  333.    is checked and placed into the FILES.LST.
  334.  
  335. 2. Add a HDUTL.TTX file to exclude filenames or partials from the Top
  336.    10 files list. Enter up to 50 file names or partials (e.g. .GIF)
  337.  
  338. 3. Add checking to ensure uploaded file TEST didn't overwrite an
  339.    existing TEST.ZIP (Default ZIP), when it was forced into an archive.
  340.    Just in case the EXACT MATCH flag was set in TriBBS. If the /U option
  341.    is used, EXACT MATCH should be turned off in TriBBS's WFC System
  342.    Configuration.
  343.  
  344. 4. Changed the color for the numbers in the Top 10 screen to the first
  345.    color (in HDUTL.CLR) vice the 2nd (which was also used for the
  346.    border) I'm working on a better DOC on the color file and how it
  347.    equates to the actual screen colors used.
  348.  
  349. 5. Add a Mail Run hour switch to place a notice in the usage graph for
  350.    the selected hour. Switch /H## added. To designate your Hub run hour
  351.    place the /H## switch on the HDUTL command line. e.g. /H04 for an
  352.    04 A.M. mailrun hour.
  353.  
  354. B03 Released 93/11/13
  355.  
  356. 1. Add /R switch to check login names and replace with Real name if
  357.    they are an alias.
  358.  
  359. 2. Add /M switch to Mark uploads with "Uploaded By: SysOp" if no
  360.    "Uploaded" comment is found in the FILES.LST.
  361.  
  362. 3. Swat a couple of pesky bugs noted by my faithful testers. (THANKS)
  363.  
  364. 4. Add some debug code to print more usable Situation and Process
  365.    information. Include PROCESS.DAT file with keys to printouts.
  366.  
  367. B02 Released 93/11/12
  368.  
  369. 1. Add /ST switch to save the trimmed portion of the CALLERS.LOG into
  370.    CALLERS.TRM.
  371.  
  372. B01 Released 93/11/11
  373.  
  374. Upgrade info: Copy HDUTL.EXE to your directory. Add the /U switch to
  375. the BETWEEN.BAT if you desire to use the new feature. Ensure the default
  376. archive extension is set correctly in TriBBS's WFC Configure System
  377. window. Build an ASCII file HDUTL.MSG if you wish archive comments
  378. added to your uploads. ZIP, ARJ, LZH, ARC, SDN and PAK archives are
  379. currently supported. Build HDUTL.ACX file containing the three letter
  380. file extensions (in UPPER CASE) which are to be excluded.
  381.  
  382. 1. Adds upload archive integrity checking. If used, remember to turn
  383.    off files checking in the WFC setup screen. Deletes files and the
  384.    FILES.LST entries for those that fail.
  385.  
  386. 2. Adds  default archive conversion, the default archive extension is
  387.    taken from the SYSDAT1.DAT file as set from the WFC screen.
  388.  
  389. 3. Adds insertion of archive comments if HDUTL.MSG exist in \UTL dir.
  390.  
  391. 4. Adds virus checking after the user logs off. Calls McAfee's SCAN.EXE.
  392.    Deletes files and FILES.LST entries for those that fail.
  393.  
  394. 5. Also if no FILE_ID.DIZ or DESC.SDI file was contained in the upload, one
  395. will be build from the FILES.LST file description and added to the new
  396. archive. Rebuilding of FILES.LST will have a description.
  397.  
  398. 6. HDUTL.ACX file added to allow exclusion of specific file extensions
  399. from conversion to default archive.
  400.  
  401.  
  402.                             V2.00 93/11/05
  403.  
  404. Upgrade info: Copy HDUTL.EXE to your directory and edit your .CFG
  405. file adding an output screen below the Top 10 screen for the new
  406. BBS Hourly call graph. Edit your BETWEEN.BAT adding the /T# trim
  407. switch if desired. Copy the HDUTL.CLR file to the /UTL directory
  408. and edit it to suit your preferences for screen colors.
  409.  
  410. 1. Added BBS Hourly call graph screen.
  411.  
  412. 2. Added /T#, CALLERS.LOG trim function.
  413.  
  414. 3. Added HDUTL.CLR file to customize screen colors.
  415.  
  416. 4. Recompiles for speed and to correct bugs noted since release
  417. of V1.02.
  418.  
  419.  
  420.                             V1.02 93/10/29
  421.  
  422. Upgrade info: Copy HDUTL.EXE to your directory and edit your .CFG
  423. file to include a screen name for the Top 10. The name is entered
  424. just below the last screen file name in the HDUTL.CFG file. Rerun
  425. the program with the /F switch to build the new screen.
  426.  
  427. 1. Added Top Ten tracking for Uploaders, Downloaders and popular files.
  428. Additional files HDUTL.FIL, HDUTL.UPL and HDUTL.DLD are built to
  429. hold the data. New screen name required in .CFG.
  430.  
  431.  
  432.  
  433.                             V1.01 93/10/24
  434.  
  435. Upgrade info: Simply copy the HDUTL.EXE to your directory. No changes
  436. in any other files.
  437.  
  438. 1. Added a FILECHK.DAT output file. Build an ASCII file named HDUTL.CHK
  439. in the \UTL directory and enter the names of files you wish to track the
  440. downloads for. You may enter full file names (HDUTL.ZIP), or partials
  441. (.ZIP). Each time a user downloads one of these files, an entry is made
  442. in the FILECHK.DAT file:
  443.  
  444.   filename          user            from            date/time logged on
  445. HDUTL11.ZIP     by Hal Holland   From Austell, Ga.   10/24/93 12:51:43
  446.  
  447. 2. If you do not currently use a download tracker on your system, you
  448. may run HDUTL for the FIRST time with both the /F (force new screens)
  449. and /D (force logging of downloads) command line switches. Do NOT run
  450. it a second time with /D switch or false download numbers will result.
  451.  
  452. 3. The printouts to the logging files and screen have been formatted to
  453. be a little neater.
  454.  
  455. 4. It is no longer necessary to run the NEWUSER.BAT file to obtain the
  456. user's city and state. The data is taken from the USERS.DAT file now.
  457.  
  458. 5. Missing entries in FILES.LST or FILES.IDX will no longer bomb the
  459. program. Advisories are provided in HDUTL.LOG.
  460.  
  461.                            V1.00 Original release
  462.                                (see docs)
  463.