home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / what.zip / WHAT.DOC < prev   
Text File  |  1991-04-28  |  19KB  |  458 lines

  1.  
  2.          ╔═══════════════════════════════════════════════════╗
  3.          ║                                                   ║
  4.          ║  WHAT - The Directory Documentation Utility       ║
  5.          ║  Version 2.15 Copyright (C) by Bill Newell, 1987  ║
  6.          ║                                                   ║
  7.          ╚═══════════════════════════════════════════════════╝
  8.  
  9.  
  10.  
  11. NOTICE to users of WHAT Version 2.00 !!!!
  12. -----------------------------------------
  13. If you are a user of WHAT Version 2.00, please review the section "Change
  14. History" at the end of this document.  In order to use a version of WHAT greater
  15. than 2.00, you will have to rename any existing Directory Documentation Files on
  16. your system before starting to use this new version.
  17.  
  18. The Directory Documentation File name that is now used by WHAT is the name of
  19. the directory being processed, appended with a .DIR extension.  For example, if
  20. you are processing a directory called LETTERS, the Directory Documentation File
  21. will be named LETTERS.DIR.
  22.  
  23. You can rename your Directory Documentation Files by using the DOS Rename
  24. command:
  25.  
  26. Example:  RENAME WHAT.DIR LETTERS.DIR
  27.  
  28.  
  29.  
  30. How to use WHAT without reading the documentation:
  31. --------------------------------------------------
  32. If you're like most of us, you down-loaded this program because you wanted to
  33. use it's advertised feature; that is, to be able to add a description to each
  34. entry in one of your sub-directories.
  35.  
  36. What you DON'T want to do, is to have to wade through a pile of documentation
  37. before you figure out out HOW to use this program.
  38.  
  39.  
  40. OK, here's the CONDENSED version of the WHAT Documentation File:
  41.                ---------
  42.  
  43. 1.  Copy the WHAT.COM program to the directory you want to document, or to
  44.     any directory that you can access via the DOS PATH command.
  45.  
  46. 2.  Change to the directory you want to document.  (eg. CD\LETTERS)
  47.  
  48. 3.  Execute WHAT.  (You will be prompted for a description for each entry in
  49.     your directory).
  50.  
  51. 4.  Execute WHAT /A  (You will see all files in your directory with the
  52.     associated description you entered).
  53.  
  54. 5.  Execute WHAT /?  (This will show you the other processing options of the
  55.     WHAT program).
  56.  
  57. 6.  Read the WHAT.DOC file sometime when you have nothing better to do, which is
  58.     an expanded description of the above five steps.
  59.  
  60.  
  61. --------------------------------------------------------------------------------
  62.     DON'T YOU WISH ALL OTHER PROGRAMS CAME WITH A CONDENSED VERSION OF THE
  63.     DOCUMENTATION ????              (Maybe we can set a trend here ??....)
  64. --------------------------------------------------------------------------------
  65.  
  66.  
  67.  
  68. Why use WHAT ?
  69. --------------
  70. In the dark about some of the files contained in your directory ?  Ever
  71. wonder what that obscure program you added in 1984 called FROG.COM does, and
  72. where it came from in the first place ?  Are you afraid to execute that
  73. program CRASH.EXE, because you've forgotten what it does...., but you don't
  74. want to delete it because it really may be useful ?  Ever wish DOS filenames
  75. were longer ?  Or wish DOS gave you a facility for keeping track of the
  76. contents in your sub-directories ?
  77.  
  78. If you've answered YES to any of these questions, then WHAT is for you !!
  79.  
  80. NOW THESE PROBLEMS ARE GONE !!
  81.  
  82. WHAT is a neat, fast program which allows you to give descriptions to programs
  83. out there in your directories.  You can view and update them anytime you want.
  84.  
  85. You can also use WHAT to search your directory for the occurrence of any
  86. literal.  For example, executing WHAT PRINTER will display all directory entries
  87. that contain the literal PRINTER in the description you gave to your files,
  88. using WHAT.
  89.  
  90. The best news is that you can use this program and not pay for it unless you
  91. like it !  I wrote this program to solve my own problems with keeping track of
  92. the contents of my sub-directories, and I want to share it with you.  If you
  93. like it and use it, then please send 15 bucks to keep me encouraged to write
  94. more programs, and to reinforce my faith in the "Shareware" concept of
  95. distributing software.
  96.  
  97. I hope you enjoy this program and find it useful.
  98.  
  99.  
  100. Sincerely,
  101.  
  102.  
  103. Bill Newell
  104. 249 Foxden Circle
  105. Naples, FL 33942
  106.  
  107.  
  108.  
  109. What is WHAT ?
  110. --------------
  111. WHAT is a utility program designed to help you keep track of the contents of
  112. your disk directories.  It will work with DOS 2.0 or later.
  113.  
  114. The WHAT program maintains a documentation file for each of your diskettes, or
  115. disk directories; and you can attach a description (up to 61 characters) to
  116. each entry in your directory.
  117.  
  118. Once you have set up your initial Directory Documentation File using WHAT,
  119. then you can use WHAT's search facility to display your description records;
  120. either all of them, or a sub-set based upon a search argument that you
  121. specify.
  122.  
  123. Since the Directory Documentation File is an ASCII file, you can also use your
  124. favorite text editor to access/maintain this file.
  125.  
  126.  
  127.  
  128. The WHAT help screen:
  129. ---------------------
  130. There are no complicated commands to remember; anytime you forget what
  131. options are available to you, just enter WHAT /? and the following help
  132. screen will appear:
  133.  
  134.  
  135.  
  136. >>>> WHAT - The Directory Documentation Utility <<<<
  137.  
  138.  
  139. Ways to use WHAT:
  140. -----------------
  141. WHAT               -  Prompts you for any missing descriptions.
  142.  
  143. WHAT /U            -  Prompts you to Update the descriptions of ALL
  144.                       your files.
  145.  
  146. WHAT /U FileName   -  Prompts you for descriptions of your files,
  147.                       starting at FileName.
  148.  
  149. WHAT /A            -  Displays all records in your Directory Documentation
  150.                       File.
  151.  
  152. WHAT XXXXX         -  Displays all records containing XXXXX, where
  153.                       XXXXX is a sequence of characters (any length),
  154.                       appearing in either the filename or description.
  155.  
  156. WHAT /D XXXXX      -  Same as above, but displays only records where
  157.                       XXXXX appears in the description.
  158.  
  159. What /?            -  Displays this screen.
  160.  
  161.  
  162.  
  163. Creating/Updating your Directory Documentation File:
  164. --------------------------------------------------
  165. Set your current DOS directory to the sub-directory you want to work with
  166. and then execute WHAT.  If a Directory Documentation File does not exist, then
  167. it will be created, and you are prompted to supply a description for each
  168. entry in your directory.  If a Directory Documentation File does exist, then
  169. it is updated to reflect any deletions or additions made to your directory
  170. since the last time you executed WHAT.  You are prompted for a description
  171. for any added items, as well as for existing entries that do not yet have a
  172. description.
  173.  
  174. CAUTION !!!!  -- If you have entered descriptions for files in your directory
  175. that are now no longer there, (you have deleted the files, or moved them to
  176. another sub-directory), the descriptions records for these files will be
  177. AUTOMATICALLY DELETED.  WHAT will NOT notify you when it deletes decription
  178. records for files that are no longer present in the directory you are
  179. processing.
  180.  
  181. Additional processing options are available, such as WHAT /U and WHAT /U
  182. FileName.  Please refer to the Help screen for a description of these
  183. options.
  184.  
  185. When WHAT prompts you for a description, a screen similar to the following
  186. will appear:
  187.  
  188. WHAT - The Directory Documentation Utility
  189. Version 2.15 Copyright (C) by Bill Newell, 1987
  190.  
  191. Reading directory: C:\LETTERS
  192. Sorting directory entries
  193. Processing ┌──────────────────────────────────────────────────────────────╖
  194.            │ Please enter a description for: WHAT.DOC                     ║
  195.            │                                                              ║
  196.            │ -                                                            ║
  197.            ╘══════════════════════════════════════════════════════════════╝
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204. Last Description:  The Directory Documentation Utility
  205.  
  206. Saved Description:
  207.  
  208.  
  209.  F1: Save Desc  F2: Use Saved Desc  F3: Use Last Desc  ─ Esc to quit ─
  210.  
  211.  
  212. Editing keys available when entering a description:
  213. ---------------------------------------------------
  214. The following keys can be used when entering/updating a description:
  215.  
  216. The cursor left, cursor right, backspace, insert and delete keys perform as
  217. you would expect them to.
  218.  
  219. The Home key takes you to the beginning of the description.
  220.  
  221. The End key takes you to the end of the description.
  222.  
  223. The Ctrl-End keys clears the field from the current cursor position to
  224. the end of the field.
  225.  
  226. When you are finished entering the description, pressing the Enter key
  227. updates the Directory Documentation File.
  228.  
  229. Pressing the Esc key processes the remaining file without prompting you for
  230. any more descriptions.  This option is useful when you want to enter
  231. descriptions for just a few files in your directory at a time.
  232.  
  233. There are two additional options on this screen that you may find useful:
  234.  
  235. WHAT displays the "Last Description" it has read.  If you want to use this
  236. as the description for the current entry, then just press F3 (make any
  237. additional changes you want), and then press the Enter key.
  238.  
  239. You can also press F1 to save a "current" description (before you press
  240. Enter), and recall this description anytime by pressing the F2 key.
  241.  
  242. You should run WHAT to update your Directory Documentation Files on a regular
  243. basis.  This will ensure that your file reflects any additions and/or
  244. deletions you have made recently, and also allows you to readily enter
  245. descriptions for any new items while you can still remember what they are.
  246.  
  247.  
  248.  
  249. Using the WHAT search facility:
  250. -------------------------------
  251. Once you have created a Directory Documentation File, then you can use WHAT's
  252. search facility to display your description records.
  253.  
  254. To see all the records in your Directory Documentation File, enter WHAT /A
  255.  
  256. Additional search options are available, such as WHAT XXXXX and WHAT /D
  257. XXXXX.  Please refer to the Help screen for a description of these options.
  258.  
  259. When WHAT has found all the records you requested, you see a screen
  260. similar to this:
  261.  
  262.  
  263.  
  264. WHAT - The Directory Documentation Utility
  265. Version 2.15 Copyright (C) by Bill Newell, 1987
  266.  
  267. Searching for: "WHAT"
  268.  
  269. File Name          D e s c r i p t i o n
  270. ------------       ------------------------------------------------------------
  271. WHAT.COM           The Directory Documentation Utility
  272. WHAT.DIR           Documentation file for WHAT
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.    Home End PgUp PgDn  ─ Esc to Quit ─  Sort  Print   2 records  Top of File
  284.  
  285.  
  286. The following keys can then be used to change the display:
  287.  
  288. The cursor up and cursor down keys scroll the display one line at a time.
  289. (The cursor left and cursor right can also be used, if you prefer.)
  290.  
  291. The Home key displays the first screen of your file.
  292.  
  293. The End key displays the last screen of your file.
  294.  
  295. The PgUp/PgDn keys display any preceding/succeeding screens.
  296.  
  297. Press the Esc key to end the program.
  298.  
  299. Pressing S (Sort) asks you whether you want to sort by (N) Name or (D)
  300. Description.  Then Press N or D to sort the records you have selected.  For
  301. users that prefer (F) FileName to (N) Name, pressing the F key also works.
  302. If you are a power-user, and know what it is you want to sort on:  N,D,(or F);
  303. you don't even have to enter the S (for Sort) first.  Just pressing N,D,(or F)
  304. will do just fine.
  305.  
  306. If you want a printout of the records you selected, press P (Print).
  307.  
  308. The remainder of the status line displays the number of records that have
  309. been found, as well as an indication on whether you are at the Top of the
  310. File, Bottom of the File, or somewhere in-between.
  311.  
  312.  
  313. Some Limitations:
  314. -----------------
  315. As with all good things; there are some limitations to the capacities that
  316. WHAT can handle.
  317.  
  318. Using WHAT to maintain your Directory Documentation Files, you are limited to
  319. 1,000 directory entries.  Nothing bad will happen if you have more than
  320. that, but just the first 1,000 entries will be processed.  (If you have more
  321. than 1,000 entries, you should REALLY consider re-organizing your disk, as
  322. your DOS access time will be abominable !!)....
  323.  
  324. WHAT keeps all "selected" records in memory (for fastest access).  When you
  325. use WHAT's search facility there is a limit of 400 records that can be
  326. stored during any one search.  Again, nothing nasty will happen if WHAT
  327. finds more than 400 matching entries, but only the first 400 will be
  328. displayed.
  329.  
  330. In addition, should more than 400 entries match your search criteria, you
  331. will see a blinking message on the status line, to make you aware that the
  332. maximum number of selected records has been exceeded.
  333.  
  334.  
  335.  
  336. Error Messages:
  337. ---------------
  338. I have gone to great pains to make this program as user-friendly as
  339. possible.  When an error is detected, you are given a message describing the
  340. probable cause of the error and the remedy to correct the error.
  341.  
  342.  
  343.  
  344. Warranty & Other Stuff:
  345. -----------------------
  346. This program is provided "as is" without warranty of any kind, either
  347. expressed or implied.
  348.  
  349. If you find this program useful, and you believe in the "Shareware" concept
  350. of distributing software, a small contribution ($15 suggested) would be
  351. greatly appreciated.  It is only with the support of users that software
  352. such as this can be developed, as well as to encourage program authors to
  353. write more nifty stuff !!
  354.  
  355.  
  356. Please send all correspondence and contributions to:
  357.  
  358.     Bill Newell
  359.     249 Foxden Circle
  360.     Naples, FL 33942
  361.  
  362.  
  363.  
  364.  
  365. Change History:
  366. ---------------
  367. Version 1.00   1986    This was a prototype version of WHAT.  This version was
  368.                        never distributed.
  369.  
  370. Version 2.00  3-29-87  WHAT was completely rewritten, and utilizes a number of
  371.                        Assembler routines for quick performance.
  372.                        Distributed as Shareware.
  373.  
  374. Version 2.10  7-20-87  The following changes, suggested by users of Version 2.00
  375.                        have been made:
  376.  
  377.                        If a Directory Documentation File does not exist in the
  378.                        directory being processed, a message is displayed
  379.                        informing the user that such a file is going to be
  380.                        created.  The user then has the option of continuing, or
  381.                        ending the program.
  382.  
  383.                        In Version 2.00, all Directory Documentation Files were
  384.                        named WHAT.DIR.  The name that is used now is the name
  385.                        of the directory being processed, appended with a .DIR
  386.                        extension.  For example, if you are processing a
  387.                        directory called LETTERS, the Directory Documentation
  388.                        File will be named LETTERS.DIR.  If your directory name
  389.                        already has an extension, such as LETTERS.LIB, WHAT will
  390.                        still use the main directory name and the Directory
  391.                        Documentation File will still be called LETTERS.DIR.
  392.  
  393.                        If you are processing the root directory of your disk or
  394.                        diskette, the Directory Documentation File will be called
  395.                        ROOT.DIR.
  396.  
  397. Version 2.11  8-03-87  Fixes a minor bug that would report a sequence error when
  398.                        processing a V2.00 Directory Documentation File the first
  399.                        time with WHAT V2.10
  400.  
  401.                        As an aside:  Should you ever encounter the message
  402.                        "... description file is not in sequence by file name";
  403.                        remove all heading/footing lines from your Directory
  404.                        description file and try the WHAT program again. That is,
  405.                        remove the records at the beginning and end of the file,
  406.                        that are not description records for the files in your
  407.                        directory.
  408.  
  409.                        This error is usually caused by users editing their
  410.                        description files, and changing the heading/footing
  411.                        records so that the WHAT program can no longer recognize
  412.                        them as such.
  413.  
  414. Version 2.12 10-20-87  Fixes bug that caused a BASIC 5 Error when attempting to
  415.                        use the "Ins" (Insert) key, when the cursor was at the
  416.                        last position of the description field.
  417.  
  418. Version 2.13  3-31-88  Fixes bug that caused the cursor to disappear on a color
  419.                        monitor, when WHAT terminated.
  420.  
  421.                        Added the "How to use WHAT without reading the
  422.                        documentation" section to the documentation file.
  423.  
  424. Version 2.14  7-20-88  Using WHAT to documemt a directory that contained a
  425.                        "-" (dash), such as PC-DNLD, would terminate in an error.
  426.                        This has been corrected in having WHAT substitute a "_"
  427.                        (underscore) for any dash found in the directory name,
  428.                        when formulating the name for the Directory Documentation
  429.                        File.  This will NOT change the name of your directory;
  430.                        it only means that if your directory contains a dash,
  431.                        such as PC-DNLD; that the Directory Documentation File
  432.                        will be named PC_DNLD.  Unless you want to use your
  433.                        favorite text-processor to update your Directory
  434.                        Documentation File, this change will be invisible to you.
  435.  
  436.                        WHAT will now supply a default description when it finds
  437.                        a directory entry of WHAT.COM, WHAT.DOC, or
  438.  
  439. Version 2.15 3-20-89   If the "heading lines" (generated by the WHAT program) in
  440.                        the Directory Documentation File were changed by the user
  441.                        so that the program could no longer recognize them as
  442.                        heading lines, some file descriptions could be lost when
  443.                        the program was executed the next time.  This would only
  444.                        happen if the user used a text editor to process the
  445.                        Directory Documentation File, and changed the heading
  446.                        lines (the records located at the beginning of the file,
  447.                        in front of the actual file description records).
  448.  
  449.                        If you added a file to your directory since the last time
  450.                        you executed WHAT, whose name would appear sequentially
  451.                        after the last file in your <directory>.DIR file; that
  452.                        new file would automatically get the description of the
  453.                        previous "last file", if that file contained a
  454.                        description.  The program would not prompt you for a
  455.                        description for this new file.
  456.  
  457.  
  458.