home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MODEM / DLRK24.ZIP / DLRK24.DOC < prev    next >
Text File  |  1994-02-13  |  22KB  |  454 lines

  1. DOWNLOAD RECORDKEEPER version 2.4
  2. Written by Allen Brown.
  3. Compatible with Telix v3.22, v3.21, v3.15, and other Telix versions which
  4.    use the same Usage Log format.
  5.  
  6.  
  7. CONTENTS OF THIS DOCUMENT:
  8. --------------------------
  9. WELCOME
  10. ZIP FILE CONTENTS
  11. DATA FILE AND SETUP FILE CONTENTS
  12. PROGRAM OPERATION
  13. * OPTION ONE:   UPDATE DATA WITH TELIX USAGE LOG
  14. * OPTION TWO:   DISPLAYING THE DATA
  15. * OPTION THREE: CONFIGURATION SETUP
  16. * OPTION FOUR:  MANUAL DATA ENTRY
  17. * OPTION FIVE:  FILENAME SEARCH
  18. * OPTION SIX:   PRINTING THE DATA
  19. IF DOWNLOAD RECORDKEEPER WON'T WORK
  20. THE ORIGIN OF DOWNLOAD RECORDKEEPER
  21. HOW TO REGISTER YOUR COPY OR CONTACT THE AUTHOR
  22. DLRK FOR MODEM PROGRAMS OTHER THAN TELIX
  23. ACKNOWLEDGMENTS
  24. THE END
  25.  
  26.  
  27. WELCOME to Download Recordkeeper version 2.4.  If you use Telix
  28. as your modem/communication program, DLRK is about to make keeping
  29. track of your downloads a very simple and convenient matter.  If
  30. you don't use Telix, you can still use DLRK (via option 4 from the
  31. main menu), but you won't be able to make use of DLRK's automatic
  32. update feature.  Or, if your modem program keeps a usage log in the
  33. same format as Telix, then Download Recordkeeper can use that usage
  34. log just as well.
  35.  
  36. DLRK 2.4 reads the Telix Usage Log, pulls out the names of files
  37. you've downloaded, and stores them in alphabetical order and/or
  38. extension order to your hard drive.  The list(s) can easily be
  39. displayed or printed, making for easy reference while you're on-
  40. line and ready to download.
  41.  
  42. A glitch found in DLRK version 2.3, involving the Telix default
  43. download directory, has been corrected in DLRK version 2.4.
  44.  
  45. This program is shareware.  See the end of this file for informa-
  46. tion on how to register.  And, this copy of DLRK is not crippled
  47. or diminished in any way to coerce you into registering.  I prefer
  48. to use the honor system.
  49.  
  50.  
  51. ZIP FILE CONTENTS
  52. The archive DLRK24.ZIP should contain the following seven files:
  53.  
  54. DLRK24.EXE     <-- the program
  55. ALPHA.DNL      <-- alphabetical-sort data file
  56. EXTEN.DNL      <-- extension-sort data file
  57. ALPHAPRN.DNL   <-- a sample file produced by the print feature
  58. EXTENPRN.DNL   <-- another sample file for the print feature
  59. SETUP.DNL      <-- program's default configuration
  60. DLRK24.DOC     <-- the file you're now reading
  61.  
  62.  
  63. DATA FILE AND SETUP FILE CONTENTS
  64. The data files ALPHA.DNL and EXTEN.DNL should both contain only
  65. the following five records when you first receive them (not
  66. including the arrows and what follows the arrows):
  67.  
  68. Download Recordkeeper v2.4    <-- program and version identifier
  69. 0                             <-- date of last record
  70. 0                             <-- time of last record
  71. 1                             <-- number of downloads on record
  72. DLRK24.ZIP                    <-- download(s) on record
  73.  
  74.  
  75. And, SETUP.DNL should initially contain the following eight records:
  76.  
  77. TELIX.USE   <-- name of Telix Usage Log
  78. C:\TELIX    <-- directory containing Telix Usage Log
  79. 700         <-- current maximum records per data file
  80. 500         <-- don't ask
  81. ENABLED     <-- status of sort-by-extension feature
  82. YES         <-- back-up data files before update?
  83. no          <-- ask for new back-up name everytime?
  84. 3           <-- number of characters to match during file search
  85.  
  86.  
  87. All of DLRK's files are in standard ASCII text format, so you can
  88. easily edit them yourself in you need to.  If you ever want to remove
  89. downloads from ALPHA.DNL or EXTEN.DNL using a text editor, just remember
  90. to subtract 1 from the fourth record for each record you remove.
  91.  
  92.  
  93. ---------------------------------------------------------------------
  94.  
  95.  
  96. PROGRAM OPERATION
  97. Running the program is very easy.  You might decide to create a sub-
  98. directory for DLRK and all its data files.  The program does not *have*
  99. to have its own directory, but DLRK'S DATA FILES MUST BE IN THE CURRENT
  100. DIRECTORY WHEN YOU RUN THE PROGRAM.  When you first run DLRK, choose
  101. Option 3 to configure the setup for your system, or the program will
  102. use the default configuration in SETUP.DNL, which might or might not
  103. be right for you.  (See OPTION THREE below.)
  104.  
  105. The main menu presents seven options.
  106.  
  107. * OPTION ONE: UPDATE DATA WITH TELIX USAGE LOG
  108. When you choose this option, DLRK extracts the filenames of your
  109. downloads from the Telix usage log and adds them to ALPHA.DNL, which
  110. contains an alphabetical list of the files recorded previously.  After
  111. updating ALPHA.DNL, the program updates the sorted-by-extension list
  112. contained in EXTEN.DNL, provided this feature is enabled from the
  113. Configuration Setup menu.  The alphabetical list will be updated in
  114. either case.  The preexisting data file(s) will be backed-up if you
  115. choose the back-up feature at the Configuration Setup menu. 
  116.  
  117. Telix Usage Logs can become large in a short amount of time.  To
  118. keep from having to re-sort through every download in the log everytime
  119. the program is run, Download Recordkeeper 2.4 keeps track of the date
  120. and time of the most recent addition to its data file(s), and will
  121. only analyze log entries made after that point.  So, an internal clock
  122. or accurate date and time entries at start-up are necessary for the
  123. program to operate properly.
  124.  
  125. It's a good idea to either delete or rename your Telix Usage Log when
  126. it becomes sizable.  I start a new usage log at the beginning of each
  127. month.  If you want to keep your old usage logs for posterity or whatever,
  128. just rename the active log periodically and let Telix start a new usage
  129. log.  The smaller the usage log, the less searching the program must do
  130. before it begins the actual work.  By the way, Download Recordkeeper will
  131. not alter the Telix Usage Log in any way.
  132.  
  133. NOTE: DLRK was originally written for use with Telix v3.15, but it's
  134. compatible with Telix v3.22 and v3.21 as well since they all use the same
  135. usage log format.  If you use another version of Telix (or any other modem
  136. program, for that matter), its usage log will work only if it uses the same
  137. format as Telix v3.22.  See IF DOWNLOAD RECORDKEEPER WON'T WORK below for
  138. the proper format.
  139.  
  140.  
  141. * OPTION TWO: DISPLAYING THE DATA
  142. This option reads ALPHA.DNL from disk and displays it to your screen,
  143. 80 filenames at a time.  It will also display EXTEN.DNL if you have it
  144. enabled.  It's also a simple matter to print out small sections of your
  145. data files by displaying them to the screen and using the <Print Screen>
  146. key.  To print the entire file(s), see OPTION SIX below.
  147.  
  148.  
  149. * OPTION THREE: CONFIGURATION SETUP
  150. This option presents a menu of five choices.
  151.  
  152.    (1) This choice asks for the name and location of the Telix Usage
  153. Log.  TELIX.USE is the default for both Download Recordkeeper and for
  154. Telix itself.
  155.  
  156.    IMPORTANT: Telix does not necessarily maintain a usage log unless
  157. it is set up that way.  If you're not sure if your copy of Telix is
  158. keeping a log, start up Telix, hit ALT-O, choose General Options, and
  159. turn option G on.  Then go back one screen and choose Write Setup to
  160. Disk.  Now Telix will automatically keep a usage log everytime you
  161. run Telix.
  162.  
  163.    (2) This choice will ask you to input the maximum number of
  164. records to be stored in the data file(s).  You should set this
  165. value based on how large your data files currently are and how
  166. much memory your computer has at its disposal.  The smaller you
  167. make your data file capacity, the less memory is used for the
  168. string variable dimension, so don't make it bigger than you need
  169. it to be.  (If you make it about 100 more than your current total,
  170. then it'll be a while before you need to change it again.)  DLRK
  171. will alert you if it's too small.  When you need more room in the
  172. future, just reconfigure when the time comes.
  173.  
  174.    (3) With this choice you either enable or disable the sort-by-
  175. extension feature.
  176.  
  177.    (4) This choice will toggle between backing-up or not backing-up
  178. your old data file(s) as you update the data.
  179.  
  180.    (5) Save configuration.  This choice will write a new SETUP.DNL
  181. file and return you to the main menu.
  182.  
  183.    NOTE: SETUP.DNL also contains a value used by the Filename Search
  184. feature which can be changed when you use that feature.
  185.  
  186.  
  187. * OPTION FOUR: MANUAL DATA ENTRY
  188. This option will allow you to enter filenames into the data file(s)
  189. that may not be in the Telix Usage Log.  You'll have to use this
  190. option at some point if you've downloaded files in the past that are
  191. not contained in any usage log you still have.  When you choose this
  192. option, enter filenames one at a time.  When you're satisfied that
  193. all the data are correct, the program will then sort and save the
  194. data just as it does after pulling filenames from the usage log.
  195.  
  196.  
  197. * OPTION FIVE: FILENAME SEARCH
  198. As you record more downloads, this feature becomes more and more valuable.
  199. This option allows the user to search ALPHA.DNL for specified filenames.
  200. When you input a filename, the program will look for that specific name,
  201. plus any other filenames that begin with the same characters, up to a
  202. range which you dictate.  Or, you can use an asterisk for a wildcard
  203. character.  You can print out the display using the <Print Screen> key.
  204.  
  205.  
  206. * OPTION SIX: PRINT DATA
  207. Choose this option and you'll be asked which of your data files to
  208. print, and whether to send the output to both the printer and a data
  209. file, or to a data file only.  Output to the disk in ASCII text is
  210. automatic regardless.  This is done in case you wish to print the
  211. file later from DOS after you finish with the program.
  212.  
  213. The output file will be named either ALPHAPRN.DNL or EXTENPRN.DNL.
  214. Any preexisting file of the same name will be backed-up with the
  215. BAK extension.
  216.  
  217. In case you're operating from a LAN and cannot print directly to LPT1,
  218. then you have two options for printing your data files.  (1) Your first
  219. option is to use the print function and output to disk only.  Then read
  220. the output file into your LAN's word processor.  If you try this, be
  221. sure to use Courier or some other monospaced font at a maximum of 10
  222. characters per inch, or else your printout will look screwy.  Also, set
  223. your margins at 0 or near 0.  You'll have to experiment with the number
  224. of blank lines between each page to find what's right for your word
  225. processor and printer.  (2) Your other option is to read one of the
  226. DLRK data files (ALPHA.DNL or EXTEN.DNL) into your word processor and
  227. use the word processor's column function to arrange the filenames on
  228. the page as you wish them to appear.  Each of these options has its
  229. advantages and disadvantages which you'll discover if you try them.
  230.  
  231.  
  232. * OPTION SEVEN: QUIT THE PROGRAM
  233. Don't worry -- I'll keep the verbiage on this option to a minimum.
  234. It's over already.
  235.  
  236.  
  237. -----------------------------------------------------------------------
  238.  
  239.  
  240. You might want to keep a hard copy of one of the data files at
  241. your computer so you can refer to it when you decide to download
  242. files.  The sorted list(s) should make it easy to find a filename.
  243. Or, you can always drop to the DOS shell with the ALT-J command in
  244. Telix, and run DLRK's Filename Search feature while you're on-line.
  245.  
  246. REMEMBER: No matter how you use it, DLRK will not do you much
  247. good unless you keep your data file(s) updated.
  248.  
  249.  
  250. IF DOWNLOAD RECORDKEEPER WON'T WORK:
  251. > First, make sure that the data files (ALPHA.DNL, EXTEN.DNL, SETUP.DNL,
  252.   ALPHAPRN.DNL, and EXTENPRN.DNL) are all in the current directory when
  253.   you run DLRK24.EXE.
  254.  
  255. > Next, make sure that your copy of Telix is actually maintaining a
  256.   usage log.  Telix does not necessarily maintain a usage log unless
  257.   it is set up that way.  If you're not sure that your copy of Telix is
  258.   keeping a log, start up Telix, hit ALT-O, choose General Options, and
  259.   turn option G on.  Then go back one screen and choose Write Setup to
  260.   Disk.  Now Telix will automatically keep a usage log everytime you
  261.   run Telix.
  262.  
  263. > Next, make sure you have configured the program setup to match
  264.   your system setup (Option 3 from the Main Menu), especially with
  265.   regard to the name and path for the Telix Usage Log.  See OPTION
  266.   THREE (1) above for more information.
  267.  
  268. > Make sure that the version of Telix you're using is 3.22 or 3.21,
  269.   or that the version you're using keeps a usage log in the format of
  270.   the following example:
  271.  
  272. 92-10-03  17:36:20  Connected with : Bob's BBS
  273. 92-10-03  17:36:20  ++ At phone #  : 1-904-656-6178
  274. 92-10-03  17:36:20  ++ Settings    : 2400,N,8,1
  275. 92-10-03  17:41:46  Download using Zmodem protocol.
  276. 92-10-03  17:41:46  ++ File : c:\telix\download\file1.zip
  277. 92-10-03  17:44:02  ++ Chars per second : 232
  278. 92-10-03  17:44:10  ++ File : c:\telix\download\file2.zip
  279. 92-10-03  17:47:24  ++ Chars per second : 230
  280. 92-10-03  17:49:55  Upload using Zmodem protocol.
  281. 92-10-03  17:49:55  ++ File : C:\ARCHIVES\DLRK24.ZIP
  282. 92-10-03  17:55:16  ++ Chars per second : 231
  283. 92-10-03  17:55:33  Elapsed time online 00:10:13
  284. 92-10-03  17:55:39  Exiting Telix.
  285.  
  286.   According to the Telix documentation, the usage log should be in
  287.   the above format.  Note the YY-MM-DD arrangement of the date, and
  288.   the HH:MM:SS (24-hour) arrangement of the time.  Also note two
  289.   spaces between the date and the time, and between the time and the
  290.   log notation.  The usage log MUST be in this format for Download
  291.   Recordkeeper to extract data from it properly.
  292.  
  293. > If the program keeps giving you "Out of string space" or "Out of
  294.   memory" errors, then use the Configuration Setup (option 3 from the
  295.   main menu) to lower the limit on the size of your data file capacity.
  296.   Or, try to free up as much of your conventional memory as possible.
  297.  
  298. > If the program won't pull new download filenames from your usage log,
  299.   even though you know new filenames are there, check the 2nd and 3rd
  300.   records of your data file(s) against the most recent download dates
  301.   in the usage log.  These 2nd and 3rd records contain the date and
  302.   time, respectively, of the most recent download the program has
  303.   recorded.  They should contain something like 921011 and 131026,
  304.   which translate to 92-10-11 (the date) and 13:10:26 (the time).
  305.   Now, the program will only extract downloads from the usage log
  306.   which were entered into the log AFTER the date and time of your
  307.   most recent update.  If the filenames to be added have a date and
  308.   time that's BEFORE those of your most recent update, then DLRK will
  309.   ignore them.  If so, use an ASCII text editor to change the 2nd and
  310.   3rd records to a date/time that's before the date/time of the new
  311.   downloads contained in the usage log.  Be sure to keep the 2nd and
  312.   3rd records of the data files in the YYMMDD and HHMMSS form (no hyphens
  313.   or colons).  To avoid this trouble, keep your internal clock accurate,
  314.   or be sure to input the accurate date and time at start-up; or if
  315.   you're trying to pull filenames from several different usage logs,
  316.   always update from the oldest logs first.
  317.  
  318. > If you're reading this on or after January 1, 2000, and you were using
  319.   DLRK before the turn of the century, then use an ASCII text editor
  320.   to change both the 2nd and 3rd records of your data files to 0 for
  321.   your first update *after* 2000 starts.  Otherwise, DLRK won't pull
  322.   any filenames from your Telix Usage Log which were acquired after the
  323.   year 2000 started.  If you read the previous paragraph, you can figure
  324.   out the reason.  (However, I kind of doubt that anyone will still be
  325.   using the same hardware, operating system, and software in the year
  326.   2000 that we're now using in 1993.  I'm just trying to cover all the
  327.   bases.)
  328.  
  329. > If you've used an ASCII text editor to remove unwanted records from
  330.   one or both of your data files (ALPHA.DNL and EXTEN.DNL), and now you
  331.   keep getting a fatal error when the program tries to read your data,
  332.   make sure you subtracted 1 from the fourth record of the data files
  333.   for each record you deleted.  That fourth record tells DLRK how many
  334.   downloads are contained in each file.  So, say ALPHA.DNL contained 570
  335.   downloads, and you deleted three of them, but you failed to change the
  336.   fourth record from 570 to 567.  DLRK is trying to read 570 filenames
  337.   even though the file now contains only 567, and that's why the program
  338.   is crashing.  No, DLRK doesn't stop reading at EOF -- this is a built-in
  339.   control element.
  340.  
  341. > If you've taken care of all the above conditions, and the program
  342.   still won't work, you might have found a bug that escaped my scrutiny.
  343.   Make note of the circumstances surrounding the failure, and the error
  344.   code displayed at the failure, and contact me using my CIS account, my
  345.   Internet account, my Prodigy account, or my mailing address, all denoted
  346.   near the end of this document.  Please include as many details about the
  347.   problem as possible.
  348.   
  349.  
  350. THE ORIGIN OF DOWNLOAD RECORDKEEPER
  351. I decided to write the program after I began to download files from
  352. CompuServe and various bulletin board systems.  After I had downloaded
  353. a certain number of files (some of which I kept, and some of which I
  354. discarded), it became more and more difficult to remember right off
  355. the top of my head which files I had already downloaded.  Specifically,
  356. I would be looking through a BBS's list of downloadable files, while
  357. on-line, thinking something like, "Hmmm, that file sounds pretty good.
  358. I think I'll download it," only to discover later that I had already
  359. downloaded the file previously.  Naturally this was pretty frustrating,
  360. especially if I wasted long-distance time or added a debit to my
  361. upload/download ratio by needlessly downloading the same file twice.
  362. Surely I'm not the only one to suffer from such an experience.
  363.  
  364. I asked my friend and computer-communications guru, Bob O'Lary,
  365. if there was any way that Telix would alert me if I told it to down-
  366. load a file I had already downloaded.  Cheerfully but incredulously,
  367. he replied with something like, "You mean you want Telix to somehow
  368. sort through a list of the all the hundreds of files you've ever
  369. downloaded, everytime you download?"  I gave up on that idea.
  370.  
  371. Of course, many communication programs will allow users to display
  372. a directory of their own files while on-line, and many times I used
  373. this option to try to keep from performing repeat downloads.  However,
  374. this course of action can quickly become tiresome if you have to search
  375. through multiple directories.  Furthermore, it is of no use at all if
  376. you have already deleted the first download from your hard drive.
  377.  
  378. So, after a number of wasteful repeat downloads, I decided to write
  379. Download Recordkeeper.  I think it's comprehensive, effective, and
  380. easy to use.
  381.  
  382. I've gone through the program many, many times and removed all the
  383. bugs I could imagine, and even some I didn't imagine, but there
  384. could still be some bugs lurking around.  If you find an error you
  385. can't fix, drop me some e-mail or send me a letter as denoted below.
  386. I've built in some error-trapping routines to handle the most likely
  387. errors you might encounter, but I realize that some could fall through
  388. the cracks.  If an error pops up that Download Recordkeeper isn't
  389. programmed to handle, it'll be announced as a "fatal error," and the
  390. program will end.  Make note of the circumstances in as much detail as
  391. you can, let me know about the problem, and I'll fix it.
  392.  
  393.  
  394. HOW TO REGISTER YOUR COPY OR CONTACT THE AUTHOR
  395. Download Recordkeeper was written by Allen Brown.
  396. CIS 72760,667
  397. Internet allen@freenet.fsu.edu
  398. Prodigy MMMJ81A
  399. All rights reserved.
  400.  
  401. This modest program is SHAREWARE.  If you keep it and use it, you
  402. are obligated to send $5.00 (quite a reasonable price, I believe),
  403. or whatever you think the program is worth, to:
  404.  
  405. Allen Brown
  406. P.O. Box 681
  407. Gulf Shores, Alabama  36547
  408.  
  409. On the other hand, if you have not registered the program, you can
  410. still contact me about it.  I'm willing to discuss DLRK with you,
  411. whether you've paid for the program or not.
  412.  
  413. This program is presented "as is."  The author will not assume
  414. responsibility for any data mishaps (not that any disasters could
  415. happen anyway).  Feel free to send comments, suggestions, or bug
  416. reports.  Registered users who donate at least $5.00 will receive
  417. notice of program updates by providing me with their CompuServe,
  418. Internet, and/or Prodigy user ID's.
  419.  
  420. Feel free to upload DLRK24.ZIP to any BBS you like, as long as you
  421. include all the original files.
  422.  
  423.  
  424. DOWNLOAD RECORDKEEPER FOR MODEM PROGRAMS OTHER THAN TELIX
  425. I have been asked to modify DLRK so that it will read the usage logs
  426. of modem programs other than Telix.  Naturally, I understand there are
  427. many folks out there using modem programs other than Telix.  If you
  428. would like a version of DLRK for some other modem program, drop me a
  429. line and I'll see what I can do.  Include a sample usage log (computer
  430. file, not hard copy) of the modem program in question containing various
  431. examples of download notation.  As of this writing, I have another
  432. version of DLRK for Telemate.  Theoretically, DLRK could be modified
  433. for any modem program which records downloads in a usage log.
  434.  
  435.  
  436. ACKNOWLEDGMENTS
  437. Many thanks to Bob O'Lary for his specific advice and for his general
  438. words of wisdom.  (Call Bob's BBS at 904-656-6178, 8-N-1.)
  439.  
  440. Telix Copyright (C) 1986-94 deltaComm Development, PO Box 1185, Cary,
  441. NC 27512.
  442.  
  443. Download Recordkeeper was written with MS QuickBasic 4.50 on a 386
  444. machine operating under DR DOS 6.0.  I hope the program proves useful
  445. to you.  It works great for me.
  446.  
  447. Thanks for supporting the shareware concept!  Only you can make
  448. shareware work.  If you use DLRK and Telix, please give serious
  449. consideration to registering them.  Upgrades and advances are made
  450. possible only by users who honor their shareware obligations.
  451.  
  452.  
  453. THE END
  454.