home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / utils / diredit.zip / DIREDIT.DOC next >
Text File  |  1990-03-15  |  54KB  |  1,146 lines

  1.           
  2.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  3.           
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                 DIREDIT - Directory Editor                                __________________________
  14.  
  15.                            Copyright (1985-1990), P. R. Fletcher                           _____________________________________
  16.                                     All Rights Reserved                                    ___________________
  17.  
  18.  
  19.  
  20.                         Distributed by:
  21.  
  22.                                P. R. Fletcher (Software)
  23.                                1515 West Montgomery Avenue
  24.                                Rosemont
  25.                                PA 19010
  26.  
  27.  
  28.  
  29.                                   _______
  30.                              ____|__     |               (tm)
  31.                           --|       |    |-------------------
  32.                             |   ____|__  |  Association of
  33.                             |  |       |_|  Shareware
  34.                             |__|   o   |    Professionals
  35.                           -----|   |   |---------------------
  36.                                |___|___|    MEMBER
  37.  
  38.            
  39.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  40.           
  41.                                      TABLE OF CONTENTS                                     _________________
  42.  
  43.  
  44.           User-Supported Software                                    1
  45.           Introduction                                               2
  46.           Hardware and Software Requirements                         4
  47.           Running DIREDIT                                            5
  48.           The Screen Display                                         7
  49.           Editing the Directory                                      7
  50.           Sorting the Directory                                      9
  51.           Limitations and Restrictions                              10
  52.           Bugs and Other Unpleasant Subjects                        10
  53.           Changes from Previous Versions                            12
  54.           APPENDICES                                                14
  55.             A - Summary of Single-Key Commands                      14
  56.             B - Known Hardware Incompatibilities                    15
  57.             C - Using DIREDIT with RAMdisks                         16
  58.           Registration Form                                         17
  59.            
  60.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  61.           
  62.                                   USER-SUPPORTED SOFTWARE                                  _______________________
  63.  
  64.           Much of the software which is available for your computer has, in the
  65.           past, been produced and sold on the assumption that you are a crook
  66.           and that you will take any available opportunity to cheat software
  67.           writers and vendors out of their rightful reward. Such software was
  68.           copy-protected within an inch of its (and your computer's) life and
  69.           was priced at a level which still guaranteed its producers a profit
  70.           even if four or five illegal copies were made for each one sold.
  71.           Thankfully, prices of commercial software have (for the most part)
  72.           come down somewhat, and copy-protection is becoming much less
  73.           prevalent, but buying such software remains something of a lottery -
  74.           you often cannot be sure that the software does what you want in the
  75.           way you want it done until you have paid for it. User-supported
  76.           software is different. You may have got a copy of this program free
  77.           from a friend or a bulletin board or (for a nominal fee) from a users'
  78.           group or software library. In any case, you have a perfectly legal
  79.           working copy of DIREDIT. You are encouraged to make as many copies of
  80.           the package as you like and to distribute them to all your friends.
  81.           If, after trying the program out, you find that it is useful and want
  82.           to continue to keep and use it, you must register your copy by sending
  83.           the registration fee ($20.00, unless you are already a registered user
  84.           of HDTEST, in which case it is $10.00) together with the completed
  85.           registration form, to the address on the form. Only your conscience
  86.           can make you do this (although you are probably breaking the law if              ____                                                           
  87.           you don't), but bear in mind that the distributors of "user-supported"
  88.           software are making the assumption that you are honest and willing to
  89.           pay a reasonable price for a useful program, many commercial software
  90.           vendors, on the other hand, would still apparently rather believe you
  91.           are a crook. You can decide who you would rather prove right.
  92.           Registered users will be entitled to support, upgrades, and help with
  93.           DIREDIT-related problems (including telephone support) for a year from
  94.           the date of registration.
  95.  
  96.           The author of this program is a member of the Association of Shareware
  97.           Professionals (ASP).  ASP wants to make sure that the shareware
  98.           principle works for you. If you are unable to resolve a shareware-
  99.           related problem with an ASP member by contacting the member directly,
  100.           ASP may be able to help. The ASP Ombudsman can help you resolve a
  101.           dispute or problem with an ASP member, but does not provide technical
  102.           support for members' products. Please write to the ASP Ombudsman at
  103.           P.O. Box 5786, Bellevue, WA 98006 or send a Compuserve message via
  104.           easyplex to ASP Ombudsman 70007,3536"
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.           
  121.           
  122.                                           Page 1 
  123.            
  124.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  125.           
  126.                                        INTRODUCTION                                       ____________
  127.  
  128.           DIREDIT is a program which allows you to "edit" DOS directories. There
  129.           are a large number of programs, some in the public domain, others
  130.           available as components of commercial utility packages (e.g. the
  131.           Norton Utilities (TM)), which allow directories to be sorted in                                                                ______   
  132.           various ways (by filename, by file type ("extension"), by modification
  133.           date, by size), but DIREDIT was initially one of the very few which
  134.           also allowed the user to specify an arbitrary order and/or to move
  135.           individual directory entries around at will. Although this capability
  136.           has now become more common, I believe (and users have told me) that
  137.           DIREDIT's "pick it up and move it" implementation is more convenient
  138.           than the approaches used by others. DIREDIT also displays the
  139.           directory in a very compact manner, with up to 80 file-names visible
  140.           on the screen at once, but allows you to see the full file description
  141.           for any entry simply by moving a cursor to the name.
  142.  
  143.           You may reasonably ask why you should care how your directories are
  144.           arranged - one answer to this question depends on the fact that the
  145.           order in which subdirectories and files are listed in the order in
  146.           which DOS searches through them (when asked to find a data file or
  147.           executable program). It follows from this that programs and data files
  148.           will be accessed fastest if they appear at the top of the directory
  149.           listing of the subdirectory in which they are found, and also that
  150.           subdirectories (especially those which are specified in your PATH
  151.           command) should, for fast access, be at the top of the root directory
  152.           listing. On the other hand, many people find it easier to find a file
  153.           that they are searching for if the directory is sorted in some other
  154.           way. The advantages (in this context) of alphabetical sorts by name
  155.           and/or type are obvious, but sorting by size or date/time (most
  156.           recently modified files at the bottom or top) can also sometimes be
  157.           useful.
  158.  
  159.           You can use DIREDIT for both purposes - arranging your directories on
  160.           disk for efficient access and then resorting them temporarily on the
  161.           screen when searching for a file without (necessarily) saving the
  162.           resorted directory to disk.
  163.  
  164.           Although a small number of people have Registered earlier versions of
  165.           DIREDIT, and most of these have been very enthusiastic about the
  166.           program, it has been much less popular than HDTEST, my other Shareware
  167.           offering. Part of the reason for this may have been that the Shareware
  168.           version of the program, while fully functional, would only work on a
  169.           restricted range of (IBM BIOS compatible) devices. To investigate this
  170.           possibility, I have decided to change the way I distribute DIREDIT.
  171.           This version of DIREDIT is (at the time of its release) the most
  172.           recent version - the previous absolute distinction between Shareware
  173.           and Registered versions has been abandoned, and any substantial future                                                              ___________       
  174.           upgrades will result in new Shareware releases. The DIREDIT
  175.           distribution "package" is "User-supported Software", and may be copied
  176.           and distributed freely for evaluation under the normal "Shareware"
  177.           conditions. Registration as a user of DIREDIT entitles you to receive
  178.           the next major upgrade on disk, to be notified of the availability of
  179.           future upgrades, bug fixes, newly discovered incompatibilities, etc.,
  180.           and to ask for (and get) necessary help in adapting the program to
  181.           work on your hardware. I cannot guarantee to make DIREDIT work with
  182.           every possible combination of hardware and operating system software,
  183.           but I will promise to try to solve problems as they come up, and I
  184.           
  185.           
  186.                                           Page 2 
  187.            
  188.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  189.           
  190.           will return your registration fee if I cannot support the program on
  191.           your system.  Support is available to registered users only by mail to                                             ________________________           
  192.           me at 1515 West Montgomery Avenue, Rosemont, PA 19010, by BIXmail (to
  193.           pfletcher), and by Compuserve EMail (to 72255,305).  Please bear in
  194.           mind that my willingness and ability to continue to support and
  195.           enhance these programs will be (to some extent) inversely dependent on
  196.           the number of questions I get that could be answered by reading the
  197.           documentation(!). Telephone support is also available to Registered
  198.           Users.
  199.  
  200.           DIREDIT was written principally in C, compiled by the Microsoft C
  201.           compiler (Version 5.10) using its "small" memory model, and linked
  202.           with code from the distributed Microsoft C object libraries using the
  203.           Microsoft LINK program (Version 4.06).  Additional assembly language
  204.           routines were assembled by the Microsoft MASM Macro Assembler (Version
  205.           5.10). Portions of the distributed program are consequently Copyright
  206.           (C) by Microsoft Corp., 1985 - 1988. All rights reserved. These
  207.           portions are used under the terms of a license from Microsoft Corp.
  208.  
  209.           DIREDIT was written with care and has been tested on a number of
  210.           different systems.  I cannot, however, give any guarantee as to their
  211.           performance on a specific system, nor can I accept liability for any
  212.           actual or consequential loss resulting from their use.  The program
  213.           may only be used and/or copied in its original form. Unauthorised
  214.           modifications and/or the use of all or part of the program in other
  215.           software, commercial or otherwise, are strictly prohibited.
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.           
  249.           
  250.                                           Page 3 
  251.            
  252.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  253.           
  254.                              HARDWARE & SOFTWARE REQUIREMENTS                             ________________________________
  255.  
  256.           DIREDIT makes a number of assumptions about the environment in which
  257.           it is operating. The program will, generally speaking, abort with an
  258.           informative error message if it finds one of these assumptions to be
  259.           untrue! It requires MS/PC-DOS 2.0 or above and at least 96 Kb of free
  260.           memory (the exact amount required depends on the size of the target
  261.           device and directory) to run. The device on which the target directory
  262.           is found must be recognizable by DOS as a standard "block" device,
  263.           addressed by one of the normal device names ("A:" through  "Z:").
  264.           Versions of DIREDIT before V2.00 used BIOS calls to read and write the
  265.           directory information, restricting its use to floppy disks and those
  266.           hard disks (the majority, in fact) whose BIOSes were capable of
  267.           handling (at least) normal disk reads and writes in a way that was
  268.           compatible with that documented for the XT and AT disk adapters in
  269.           IBM's technical documentation. This version of DIREDIT uses only DOS
  270.           calls, and should, therefore, also be usable on those hard disks and
  271.           other storage devices which are not BIOS compatible with XT/AT disks
  272.           and/or require special drivers to be installed. RAMdisks present
  273.           special problems, because their device drivers may not obey all the
  274.           rules laid down by Microsoft for block-replaceable devices
  275.           (particularly with regard to the structure and/or presence of a "boot
  276.           sector" at the lowest numbered sector on the device). If you have
  277.           problems running DIREDIT on a RAMdisk, you should read Appendix C for
  278.           a more detailed discussion of likely problems and their solution.
  279.  
  280.           Users of non IBM-compatible MS-DOS systems should scan Appendix B
  281.           before proceeding, to check that no special considerations apply to
  282.           the running of the program on their systems. Owners of 99.99%
  283.           IBM-compatible "clones" should not have any problems.  DIREDIT will
  284.           not run in the DOS compatibility box under OS/2 (OS/2 does not support          ___                                                                   
  285.           the DOS INT 25/26 disk read/write interrupts), and should be used only
  286.           with great caution under other DOS-compatible multi-user and/or multi-
  287.           tasking OSes.
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.           
  313.           
  314.                                           Page 4 
  315.            
  316.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  317.           
  318.                                    RUNNING DIREDIT                                   _______________
  319.  
  320.           Although DIREDIT will, in practice, coexist happily with most resident                                                                   ____         
  321.           software ("Pop-ups", desk utilities, resident spelling checkers,
  322.           etc.), the total impossibility of my checking every one of the
  323.           hundreds of commercial, shareware, and PD resident utilities for
  324.           compatibility forces me to suggest that you remove such software from
  325.           memory before running DIREDIT. You should never use any resident                                                    _____                 
  326.           software that may read or write to the device you are "editing" from                                                                          ____
  327.           within DIREDIT. Similarly, you should not run DIREDIT under a DOS-          ______________                                                    
  328.           compatible multi-user or multi-tasking operating system unless you are
  329.           absolutely sure that no other tasks and/or users are accessing the
  330.           device that it is working on.
  331.  
  332.           The program is invoked with the command:
  333.  
  334.                                   DIREDIT [pathname]
  335.  
  336.           If a pathname is not specified on the command line, the program will
  337.           default to the current directory. Otherwise, any valid DOS path
  338.           specification may be used (some examples are:  A:\; A:\SUB1\SUB2;
  339.           \SUB1\SUB2 {referred to the root directory of the current device};
  340.           SUB3\SUB4 {starting from the current directory}). Note that there is
  341.           one difference between the way DIREDIT interprets path specifications
  342.           and the way DOS normally does. DIREDIT will interpret a specification
  343.           which contains a drive but no path (e.g. A:) as referring to the root                                                                           ____
  344.           directory on the specified drive, rather than the default directory on                                                            _______             
  345.           that drive (if one has been named in a "CD" command).
  346.  
  347.           DIREDIT will display its copyright screen and pause until you press a
  348.           key - it will then read in the directory to be edited and check to see
  349.           whether the first file or files in the directory have the "System"
  350.           attribute. If they do (typically true for the files that contain the
  351.           normally resident component of the operating system, which are to be
  352.           found in the root directory of a bootable disk), DIREDIT asks whether
  353.           you wish to exclude these files from directory sort operations. You
  354.           should not override the default ("Y") answer to this question unless
  355.           you are sure you know what you are doing (!) - if the operating system
  356.           boot files are not first in the directory, the disk will cease to be                         ___                                                  
  357.           bootable. After you have responded to this question (assuming that it
  358.           was necessary for DIREDIT to ask it) the program will switch to its
  359.           normal display mode.
  360.  
  361.           On the upper 20 lines of the terminal screen are displayed up to 80
  362.           "identifier blocks", each comprising an ID number (which initially
  363.           corresponds to the position of the directory entry in the directory)
  364.           and a file name. An inverse video box cursor, initially positioned
  365.           over the first (top lefthand) block, indicates the current entry. This
  366.           box can be moved to highlight any visible block by using the arrow
  367.           keys. The "Cursor->" display line at the bottom of the screen shows
  368.           the full description of the file or directory whose name is in the
  369.           current block. In addition to "normal" directory information (name,
  370.           creation date and time, size) this line shows whether any of the DOS
  371.  
  372.  
  373.  
  374.  
  375.  
  376.           
  377.           
  378.                                           Page 5 
  379.            
  380.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  381.           
  382.           file attribute bits are set. Set bits are indicated by the appearance
  383.           of one or more upper-case letters at the end of the line. The
  384.           possibilities are:
  385.  
  386.           [A]rchive - this indicates that the file has been modified since it
  387.           was last backed up by the DOS BACKUP utility. Under DOS 3.2, this bit
  388.           can also be set or reset by using the ATTRIB command.
  389.  
  390.           [H]idden - this indicates that the file has been made invisible to
  391.           normal directory searches. The system files on a bootable disk will
  392.           always be labelled as "hidden" (as well as "system"), as will some
  393.           files created by software copy-protection systems.
  394.  
  395.           [R]eadonly - this indicates that the file can be "seen" and read but
  396.           not written to or deleted. Under DOS 3.x, this bit can be set or reset
  397.           using the ATTRIB command.
  398.  
  399.           [S]ystem - this indicates that the file is a "system" file. DOS does
  400.           not currently make any special use of this bit, which was inherited
  401.           from CP/M, but this may change in future revisions. "System" files are
  402.           always also labelled "hidden" to make them invisible to normal
  403.           directory searches.
  404.  
  405.           If there are less than 81 active directory entries (the normal case!),
  406.           all will be displayed at once, otherwise only the first 80 will
  407.           (initially) be visible.
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.           
  441.           
  442.                                           Page 6 
  443.            
  444.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  445.           
  446.                                     THE SCREEN DISPLAY                                    __________________
  447.  
  448.           The names and ID numbers of up to 80 files and/or subdirectories are
  449.           displayed on the top 20 lines of the screen. If the directory being
  450.           edited contains more than this number of entries, DIREDIT allows you
  451.           to "page" up and down within it so that you can inspect or operate on
  452.           any entry. In this case (more than 80 files in the directory), the
  453.           screen is divisible into two windows through an imaginary line drawn
  454.           vertically down its center. The left-hand window will always contain
  455.           40 blocks; the right-hand one will contain up to 40 more. Each window
  456.           may be positioned (using the <PgUp>, <PgDn>, <Home>, and <End> keys)
  457.           anywhere within the directory, except that the two windows may never
  458.           overlap and that the left hand window must always remain "below" the
  459.           right hand one in the directory. When the program starts up, the two
  460.           windows are "locked", so that they move together. Pressing the "L" key
  461.           toggles the lock so that they can move independently.
  462.  
  463.           <PgUp> (or <F3>) moves the current window (i.e. the one which contains
  464.           the block cursor) up by twenty entries.
  465.  
  466.           <PgDn> (or <F4>) moves the current window down by twenty entries.
  467.  
  468.           <Home> moves the current window as far towards the beginning of the
  469.           directory as possible (so that the first 40 (or 80) entries are
  470.           shown).
  471.  
  472.           <End> moves the current window as far towards the bottom of the
  473.           directory as possible (so that the screen shows the last 21 to 40 (or
  474.           61 to 80) entries).
  475.  
  476.           If the windows are not "locked" together and an attempted window move
  477.           would otherwise cause them to overlap (i.e. the inactive window is
  478.           immediately adjacent to the current one in the direction of the
  479.           attempted move) OR the windows are "locked" together (which is the
  480.           default case), both windows are moved. If an attempted window move
  481.           would cause either window to go off the top or bottom of the file, it
  482.           does not take place and the command is simply ignored (no error
  483.           message is generated). Note that window moves do not normally affect
  484.           the position of the cursor within the window.                                     _________________ 
  485.  
  486.           The lower part of the screen display shows additional details of the
  487.           directory entry on which the cursor is positioned, similar details of
  488.           the entry that is being "moved" (if any), and other information. The
  489.           bottom line shows the full pathname of the directory being edited. The
  490.           last character on this line, which is normally blank, is changed to an
  491.           asterisk (*) if any changes have been made to the directory being
  492.           edited.
  493.  
  494.                                    EDITING THE DIRECTORY                                   _____________________
  495.  
  496.           The simplest way of making small changes to the order of files in the
  497.           directory is by moving individual entries. An individual entry is
  498.           moved by positioning the cursor on the identifier block, "picking it
  499.           up" by pressing the <Del> key, positioning the cursor at the point to
  500.           which the entry is to be moved, and "inserting" it there by pressing
  501.           the <Ins> key. The full description of the entry that is in the
  502.           process of being moved is shown on the "Moving->" display at the
  503.           bottom of the screen. You may not exit (which causes the disk
  504.           
  505.           
  506.                                           Page 7 
  507.            
  508.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  509.           
  510.           directory to be updated, and would, in this case, cause the "moving"
  511.           entry to be lost) while an entry is being moved - you must replace it
  512.           somewhere first. An entry which is being moved is also automatically
  513.           put back (at the current cursor position) before a sort operation is
  514.           carried out. Note that you can move "System" entries from the                                     ___                               
  515.           beginning of the root directory manually, but you will be prompted for                                          ________                              
  516.           confirmation before you are allowed to "pick them up".
  517.  
  518.           A number of other single-key commands are implemented, as described
  519.           below. Many of them trigger short dialogues, and the commands with
  520.           potentially far-reaching effects usually require confirmation before
  521.           you are allowed to do something you might regret. Note that, although
  522.           the editor commands do not require that the <Return> key be pressed
  523.           also, responses to prompts always do.
  524.  
  525.           "D" - change the date stamp on the current file. The program prompts
  526.           with the current date stamp - the new date should be entered in the
  527.           same format. Invalid dates will be rejected but any valid date between
  528.           January 1, 1980 and December 31, 2099 may be entered. <CR> retains the
  529.           current date stamp.
  530.  
  531.           "L" - toggle the "lock" which (by default) forces both windows to move
  532.           together. This has no perceptible effect unless there are more than 80
  533.           entries in the directory.
  534.  
  535.           "M" - display the next of a series of single-line "aides-memoire" to
  536.           available commands which appear on the 23rd line of the screen.
  537.           Repeatedly pressing this key will cycle through lines describing all
  538.           valid commands.
  539.  
  540.           "N" - edit a new directory (you are automatically given the option of
  541.           writing the one currently being edited to disk first, if changes have
  542.           been made to it).
  543.  
  544.           "Q" - quit the program without updating the current directory. If you                                 _______                                       
  545.           have made any changes during the current session, the program will
  546.           prompt for confirmation before actually quitting.
  547.  
  548.           "R" - rename the current file. The program will prompt you to enter
  549.           the new name. Invalid names (too long, containing illegal characters,
  550.           etc.) will be rejected, as will a name that is the same as one of
  551.           another file entry in the current directory. <CR> retains the current
  552.           name.
  553.  
  554.           "S" - sort the directory (see below).
  555.  
  556.           "X" - exit and (if any changes have been made) update the current
  557.           directory.
  558.  
  559.           "?" or <F1> - display help text.
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.           
  569.           
  570.                                           Page 8 
  571.            
  572.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  573.           
  574.                                     SORTING THE DIRECTORY                                    _____________________
  575.  
  576.           The directory display (and, ultimately, the directory on disk) may be
  577.           sorted by date, filename, extension, or file size, in ascending or
  578.           descending order. It may also be rearranged in any other arbitrary
  579.           order you care to specify.
  580.  
  581.           When you press "S", the program will pause for two seconds to give you
  582.           time to press another key, indicating the type of sort required. If
  583.           you do not type anything within the time allowed, or if the key you
  584.           press does not indicate a valid choice, the program will determine
  585.           your choice by asking you a series of questions. The choices (in the
  586.           order in which they are presented) are:
  587.  
  588.           "[O]ptimal" order - This sorts the directory for greatest efficiency
  589.           (under normal circumstances). Subdirectories are put first, in
  590.           alphabetical order by name, then come executable files (those with
  591.           .BAT, .COM, and .EXE extensions) sorted in alphabetical order by
  592.           extension and name. Finally come the rest of the files in the
  593.           directory, sorted alphabetically by name.
  594.  
  595.           [U]ser-Specified Order - this option allows you to rearrange the file
  596.           entries in an arbitrary order. You will be prompted to enter two lists
  597.           of file numbers (the numbers displayed next to the filenames on the
  598.           screen). The first list should contain the numbers of files which you
  599.           would like to move to the top of the directory (in the order in which
  600.           you want them to appear there) - the second should contain the numbers
  601.           of files which you want to move to the bottom, also in the order in
  602.           which they are to appear. Either list may be empty (just press
  603.           <Return>). The lists should contain only the file numbers, as decimal
  604.           integers, separated by one or more spaces and/or tabs.
  605.  
  606.           Sort by [F]ilename - sorts alphabetically by name and extension.
  607.  
  608.           Sort by [E]xtension - sorts by extension first, then by filename (for
  609.           files with the same extension).
  610.  
  611.           Sort by [D]ate/Time - sorts by file modification date, then by
  612.           modification time.
  613.  
  614.           Sort by file [S]ize - does what it says (!)
  615.  
  616.           For all of these options except "user-specified order", the program                                   ______                                    
  617.           also prompts you to specify whether you want the directory sorted in
  618.           [A]scending or [D]escending order before it completes the sort.
  619.           Ascending order is from A to Z for alpha sorts, from past to future
  620.           for the date/time sort, and from small to big for the size sort.
  621.           Descending order is, of course, the reverse in each case.
  622.  
  623.           "System" files at the beginning of a directory will be excluded from
  624.           all sorts unless specifically included (by a "N" response when the                                        __                                  
  625.           program asks you whether you want them excluded). In fact, if you have
  626.           moved such a file manually to some other position, any sort will
  627.           result in its being put back where it came from.
  628.  
  629.  
  630.  
  631.  
  632.           
  633.           
  634.                                           Page 9 
  635.            
  636.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  637.           
  638.                                       IMPORTANT NOTE                                      ______________
  639.  
  640.           You should review the directory you have been editing (e.g. by using
  641.           the DOS DIR command) after exiting from DIREDIT, in order to check
  642.           that it looks the way it should. If it doesn't look right, before                                                                     ______
  643.           doing anything else, run CHKDSK or reboot the system and then check it          ___________________                                                   
  644.           again - if it still doesn't look right, you will have to DIREDIT it
  645.           again. These precautions are advised because DOS keeps a number of
  646.           sectors worth of data (including directory data) from your disks in
  647.           memory (the actual number of sectors held in this way is set by the
  648.           "BUFFERS=..." line in CONFIG.SYS. If you use DIREDIT (which reads and
  649.           writes the directory sectors using low-level DOS functions) to change
  650.           a directory that DOS is holding in memory, the BUFFERed image of the
  651.           directory is not automatically updated. This deficiency in DOS                       ___                                              
  652.           presents a potential problem because, if you were then to do something
  653.           that changed the directory (write a new file, change an old file,
  654.           etc.) from within DOS, DOS would make the appropriate changes to its
  655.           copy of the (old) directory and write it back over the new directory.                       ___                              ____                   
  656.           Because there appears to be no way of telling DOS that the contents of
  657.           its sector buffers may be invalid, DIREDIT attempts to flush them
  658.           (before exiting) by performing a number of manoeuvres which result in
  659.           multiple DOS disk read operations. It is possible (though not very                            ____                                            
  660.           likely) that there are circumstances under which DIREDIT will fail to
  661.           flush the DOS sector buffers when it terminates - running CHKDSK
  662.           always seems to flush them successfully, and rebooting is guaranteed
  663.           to do so. Because other disk cache programs intercept all DOS level                                                                ___          
  664.           disk read and write calls, they should present no problems to DIREDIT.                                                         __                     
  665.  
  666.  
  667.                                LIMITATIONS AND RESTRICTIONS                               ____________________________
  668.  
  669.           The current version of DIREDIT has a few theoretical limitations,
  670.           which result from the way data is stored internally by the program.
  671.           None of them is likely to be encountered in normal use of the program
  672.           on any but the most bizarre hardware. The program's memory usage
  673.           depends more on the size of the target device than on that of the                                                 ______                    
  674.           target directory, but it should operate happily with any conceivable                 _________                                                    
  675.           device and directory size on any system with at least 256 Kb of free
  676.           memory (over and above that occupied by DOS), and will usually require
  677.           much less free memory than this.
  678.  
  679.                             BUGS AND OTHER UNPLEASANT SUBJECTS                            __________________________________
  680.  
  681.           Although, like all programmers, I would like to think that my program
  682.           was perfect, it is possible that there are a few bugs lurking in its
  683.           depths, and quite likely that there exists some combination of
  684.           software and hardware which DIREDIT cannot figure out and/or cope
  685.           with. If you think you have found a bug and/or if you cannot get the
  686.           program to work on your system, proceed as follows:
  687.  
  688.           1) Reread this documentation! Make sure that you are doing exactly
  689.           what the documentation and/or program prompts tell you to do. Make
  690.           sure (if you are trying to edit a directory on a drive with removable
  691.           media) that the media is not write-protected.
  692.  
  693.           2) Boot your system from a "virgin" DOS disk - preferably a copy of
  694.           your DOS distribution disk - and try to run DIREDIT again. If the
  695.           program runs in this limited environment, but not in your normal DOS
  696.           
  697.           
  698.                                          Page 10 
  699.            
  700.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  701.           
  702.           environment, try reconstructing the system under which it failed (by
  703.           adding things one by one until the problem recurs) and let me know
  704.           about the incompatibility.
  705.  
  706.           3) If the above approaches do not help, or if they appear to confirm
  707.           an undocumented incompatibility, send me as detailed a description of
  708.           the problem as possible and I will do my best to diagnose and fix it.
  709.           A bug/incompatibility report should always include a full description                                              ______           ____            
  710.           of the system (software and hardware) on which the program is being
  711.           run. Send reports/questions by mail to the address given on the first
  712.           page of this documentation, by BIXmail (to pfletcher), by Compuserve
  713.           EMail (to 72255,305) or, for Registered Users with urgent problems,                                       ________________      ______          
  714.           call me on the telephone (the number is to be found on the card or
  715.           letter which you should have received acknowledging your
  716.           Registration).  Please bear in mind that my willingness and ability to
  717.           continue to support and enhance these programs will be dependent on
  718.           the number of Registrations I receive, and (to some extent) inversely
  719.           dependent on the number of questions I get that could be answered by
  720.           reading the documentation(!).
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.           
  761.           
  762.                                          Page 11 
  763.            
  764.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  765.           
  766.                               CHANGES FROM PREVIOUS VERSIONS                              ______________________________
  767.  
  768.           The first version of DIREDIT that was generally released was V1.20.
  769.           The following only shows changes incorporated at each of the
  770.           subsequent significant "watersheds" in the program's development prior
  771.           to V3.00. Intermediate versions will have contained some but not all
  772.           of the changes shown as included in the releases listed here. The
  773.           V2.xx releases were only sent to Registered Users.
  774.  
  775.           V3.04 (this version)          _____               
  776.  
  777.           1) Fix for bug causing problem with program finding .HLP file in PATH
  778.           (last directory path in PATH was not being parsed correctly).
  779.  
  780.           V3.02          _____
  781.  
  782.           1) Minor changes to termination code (to ensure that user-selected
  783.           DOS screen colors are restored after exit).
  784.  
  785.           2) Minor changes to startup code and copyright screen, with no
  786.           functional consequences.
  787.  
  788.           V3.00          _____
  789.  
  790.           1) ANSI driver requirement removed. Major rewrite of low-level screen-
  791.           handling code to use Microsoft C V5.1 screen support functions.
  792.  
  793.           2) Full DOS 4.0 (and Compaq DOS 3.31) support added.
  794.  
  795.  
  796.           V2.24          _____
  797.  
  798.           1) Minor deficiencies (stray characters) in lower part of screen
  799.           display corrected.
  800.  
  801.           2) Minor (and possibly inconsequential) logic error in assembly
  802.           language code fixed. This error could have been responsible for the
  803.           rare reports I have received of system crashes and/or "Stack Overflow"
  804.           errors as the program terminates on some clones, but I have been
  805.           unable to duplicate the described problems on any of the systems to
  806.           which I have access.
  807.  
  808.           3) Deficiency preventing a move to the last space in the directory                                          __                                
  809.           corrected.
  810.  
  811.  
  812.           V2.20          _____
  813.  
  814.           1) Changes to cursor key routines to implement "wrapping" from
  815.           beginning to end and from side to side of the screen.
  816.  
  817.           2) Bugs and deficiencies in new disk I/O routines fixed.
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.           
  825.           
  826.                                          Page 12 
  827.            
  828.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  829.           
  830.           V2.00          _____
  831.  
  832.           1) Added "Optimal" order option to [S]ort command.
  833.  
  834.           2) Added ability to specify type of sort by single additional
  835.           character appended to [S]ort command.
  836.  
  837.           3) Changes to disk I/O routines to support a greater variety of
  838.           devices.
  839.  
  840.  
  841.           V1.51          _____
  842.  
  843.           1) Bugs causing improper operation of the [R]ename option fixed.
  844.  
  845.           2) Copyright screen modified (to show author's new address!).
  846.  
  847.  
  848.           V1.40          _____
  849.  
  850.           1) Bug causing the program to abort with a "Non-existent or Invalid
  851.           Directory" error if the program were given a path specification
  852.           containing only a drive name (e.g. A:) fixed.
  853.  
  854.           2) Memory allocation/deallocation problem causing the program to abort
  855.           with a "Invalid Device" error after the "N" option was used to edit a
  856.           (variable) number of directories one after another fixed.
  857.  
  858.           3) ANSI driver reset to normal mode (insert line feed after 80th
  859.           successive printable character output to screen) when program exits.
  860.  
  861.           4) Changes to program logic to reduce unnecessary screen updating.
  862.  
  863.  
  864.           V1.30          _____
  865.  
  866.           1) Bug causing sorts by file size to result in incorrect ordering
  867.           under some circumstances fixed.
  868.  
  869.           2) Ability to use the faster screen output mode provided by certain
  870.           ANSI enhancers added.
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.           
  889.           
  890.                                          Page 13 
  891.            
  892.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  893.           
  894.                         APPENDIX A - SUMMARY OF SINGLE-KEY COMMANDS                        ___________________________________________
  895.  
  896.  
  897.           <PgUp> (or <F3>) - move the current window up by twenty entries.
  898.  
  899.           <PgDn> (or <F4>) - move the current window down by twenty entries.
  900.  
  901.           <Home> - move the current window as far towards the beginning of the
  902.           directory as possible.
  903.  
  904.           <End> - move the current window as far towards the bottom of the
  905.           directory as possible.
  906.  
  907.           <Del> - "pick up" directory entry for move.
  908.  
  909.           <Ins> - "put down" directory entry.
  910.  
  911.           "D" - change the date stamp on the current file.
  912.  
  913.           "L" - toggle the "lock" which (by default) forces both windows to move
  914.           together.
  915.  
  916.           "M" - display the next of a series of single-line "aides-memoire" to
  917.           available commands which appear on the 23rd line of the screen.
  918.  
  919.           "N" - edit a new directory.
  920.  
  921.           "Q" - quit the program without updating the current directory.                                 _______                                
  922.  
  923.           "R" - rename the current file.
  924.  
  925.           "S" - sort the directory - subcommands:
  926.               "D" - by date/time.
  927.               "E" - by extension.
  928.               "F" - by filename.
  929.               "O" - "optimal" order.
  930.               "S" - by file size.
  931.               "U" - user-specified (arbitrary) order.
  932.  
  933.           "X" - exit and (if any changes have been made) update the current
  934.           directory.
  935.  
  936.           "?" or <F1> - display help text.
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.           
  953.           
  954.                                          Page 14 
  955.            
  956.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  957.           
  958.                        APPENDIX B - KNOWN HARDWARE INCOMPATIBILITIES                       _____________________________________________
  959.  
  960.  
  961.           Tandy 2000 - Earlier versions of DIREDIT would run on this machine but
  962.           the screen output was badly scrambled, effectively making it useless.
  963.           The current version of the program uses totally different screen
  964.           output routines, so the problem may be solved, but this has not yet                                                                      ___    
  965.           been confirmed.
  966.  
  967.           TI Professional - DIREDIT must be run under the (TI-supplied)
  968.           EMULATE.COM program. <F3> and <F4> are used instead of PgUp and PgDn
  969.           (which do not exist on the TI keyboard).
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.           
  1017.           
  1018.                                          Page 15 
  1019.            
  1020.           Documentation for DIREDIT V3.04         Copyright 1990, P. R. Fletcher          ________________________________       _______________________________
  1021.           
  1022.                          APPENDIX C - USING DIREDIT WITH RAMDISKS                         ________________________________________
  1023.  
  1024.  
  1025.           In general, you can most conveniently arrange files on a RAMDisk
  1026.           simply by copying them onto it in the order in which you want them to
  1027.           appear in the directory listing. The following discussion is for those
  1028.           who like to do things the hard way and have some understanding of the                                             ___                               
  1029.           hardware (!). RAMDisk drivers go to different lengths to emulate
  1030.           "real" devices, from those (the minority) which create a complete
  1031.           memory image of a floppy or hard disk, including a valid boot sector,
  1032.           to those which rely on the device driver code to interpret sector read
  1033.           and write commands on the basis of its own "understanding" of what may
  1034.           be a very non-standard "disk" format. DIREDIT can and does use more
  1035.           than one approach to deduce the format of a disk (hard, floppy, or
  1036.           RAM!), but the program needs information which is not normally
  1037.           available to programs running under DOS, and usually gets it from the
  1038.           BIOS Parameter Block (BPB) area in the device's boot sector. If there
  1039.           is no boot sector, the only remaining way of getting the needed
  1040.           information requires DOS 3.2 or above and that the device driver
  1041.           supports the generic IOCTL functions which were introduced with
  1042.           DOS 3.2 (few, if any, RAMDisk driverss do support these functions at
  1043.           present). If there is a boot sector and it is valid, DIREDIT should                             __               _______________                
  1044.           not have any problems. If there is a boot sector but the information
  1045.           in it is incomplete or invalid, you may be able to make it usable by
  1046.           using the VALIDATE program supplied with this package.
  1047.  
  1048.           The command syntax for VALIDATE is "VALIDATE d", where d is replaced
  1049.           by the device name of your RAMDisk (with or without a ":"). The
  1050.           program will also allow modification of the boot sectors on floppy and
  1051.           hard disks, but should be used with care, if at all, on these devices
  1052.           unless you are absolutely sure you know what you are doing. VALIDATE                         _______________                                      
  1053.           reads the first logical sector on the device and, if it seems possible
  1054.           that this is a boot sector, displays the contents of what should be
  1055.           its BPB area. You can then (with some help from the program) adjust
  1056.           the contents of the BPB, presumably to reflect reality, and write it
  1057.           back to the RAMDisk. VALIDATE will not allow you to write an obviously
  1058.           incorrect or inconsistent BPB back to the disk, but there are limits
  1059.           to its ability to identify invalid data - you should know what you are
  1060.           doing before you make any changes. For some reason, RAMDisk drivers
  1061.           frequently create boot sectors which do not end with the standard
  1062.           (55AA Hex) boot segment "signature", but are otherwise valid. The
  1063.           "signature" is added automatically by VALIDATE when the sector is
  1064.           rewritten, even if no other changes are made. After you have rewritten
  1065.           the boot sector, DIREDIT should work properly on the disk.
  1066.  
  1067.           I am aware that these instructions are somewhat cursory - if you have
  1068.           a real need to use DIREDIT on a RAMDisk and want more help, contact me
  1069.           directly.
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.           
  1081.           
  1082.                                          Page 16 
  1083.  
  1084.                            REGISTRATION FORM - DIREDIT                           ___________________________
  1085.  
  1086.      Please complete this form and return it with a check or money order (no
  1087.      cash, please) for $20.00 ($30.00 Canadian, L15.00 Sterling) to:
  1088.  
  1089.                      Peter R. Fletcher
  1090.                      1515 West Montgomery Avenue
  1091.                      Rosemont
  1092.                      PA 19010
  1093.                      U.S.A.
  1094.  
  1095.      None of the information on this form will be passed on to any other
  1096.      individual or commercial organization. Use the back of the form for
  1097.      comments or additional space.
  1098.  
  1099.      --------------------------------------------------------------------------
  1100.  
  1101.      This information is required to process your Registration:
  1102.  
  1103.      Last Name:____________________________  Other Names:______________________
  1104.  
  1105.      Address:______________________________  Town/City:________________________
  1106.  
  1107.      State:_____________  Post Code:____________  Telephone:_________________
  1108.                                                            (evenings/weekends)
  1109.  
  1110.      DIREDIT Version #:_______________  Serial #:_______________
  1111.                                 (see copyright screen)
  1112.  
  1113.      I understand that this software is supplied without warranty, express or
  1114.      implied, and agree not to hold its author liable for any direct or
  1115.      consequential loss arising out of my use of it.
  1116.  
  1117.      Signature:______________________________
  1118.  
  1119.      -------------------------------------------------------------------------
  1120.  
  1121.      You are requested, but not required, also to answer the following
  1122.      questions:
  1123.  
  1124.      On What type(s) of computer are you using DIREDIT? ______________________
  1125.  
  1126.      CPU (8088, 8086, etc.)? __________   Amount of RAM (kB)? ____________
  1127.  
  1128.      Type & Size of Hard Disk(s)? ____________________________________
  1129.  
  1130.      Make and Type of Hard Disk Controller(s)? ______________________________
  1131.  
  1132.      Do you own a Modem?                                             Y  N
  1133.  
  1134.      Are you a member of BIX?   Y  N        Compuserve?              Y  N
  1135.  
  1136.      How did you obtain/hear about this program?
  1137.  
  1138.      Did you think that the $20.00 registration fee for this program was:
  1139.  
  1140.      Very Good Value?              About Right?             Excessively High?
  1141.  
  1142.  
  1143.      Are there any other utility programs that you would like to see made
  1144.      available as "User Supported Software"? What sort of programs?
  1145.  
  1146.