home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / tictac13.zip / TICTAC.DOC < prev    next >
Text File  |  1994-08-18  |  10KB  |  211 lines

  1. This is TICTAC version 1.3 and is copyright 1994 by Stephen B. Henry.
  2.  
  3. This version adds more error checking, detects matching files already
  4. in the Wildcat! database or associated directories and moves them
  5. to an "oldfiles" directory while updating the database with the newer
  6. file and information.
  7.  
  8. See the new line in TICTAC.CFG which specifies this directory. The
  9. directory must exist as no checking is done for it nor will it be
  10. created by TICTAC. See also the notes appended to the TICTAC.CFG
  11. file regarding setting up that file for your system.
  12.  
  13. Note also that in this version I have standardized the trailing
  14. backslash on _all_ drive/path entries in TICTAC.CFG. This was causing
  15. problems in the previous versions when someone put a trailing backslash
  16. on the paths for the batch files.
  17.  
  18. Problems with recognizing multiple drives across multiple networked
  19. machines has been corrected. TICTAC should now work just fine on any
  20. peer-to-peer network or any system configuration which supports Wildcat!
  21. If you can run Wildcat! you should be able to run TICTAC. :)
  22.  
  23. Version 1.2 added more useful detail to the TICTAC.LOG and deletes 
  24. .TICs for files that are successfully added to Wildcat!'s filebase.
  25.  
  26. It also added two batch file hooks, TICTAC1.BAT and TICTAC2.BAT which
  27. are optional and may be used for a variety of things. 
  28.  
  29. TICTAC1.BAT is called (see TICTAC.CFG below) just after the program
  30. starts but before any .TIC files are read or processed. It could be
  31. used, for example, to move files to a processing directory and/or
  32. unzip the ALLTICS.XXX file that comes on the Planet Connect feed.
  33.  
  34. TICTAC2.BAT is called (see TICTAC.CFG below) just after the program
  35. completes all TIC/FILE processing and just before it would other-
  36. wise return to Wildcat! This batch file could be used to clean up
  37. processing directories, move un-tossed files and resulting .TAC
  38. files to a holding directory, etc. This is ideal if you are going
  39. to be away and need the system to process automatically without
  40. stumbling over dregs from previous runs.
  41.  
  42. Whether or not these batch files are called and the paths to where
  43. they are located is entered in the TICTAC.CFG file. (see below)
  44.  
  45. Version 1.1 corrected a bug that was forcing files to the default 
  46. directory regardless of area where they were supposed to go.
  47.  
  48. TICTAC is a wcCODE utility designed to run from the SysOp Menu or any
  49. other menu hook or door or as an event. It will only work on Wildcat!
  50. version 4.x.  
  51.  
  52. This package contains the following files:
  53.  
  54. TICTAC.DOC -- this documentation file.
  55. TICTAC.WCX -- the compiled wcCODE file.
  56. TICTAC.LST -- the area list file (needs to be edited to your system!)
  57. TICTAC.CFG -- the configuration file (needs to be edited to your system!)
  58.  
  59. All files should be placed in your main Wildcat! directory. Delete the
  60. .DOC file if you don't want to waste the space.
  61.  
  62. TICTAC is a down and dirty program I wrote because I couldn't wait for 
  63. the "other guys" to get theirs finished and anything else I found was
  64. too slow or too disk intensive, or just plain too expensive! When wcCODE
  65. arrived it seemed like the logical way to go. Here are the results.
  66.  
  67. This file is distributed as shareware which means you are supposed to 
  68. register it if you decide to keep using it. It's fully functional, won't
  69. expire and won't intentionally do anything nasty to your system. There
  70. is no warranty of any kind however so if you use it you are on your own.
  71. I will not acknowledge any responsibilty for any use to which this program
  72. is put -- intended or otherwise.
  73.  
  74. If you like it (ie: you use it more than 30 days!) send your $10
  75. registration fee (US or CDN is fine) to:
  76.  
  77. Stephen B. Henry
  78. 329 Simon Street
  79. Shelburne, Ont. Canada L0N 1S4
  80.  
  81. You can get support _if you registered_ by calling AMBASSADOR BOARD at
  82. (519) 925-2642 for a full access free GUEST account at 9600 bps, or
  83. (519) 925-0023 for a PREVIEW account (you can write messages!) at 14,400
  84. bps. For the PREVIEW account use login name: NEW USER and password: ACCESS.
  85. You can also reach me in the MSI SupportNET as Steve Henry or by Internet
  86. as steve@ambassador.com. I will accept voice phone calls (at reasonable
  87. times - eastern) but I would prefer your register first. (519) 940-9252
  88.  
  89. Those who do register will be sent the next version when it is released.
  90. Bug fixes are free if you download them from the usual sources.
  91. Proposed additions include message to SysOp and/or Callers re new imports.
  92. Unlimited file areas (to the limits of your system's memory). Notification
  93. of orphaned files. File dates or current date will be optional. And a few 
  94. other goodies.
  95.  
  96. Setup is easy. (I'm a SysOp, remember!)
  97.  
  98. 1) edit the sample TICTAC.CFG file to suit your system. It is ASCII and
  99.    has TEN lines:
  100.  
  101.    1 - drive and path to inbound files (the ones you are going to toss).
  102.    2 - drive and path to .TIC files (can be same as 1).
  103.    3 - drive and path for default destination directory (where to put
  104.        files not found in TICTAC.LST).
  105.    4 - Wildcat! file area _number_ for default area.
  106.    5 - Description of default area.
  107.    6 - drive and path for "oldfiles" directory (where to put files already
  108.        in Wildcat! database that are the same as one to be processed).
  109.    7 - Y or N - run TICTAC1.BAT or not.
  110.    8 - drive and path to TICTAC1.BAT or "none".
  111.    9 - Y or N - run TICTAC2.BAT or not.
  112.   10 - drive and path to TICTAC2.BAT or "none".
  113.  
  114. Line 1 is so the program can find the files to import (it moves them to 
  115. the correct Wildcat! area)
  116.  
  117. Line 2 is where the program will look for the .TIC files. TICs with no
  118. associated file or for which the file cannot be imported for one reason
  119. or another (TICTAC does limited error checking) are renamed to a .TAC
  120. extension. At this point it's up to the SysOp what they do with them 
  121. after a TICTAC run. TICs for successfully processed files are deleted.
  122.  
  123. Line 3, 4 and 5 define the default file area (such as "New Files" or 
  124. "Miscellaneous Files") which is where TICTAC will put any processable
  125. files that do not match an area listed in the TICTAC.LST file. The Fido
  126. area name from the TIC file is now written to the TICTAC.LOG file for
  127. reference.
  128.  
  129. Line 6 is the drive and path to the "oldfiles" directory.
  130.  
  131. Line 7, 8, 9 and 10 set up the processing for TICTAC1.BAT and/or TICTAC2.BAT
  132. and must contain the appropriate choice of information. There must be ten
  133. lines in TICTAC.CFG.
  134.  
  135. A TICTAC.LST file is also needed. It is also ASCII and has one line
  136. for each Fido area with four elements on each line. The elements are:
  137.  
  138.    1 - Wildcat! file area number as per MAKEWILD
  139.    2 - Fido file area name as per the .TIC file (use FILEBONE.NA for 
  140.        complete list)
  141.    3 - Wildcat! file area description as per MAKEWILD or similar
  142.    4 - Drive and path to associated file area directory
  143.  
  144. See details in the sample TICTAC.LST file provided. Elements on each line
  145. must start at the column numbers indicated, be no longer than the indicated
  146. lenght and there must be four elements per line or unpredictable results
  147. will occur. DO NOT use TABs to separate the functions, use the SPACEBAR!
  148.  
  149. TICTAC will use this information to match and process files. TICs without
  150. associated files will be renamed with a .TAC extension. Files with no
  151. associated .TIC file will be ignored. TICs/files that cannot be processed
  152. will be renamed with a .TAC extension and the file left alone. TICs for 
  153. files that are successfully processed will now be deleted. Files that
  154. match existing files in the Wildcat! database will cause the database to
  155. be updated with the new information and the "old" file will be copied 
  156. to the "oldfiles" directory as specified in TICTAC.CFG. The associated
  157. .TIC file will then be deleted.
  158.  
  159. Add the file to a menu (SysOp or other controlled menu is recommended!)
  160. or as an event. To do this use MAKEMENU. A SysOp Menu item with an
  161. unusual command choice like [@] is suggested. Remember to select "RUN
  162. WCX FILE" as the command type and set the parameter to "TICTAC.WCX".
  163.  
  164. If no TICs are present TICTAC will cycle through it's configuration and
  165. exit cleanly back to the BBS. It works well in unattended events. If the
  166. process is aborted for some reason you can just start over and TICTAC
  167. will pick up where it left off. Only in the rarest circumstances will
  168. a file be overlooked and in that case it will remain in the "inbound"
  169. directory.
  170.  
  171. How it works:
  172.  
  173. TICTAC starts be reading it's .CFG and .LST files and preparing the 
  174. information in those files for use. 
  175.  
  176. Next TICTAC checks to see if batch file #1 was configured for use. If
  177. so it shells to DOS and runs it.
  178.  
  179. It then looks for TICs in the indicated directory and processes them
  180. one at a time making use of information from the .CFG, .LST, .TIC and
  181. other system files. Files are moved to their proper directories and the
  182. Wildcat! file database is updated with the filename, size, current date,
  183. uploader (TICTAC) and descripton in the indicated area.
  184.  
  185. A rudimentary log file (TICTAC.LOG) is produced with enough detail to
  186. help you track files and determine which files were not available to be
  187. processed by orphaned TICs (renamed .TAC)
  188.  
  189. Finally TICTAC checks to see if batch file #2 was configured for use. If
  190. so it shells to DOS and runs it.
  191.  
  192. It then returns to Wildcat!
  193.  
  194. This file has been well tested and works flawlessly on my system. It is
  195. fast enough to make it an acceptable tool for my use. Maybe you will like
  196. it too. The price is certainly right and I intend to upgrade and support it.
  197. It's not flashy... I've gone Spartan in favour of speed. I hope to improve
  198. on that in the next release too. It will never have a glitzy ANSI screen
  199. interface. It just gets the job done.
  200.  
  201. If you have any ideas, suggestions or bug reports, please send them along
  202. to me. The source code is not available at this time, so please don't ask.
  203.  
  204. Thanks to Ron Goodchild, SysOp of BAY AREA TECHNICAL SERVICES, Tampa Fl,
  205. for his patience during the early stages of the development of TICTAC.
  206.  
  207. Steve Henry
  208. August 18/94.
  209.  
  210.  
  211.