home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 199 / FDU121.ZIP / FDU.DOC < prev    next >
Encoding:
Text File  |  1990-08-28  |  14.9 KB  |  381 lines

  1.                 *+*  File Description Utility  *+*
  2.                  Copyright (c) 1990 By Brad Kidder
  3.                           (Version 1.21)
  4.  
  5.   This utility allows the user to view files with descriptions
  6.   and to add or change these descriptions using a system
  7.   compatible with 4DOS.  It also allows you to delete files
  8.   and empty directories, to view files and archive lists, and
  9.   to copy or move files and their descriptions.
  10.  
  11.   This utility doesn't require 4DOS.  However, the DIR command of
  12.   4DOS displays descriptions created by this program and will
  13.   copy the description when a file is copied to another
  14.   directory.
  15.  
  16.   (If you haven't met 4DOS yet, find yourself a copy on a local
  17.   BBS, download it and TRY IT!  4DOS is a complete replacement
  18.   for the DOS command processor, COMMAND.COM.  It is a
  19.   significantly better user interface for MS-DOS, and the
  20.   reaction of most people to it is that 4DOS provides the user
  21.   interface and capabilities the MS-DOS should have had.  4DOS is
  22.   a shareware product with a reasonable registration price.
  23.   If you can't find 4DOS locally,
  24.  
  25.   contact:  J.P. Software
  26.             P.O. Box 1470
  27.             E. Arlington, MA 02174      for information.)
  28.  
  29.      NOTE:  FDU.COM IS NOT SUPPORTED BY J.P. SOFTWARE, THE
  30.      DISTRIBUTOR OF 4DOS.  PLEASE DO NOT CONTACT J.P. SOFTWARE
  31.      WITH QUESTIONS OR SUPPORT REQUESTS.
  32.  
  33.   This archive contains the following three files:
  34.   FDU.DOC     --  File Description Utility Documentation
  35.   FDU.COM     --  File Description Utility Ver. 1.21
  36.   FDUFIG.COM  --  File Description Utility Configuration Program
  37.  
  38.   DESCRIPT.ION -- Hidden file created by FDU.COM in each
  39.                   dorectory.
  40.  
  41.   The syntax for FDU is:
  42.  
  43.         FDU [d:][directory] [/E] [/D|/T] [/S] [/U] [/?|H]
  44.  
  45.   The optional drive and/or directory specifies the drive and/or
  46.   directory to be used; the single switch specifies the sort
  47.   order:  extension, date or time, size, or unsorted.
  48.   Directories are sorted by filename as a default.  The ? or H
  49.   provides a usage message.  Any switch must be specified last.
  50.  
  51.   While in FDU, the description currently highlighted can be
  52.   edited.  The last letter of a full description is pushed off
  53.   the end if more characters are inserted.
  54.  
  55.   F1  Invokes a help screen.
  56.  
  57.   F2  Will do one of three things based on the line being
  58.       displayed:
  59.  
  60.       1. If the line is for a file with a file extension of:
  61.             .ARC, .DWC, .LBR, .LZH, .PAK, .ZIP, or .ZOO
  62.          it will call an archive program to view these files.
  63.  
  64.       2. If the line is for a file with a different extension than
  65.          those mentioned above, it will call a view program to view
  66.          these files.
  67.  
  68.       F2 uses the two programs specified by FDUFIG for these
  69.       displays, (See FDUFIG.COM below).
  70.  
  71.       3. If the line is for a directory, then FDU will switch to
  72.          display the files in that directory.
  73.  
  74.   F3  Allows you to delete a file or an empty directory.
  75.  
  76.   F4  Allows you to rename a file or directory.
  77.       (Press Enter after changing the file or directory name.)
  78.       (Press Esc to escape without changing the name.)
  79.  
  80.   F5  Allows you to copy a file to another directory.
  81.       (You will be asked to specify the name of the new drive and
  82.        directory.)
  83.  
  84.   F6  Allows you to move a file to another drive and/or
  85.       directory. (You will be asked to specify the name of the
  86.       new drive and/or directory.  If the drive is different, you
  87.       will be asked to confirm that you do want to MOVE the
  88.       file.)
  89.  
  90.   F7  Sort listing by file name.
  91.  
  92.   F8  Sort listing by extension and name.
  93.  
  94.   F9  Sort listing by size.
  95.  
  96.   F10 Sort listing by date and time (latest at the top).
  97.  
  98.   Ctrl-C will exit FDU without saving the new description file
  99.          and will leave you in the displayed directory.
  100.  
  101.   Ctrl-Q will start all over by reloading all descriptions.
  102.  
  103.   Ctrl-R will restore a description, or file name, to what it was
  104.          when the cursor was last moved to that line.
  105.  
  106.   Ctrl-X will place the file name on the command line and
  107.          exit the FDU program in the displayed directory.
  108.  
  109.   Ctrl-Y will clear to the end of the edit area.
  110.  
  111.   Grey + and grey - will move the page up and down on the
  112.          screen.
  113.  
  114.   FDUFIG.COM -
  115.   This program allows you to reconfigure FDU.COM.
  116.   It allows you to:
  117.  
  118.   - Change the screen colors for a color monitor.
  119.  
  120.   - Set the starting insert mode to either overstrike or insert.
  121.  
  122.   - Set the cursor shape for these modes.
  123.  
  124.   - Set the viewing program and the parameters to use with it.
  125.  
  126.   - Set the archive viewing program and the parameters to use
  127.     with it.
  128.  
  129.   You may find it handy to use FDUFIG often to change FDU.COM to
  130.   use different viewing programs for different needs.
  131.  
  132.   DESCRIPT.ION file.
  133.   This file is created or updated by FDU.  It contains the file
  134.   names with any descriptions that were present when it was
  135.   written.  FDU will keep the same attribute that the file had
  136.   before.  If FDU creates the file, the file attribute will be
  137.   that of a hidden file.
  138.   NOTE: 4DOS changes this file's attribute to hidden any time it
  139.   updates this file.
  140.  
  141.  
  142.                         *+*+* HISTORY *+*+*
  143.  
  144.   FDU.COM is based on three other programs.
  145.  
  146.   DIRNOTES - That provided the ability to specify descriptions
  147.              for files.
  148.  
  149.   DR       - That allowed you to list a sorted directory and
  150.              view files within the directory and to move,
  151.              rename, and delete files.
  152.  
  153.   MDU      - A program that took DIRNOTES and changed it to sort
  154.              the directory and view files, using an external
  155.              viewing program, and to use the DISCRIPT.ION file
  156.              used by 4DOS in a compatible way.
  157.  
  158.   DIRNOTES.COM is the original utility program written by
  159.   Michael J. Mefford and published in PC Magazine, Sept 15 1987.
  160.  
  161.   DR.COM Was also written by Michael J. Mefford for PC Magazine.
  162.  
  163.   MDU.COM (11/29/88) is an adaptation of the DIRNOTES utility.
  164.   It was developed by David P. Lemire.  It uses the 4DOS
  165.   description file format rather than the format used by the
  166.   original DIRNOTES.  It also provides a much improved editor,
  167.   multiple file sorting options, a help screen and the capability
  168.   to invoke an external file viewing or editing utility, such as
  169.   BROWSE.COM or Van Buerg's LIST program.
  170.  
  171.   FDU.COM Version 1.00 (7/6/90) was strongly based on MDU.COM and
  172.   fixed many of the bugs in that program.  The following problems
  173.   were corrected by FDU.COM 1.00:
  174.  
  175.   1.  MDU did not recognize the lower-case names that 4DOS's
  176.       DESCRIBE function used for directory names and would delete
  177.       any descriptions for these directory names.
  178.  
  179.   2.  When 4DOS came out with version 3.0, they changed the way
  180.       they handled the descript.ion file and started eliminating
  181.       the carriage return from the carriage return-line feed
  182.       pair at the end of every record.  MDU couldn't handle this
  183.       and would lose all following descriptions.
  184.  
  185.   3.  MDU had an unsort switch [/U], but it didn't work.
  186.  
  187.   4.  MDU's ^Q didn't work correctly, if the editing program
  188.       changed the location of the DTA.
  189.  
  190.   5.  MDU's ^Q put the cursor in column one but the data got put
  191.       in the column where the last cursor happened to be.
  192.  
  193.   6.  MDU's ^Q Also failed, if the displayed page was beyond the
  194.       first page. It put the wrong description for the top file
  195.       on the page.
  196.  
  197.   7.  When MDU sorted by extension, it didn't also sort by name.
  198.  
  199.   8.  MDU sorted the date and time in ascending order.  I feel
  200.       that users prefer it in descending order as they are more
  201.       likely to work with the latest files first.
  202.  
  203.   FDU.COM (Version 1.00) also provided a byte count for the files
  204.   listed in the directory.
  205.  
  206.   FDU.COM (Version 1.01 7/19/90)
  207.   1.  Provide an indication for the most important one of the
  208.       file's attributes.
  209.  
  210.   2.  Indicate that there are more files above or below the
  211.       current screen by using " MORE " and " MORE ".
  212.  
  213.   4.  Improve page-up and page-down bar placement.
  214.  
  215.   5.  Add Ctrl-R to restore a line to what it contained when the
  216.       cursor was last moved to that line.
  217.  
  218.   6.  Left the display on the screen on exit, so the file names
  219.       could still be seen, to aid in entering commands.
  220.  
  221.   7.  Added the DELETE file function. (F3)
  222.  
  223.   8.  Added the RENAME file function. (F4)
  224.  
  225.   FDU.COM (Version 1.02 8/20/90)
  226.   1.  Added the COPY file function with descriptions.  (F5)
  227.  
  228.   2.  Added the MOVE file function with descriptions.  (F6)
  229.  
  230.   3.  Added the ability to switch to a different directory.  (F2)
  231.  
  232.   4.  Added the ability to use another program to view archive
  233.       files.  (F2)
  234.  
  235.   5.  Added a way to provide parameters to the viewing programs.
  236.  
  237.   6.  Removed the need for the FDU_ED= environment variable.
  238.  
  239.   7.  Added the ability to delete an empty directory.  (F3)
  240.  
  241.   8.  Added Ctrl-C to exit FDU in the displayed directory.
  242.  
  243.   9.  Put sorted directories before all other lines.
  244.  
  245.   10. Provided the ability to stack the file name in the keyboard
  246.       input buffer.  (Ctrl-X)
  247.  
  248.   11. Improved page-up and page-down on the first and last page.
  249.  
  250.   12.  Added grey + and grey - to move the page up and down.
  251.  
  252.   13.  Provided a configuration program (FDUFIG) to allow users
  253.        - to specify the viewing programs and their parameters,
  254.        - to change the handling of insert and overstrike,
  255.        - to change the screen colors used by FDU.
  256.  
  257.   14.  Extended the cursor bar to include the file name, to make
  258.        it easier to see which file is going to be acted upon.
  259.  
  260.   FDU.COM (Ver. 1.21  8/27/90)
  261.           (Ver. 1.02 should have been called Version 1.20)
  262.  
  263.    1.  Fix the total byte count to reflect the change when a
  264.        file is deleted or moved.
  265.  
  266.    2.  Detect the error when the target disk is full during a
  267.        copy or move operation.
  268.  
  269.   Some of the features I am thinking of adding are:
  270.  
  271.   1.  Make name sort more like 4DOS.
  272.       (test2 between test1 and test10)
  273.  
  274.   2.  To improve the sort by using a different sorting technique.
  275.  
  276.   3.  To support screen sizes other than just 25 by 80.
  277.  
  278.   4.  To support more than 430 files in any one directory.
  279.  
  280.   5.  To provide the ability to copy descriptions from one line
  281.       to other lines.
  282.  
  283.   6.  To tag files for multiple copy and viewing.
  284.  
  285.              *+*+*+*+* Technical Information *+*+*+*+*
  286.   FDU.COM is written in assembly language and Assembled using the
  287.   Microsoft Assembler 5.1. I used CodeView for debugging the
  288.   more difficult problems.  It has taken me approximately 850
  289.   hours since the 16th of June 1990 to develop this program.
  290.  
  291.   FDU uses some of the more advanced DOS functions, such as
  292.   RENAME to move a file from one directory to another, but makes
  293.   no test of the DOS version.  Thus, some functions may not work.
  294.   It also uses INT 16H function 5 to write to the keyboard, (to
  295.   put the file name in the keyboard buffer.  This may not work on
  296.   systems that don't support this function.
  297.  
  298.   MDU used an environment variable to specify the view program to
  299.   use.  I don't feel that this is a good use of these variables
  300.   for programs that may not be used all the time.  I tried
  301.   finding the path that called FDU and use that same path to find
  302.   the programs called to view files.  This required that you keep
  303.   these programs in the same directory with FDU.COM.  Also, it
  304.   didn't work when FDU was called from within some other program.
  305.   Therefore, I finally settled on searching the PATH= string for
  306.   the viewing programs.
  307.  
  308.   FDU tries to use the RENAME function to move a file from one
  309.   directory to another.  If this fails it will then try to copy
  310.   the program from one to the other.  FDU checks to see it the
  311.   drive is different and if it is, it will ask you to verify that
  312.   you do want to MOVE the file for the first file only.  This is
  313.   because I use MOVE quite a bit.  One day a friend wanted some
  314.   of the files on my hard disk and I MOVEd them to a floppy for
  315.   him.  Was I surprised when I couldn't find them later.  Also,
  316.   FDU will ask if you want to replace a file if it exists at the
  317.   target location.  This may be annoying, but it is safer.
  318.  
  319.   If you try to delete a directory, FDU will try the DOS REMOVE
  320.   DIRECTORY function.  For this to be successful, The directory
  321.   must not have any files in it including the description file.
  322.   For you to get rid of the description file with FDU, you must
  323.   also remove any descriptions for the . and .. directory names
  324.   or the description file will be written back when you leave the
  325.   directory.
  326.  
  327.   Like MDU, FDU changes the default directory to the directory
  328.   that it is displaying.  This makes it easier for the viewing
  329.   programs to work, but may cause TSR programs to leave files
  330.   where you don't expect them to be.  FDU will return to the
  331.   original default directory when it exits, unless you exit by
  332.   the Ctrl-C or Ctrl-X key.
  333.  
  334.   FDU.COM, as distributed, is set up to use SMOOTH.COM as the
  335.   normal viewing program and FV.COM as the archive listing
  336.   program.
  337.  
  338.   SMOOTH.COM is by Michael J. Mefford and can be found on one of
  339.   the the two disks supplied with the book DOS POWER TOOLS 2nd
  340.   edition by PC-Magazine.  It provides a smooth scroll of the
  341.   screen on EGA and VGA machines.
  342.  
  343.   FV.COM is a "Verbose Archive Directory Lister" program by
  344.   Vernon D. Buerg, 139 White Oak Circle, Petaluma, CA  94952.
  345.   It should be available on most bulletin boards.  FDU checks for
  346.   all the same archive extensions that FV supports, so it is an
  347.   excellent choice to use with FDU.
  348.  
  349.                           *+*+*+*+*+*+*+*
  350.   FDU is supplied for personal, private use.  Feel free to
  351.   distribute FDU given these restrictions:
  352.  
  353.   -  the program shall be supplied in its original, unmodified
  354.      form, which includes this documentation;
  355.  
  356.   -  no fee is charged;
  357.  
  358.   -  "commercial" use without a license is prohibited;
  359.  
  360.   -  the program may not be included, or bundled, with other
  361.      goods or services.  Exceptions may be granted upon written
  362.      request only.  This also applies to clubs and distributors.
  363.  
  364.   This program is provided AS IS without any warranty, expressed
  365.   or implied, including but not limited to the program's
  366.   suitability for any specific purpose.  Considerable testing
  367.   effort has been expended, but the user is advised to check the
  368.   program's suitability before relying on it.  The user assumes
  369.   full risk as to the results of using this program.  In no event
  370.   shall the author be liable for any consequential damages
  371.   arising from the use, or inability to use this program.
  372.  
  373.   If you find FDU useful, your gift in any amount would be
  374.   appreciated.  Remember I have spent over 850 hours developing
  375.   and testing this program.  If you have any problems or
  376.   suggestions for FDU.COM, please notify:
  377.  
  378.              Brad Kidder
  379.              5126 Glentree Court
  380.              San Jose, CA 95129                       (8/27/90)
  381.