home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 15a / nav11.zip / NAVSTAR.DOC < prev    next >
Text File  |  1989-05-31  |  76KB  |  2,288 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                    Navstar 1.1
  19.                       The Power-User's File Management Tool
  20.  
  21.                             Christopher R. S. Schanck
  22.                                   May 30, 1989
  23.  
  24.                                  Copyright 1989
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                                 Table of Contents
  35.  
  36.           Philosophy...........................................1
  37.  
  38.           Comments.............................................3
  39.  
  40.           Installation.........................................4
  41.  
  42.           Screen Display
  43.                Files...........................................5
  44.                Current & Logged Path...........................5
  45.                Pages Line......................................5
  46.                Sort Type & Order...............................6
  47.                Logged Drive....................................6
  48.                Navigation & the Cursor.........................7
  49.                Filename Character Search.......................7
  50.                File Information Line...........................8
  51.  
  52.           Informational Keystrokes
  53.                Help............................................9
  54.                Information Key.................................9
  55.                Key & Extension Information.....................9
  56.  
  57.           Commands which Alter Navstar
  58.                Change Directories.............................10
  59.                Jump Directories...............................11
  60.                Log Current Directory..........................11
  61.                Swap Logged & Current..........................12
  62.                Change Sorting Method..........................12
  63.                Toggle Sort Order..............................12
  64.                Edit Attribute Mask............................12
  65.                Refresh Screen.................................12
  66.  
  67.           Commands to Manipulate Files
  68.                Marking Files..................................13
  69.                Copying Files..................................13
  70.                Backing Up Files...............................14
  71.                Moving Files...................................14
  72.                Making Directories.............................14
  73.                Renaming Files & Directories...................14
  74.                Deleting Files & Directories/Global Verify.....15
  75.                Deleting Files & Directories/Ind. Verify.......15
  76.                Altering File Attributes.......................15
  77.  
  78.           Executing Programs from within Navstar
  79.                Invoking a System Shell........................16
  80.                Command Line Expansion.........................16
  81.                Execute with Parameters........................18
  82.                "Hot" Execute..................................18
  83.                The Action Key & Recognizable Extensions.......18
  84.                Viewing Files..................................18
  85.                Editing Files..................................18
  86.                Definable Keys.................................19
  87.  
  88.  
  89.  
  90.  
  91.  
  92.           Exiting Navstar.....................................19
  93.           Examples
  94.                Recognizable Extensions........................20
  95.                Definable Keys.................................21
  96.  
  97.           Installation: The Navinst Program
  98.                General Comments...............................22
  99.                Invoking Navinst...............................22
  100.                Main Menu......................................22
  101.                Modify Key Definitions.........................23
  102.                Modify Colors..................................23
  103.                Modify Sort Order..............................23
  104.                Modify Sort Method.............................23
  105.                Modify Recognized Extensions...................24
  106.                Modify Global File Attributes..................24
  107.                Modify Video Type..............................24
  108.                Modify Maximum Number of Files Allowed.........24
  109.                Modify Maximum Number of Directories Allowed...25
  110.                Reading in a Configuration File................25
  111.                Help Screen....................................25
  112.                Exiting Navinst................................25
  113.  
  114.           The CCD Change Directory Program....................27
  115.  
  116.           The Navshell Program................................28
  117.  
  118.           The Disklist Program................................29
  119.  
  120.           Licensing Agreement.................................30
  121.  
  122.           Registration Form...................................33
  123.  
  124.           The Author..........................................35
  125.  
  126.           Acknowledgements....................................36
  127.  
  128.  
  129.  
  130.  
  131.  
  132.                               Navstar's Philosophy
  133.  
  134.                When I set out to create Navstar, I did not set out to
  135.           create Navstar. Rather, it evolved from a "better DIR"
  136.           program into the productivity tool it is now. Somewhere
  137.           around halfway between then and now, I sat down and did a
  138.           complete redesign in order to formalize what I wanted from
  139.           it. In doing so I looked at a dozen or so file/disk managers,
  140.           both of a commercial and public domain nature.
  141.                In doing so, I noticed one common characteristic. Nearly
  142.           all of these products were aimed at "protecting" the user
  143.           from DOS to some degree. A large portion of them billed
  144.           themselves as "simplifying" DOS, or "giving power to the non
  145.           power-user". In doing so, they tended to provide not so much
  146.           functionality as protection. Very few of them were designed
  147.           to allow a person to use his/her own knowledge of DOS to the
  148.           fullest extent.
  149.                In designing Navstar, I went the other direction. I
  150.           elected not to include functions which I felt power-users
  151.           would find a waste of RAM. A good example of this was my
  152.           decision as to whether or not to implement a "visual tree" of
  153.           the directory structure to allow easier navigation of the
  154.           hierarchy. In discussing it with colleagues, several pointed
  155.           out it was a great aid in making the hierarchical structure
  156.           easier for novices to comprehend. With this I concur.
  157.           However, I felt the overhead for the code/data needed to
  158.           implement a visual tree was not warranted. Now I am sure
  159.           there are those who would and who will argue with me, and I
  160.           welcome such correspondence. However, this is a good example
  161.           of the driving ideal behind Navstar.
  162.                As an aside, in version 1.1 a 'jumpdir' function which
  163.           allows for a nice method of hierarchical tree navigation.
  164.           Instead of a super-slick interface, Navstar provides a no-
  165.           nonsense, extremely functional method of navigation. The
  166.           jumpdir function is useful proportional to the amount of
  167.           familiarity a user has with the directory structure of a
  168.           volume. Most power users are intimately familiar with their
  169.           directory structure, and so can use jumpdir extremely well.
  170.                Yet another example is the admittedly boring display
  171.           screen Navstar uses. No flashy borders adorn the display; its
  172.           function is to provide the maximum amount of information in
  173.           the least amount of space and allow the user to utilize that
  174.           information effectively. Yet I think you will find that a
  175.           boring screen is not so great a detriment as some would have
  176.           you believe.
  177.                My personal system is an 8088-based (4.77 Mhz!) system,
  178.           and Navstar is more than usable with respect to speed on this
  179.           system. In using this system I was at the lowest common
  180.           denominator, so it was relatively easy to detect critical
  181.           areas. Because of this, Navstar really flies on 286 and 386
  182.           systems with fast hard drives. Both speed and space were
  183.           critical considerations, speed because my system is slow, and
  184.  
  185.  
  186.                                    Navstar 1.0
  187.                                         1
  188.  
  189.  
  190.  
  191.  
  192.           size because Navstar is designed to run other programs with
  193.           ease. When executing another program, Navstar takes up only
  194.           about 47k (depending on configuration options) or a mere 7k
  195.           (!!!) of your precious system memory, depending on how it is
  196.           invoked. These rather sparse memory requirements are a great
  197.           advantage when one wishes to run programs from inside
  198.           Navstar.
  199.                While most other similar products include extensive
  200.           pull-down menus or similar "nice" command structures, I found
  201.           this to be counter-productive in light of my goal. Similar
  202.           reasoning led me to make the installation process part of a
  203.           separate program; this saves the memory that in-code
  204.           installation would otherwise use. And so on; the very simple
  205.           command structure is another by-product of this train of
  206.           thought.
  207.                Several of the other products ignored color; since I
  208.           have a CGA system (flicker-free!), color was of distinct
  209.           importance to me. I made the color options as varied as
  210.           possible. Hopefully they are wide-ranging enough to suit
  211.           everyone. Since I have a CGA card, the 43 and 50 line modes
  212.           of EGA and VGA cards are not supported; this should change in
  213.           the future.
  214.                The aged-ness of my system does have some drawbacks
  215.           though. For instance, I have no access to extended or
  216.           expanded memory, so Navstar makes no use of such peripherals.
  217.           This is something I hope to rectify in the future. In version
  218.           1.1, it is relatively easy to make Navstar use an extended or
  219.           expanded memory RAMdisk.
  220.                A few extra words are in order about Navstar's use of
  221.           memory. Normally, Navstar stores two distinct blocks of
  222.           information. First, it stores the directory information,
  223.           which is read from the CCD.DAT file. This block of memory is
  224.           not deallocated when other processes are executed from inside
  225.           of Navstar. Therefore, the exact memory requirements of
  226.           Navstar differ for different configurations.
  227.                Second, Navstar stores each file entry as part of a
  228.           dynamically allocated block of memory. However, when
  229.           executing another program, Navstar deallocates this entire
  230.           block in order to save memory. When the program(s) are
  231.           finished executing, Navstar must then reread and resort the
  232.           current directory. This is somewhat different from other,
  233.           similar, programs. Generally, these programs retain the
  234.           directory in memory, thereby chewing up gobs of memory and
  235.           leaving little for the program to use.
  236.                Finally, while Navstar has been released for only 3
  237.           months now, it has been a "bootstrap" system. By that I mean
  238.           it has been used in its own development for the past six
  239.           months to a year. So, while I will not go out on limb and say
  240.           that it is bug-free, it is bug-minimal(?).
  241.  
  242.  
  243.  
  244.  
  245.  
  246.                                    Navstar 1.0
  247.                                         2
  248.  
  249.  
  250.  
  251.  
  252.                                Comments on Navstar
  253.  
  254.                This manual does not completely specify Navstar. In
  255.           using Navstar you will encounter lots of things which are not
  256.           covered in the manual. Most of these things are minor
  257.           touches, such as the string editing. String editing is quite
  258.           complete in Navstar; you can toggle between Insert/Overwrite
  259.           modes, navigate forward and backward using the arrow keys as
  260.           well as some control combinations. Navstar also "remembers"
  261.           the last executed command, making repeated commands easier,
  262.           as well as recovering from mistyped commands which failed to
  263.           execute.
  264.                This manual is intended to supplement the natural
  265.           curiosity of the DOS power-user. Navstar is constructed in
  266.           such a way that anyone with a solid background in DOS can
  267.           begin using it immediately; the beginner will have to spend
  268.           some time experimenting, but he or she too should have little
  269.           difficulty tapping the power of Navstar.
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.                                    Navstar 1.0
  307.                                         3
  308.  
  309.  
  310.  
  311.  
  312.                                   Installation
  313.  
  314.                Installing Navstar is quite simple. First of all, create
  315.           a directory for Navstar (say, called \navstar on your C:
  316.           drive) using DOS's mkdir (make directory) command. Now copy
  317.           all the files from the distribution disk over to this
  318.           directory (c:\navstar).
  319.                Now, a few changes must be made to your AUTOEXEC.BAT
  320.           file. First, add a line 
  321.                set NAVSTAR=c:\navstar
  322.           or =whatever path Navstar resides in. Then add that path
  323.           (c:\navstar in my example) to your PATH environment variable.
  324.           Consult your DOS manual for details on how to do this.
  325.                Finally, use the Navinst installation program to
  326.           configure Navstar to your taste. Then reboot to make the
  327.           changes in your AUTOEXEC.BAT file take hold.
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.                                    Navstar 1.0
  367.                                         4
  368.  
  369.  
  370.  
  371.  
  372.                             Navstar's Screen Display
  373.  
  374.                Upon invoking Navstar at the DOS prompt, you will see
  375.           several things. In this section we will discuss them, and
  376.           what they mean to you.
  377.  
  378.           The Files
  379.           ---------
  380.  
  381.                The first thing you will see is a list of files in the
  382.           current directory. The files will be listed in lower case, 88
  383.           on a screen, 4 columns across. Don't worry about the order
  384.           they are displayed in; you can change that to taste later.
  385.           Directory entries have their names preceded by a '\'
  386.           character, and files with hidden, system, volume, or
  387.           read-only attributes will have these attributes displayed as
  388.           follows:
  389.                filename.ext [HRS]
  390.           If none of the attributes are present, the brackets will not
  391.           be displayed at all.
  392.  
  393.           The Current & Logged Path
  394.           -------------------------
  395.  
  396.                In the lower left hand corner, you will see two paths
  397.           displayed, the current path and the logged path. The current
  398.           path is the path which currently has its files displayed on
  399.           the screen. The logged path is just that; it is the current
  400.           working directory as far as DOS and Navstar are concerned.
  401.           These two separate paths stem from their counterparts in
  402.           command-line DOS: You may be in C:\TEMP\TEMP2 (which would be
  403.           your logged path) and type DIR C:\TEMP (which would be your
  404.           current path). The power of having separate paths will become
  405.           apparent later when you learn to manipulate files, so don't
  406.           worry if it is a bit unclear now.
  407.  
  408.           The Pages Line
  409.           --------------
  410.  
  411.                There is a line in the lower left hand corner which
  412.           reads:
  413.                Page X of Y
  414.           What this means, logically enough, is that you are currently
  415.           displaying page X of Y possible pages of files. Pages of
  416.           files are a necessary and convenient way to handle
  417.           directories of more than 88 files.
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.                                    Navstar 1.0
  427.                                         5
  428.  
  429.  
  430.  
  431.  
  432.           The Sort Type & Order
  433.           ---------------------
  434.  
  435.                Again in the lower right hand corner, you will see 2
  436.           characters bracketed by > and <. The two characters within
  437.           describe what the current sort type and order. The
  438.           possibilities are as follows:
  439.                Sort Type:
  440.                N  File Name
  441.                E  File Extension
  442.                S  Files Size
  443.                D  File Date
  444.                U  Unsorted
  445.           The sort order has only two possibilities: ascending and
  446.           descending. Ascending is signified by a '+', and descending
  447.           by a '-'. So you will see something like >N+<, meaning the
  448.           files are sorted by name, in ascending order.
  449.                An extra note about sort order is needed here regarding
  450.           volume labels and directory entries. Volume labels are always
  451.           assumed to come "first" in any sort order, followed by any
  452.           directory entries. Within a directory, each subdirectory
  453.           entry will be sorted by name, regardless of the current sort
  454.           order and type. Further, the parent entry ".." will always be
  455.           displayed as the first directory entry.
  456.  
  457.           The Logged Drive
  458.           ----------------
  459.  
  460.                Yet another piece of information displayed in the lower
  461.           right hand corner is the currently logged drive. Normally you
  462.           can disregard this; it is only important if you will be use
  463.           Navstar to peruse disks across multiple drives. In this case,
  464.           the logged drive determines to what drive you will be
  465.           returned to when you exit Navstar. The logged drive also
  466.           informs you which volume's directory tree information is
  467.           currently in memory.
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.                                    Navstar 1.0
  487.                                         6
  488.  
  489.  
  490.  
  491.  
  492.           Navigation & The Cursor
  493.           -----------------------
  494.  
  495.                Upon starting up, you will notice that the upper-left
  496.           hand corner entry is highlighted in some fashion. That is
  497.           because the cursor is currently residing there. There are
  498.           many ways to move the cursor, and we will now discuss a few
  499.           of them. The arrow keys: these work as you might expect, with
  500.           up, down, left, and right moving you in the expected
  501.           directions. Experiment with them to get a grasp on how they
  502.           wrap around; it is easier to see than to explain. Basically,
  503.           holding any one of the four down will eventually traverse an
  504.           entire screen.
  505.                Home and End: these keys move you to the first entry and
  506.                the last entry of the current screen.
  507.                PgUp and PgDn: these keys move you two the previous or
  508.                next screen of files, respectively. These do NOT wrap
  509.                around at all.
  510.                Control Home & Control End: these keys move you to the
  511.                first and last pages of files.
  512.  
  513.           Tab/Control-S: Filename Character Search
  514.           ------------------------------------
  515.  
  516.                Navstar has one further method of navigating among the
  517.           files in a directory: textual search. This is a very useful
  518.           method becomes it allows you to quickly find a particular
  519.           file, regardless of the current sort method.
  520.                To invoke the text search feature, press the Tab key or
  521.           Control-S. Now, in the lower left hand corner, the message
  522.           "Scan: " will appear. Now type in a character. One of two
  523.           things will happen. If a filename starting with that
  524.           character can be found, the cursor will jump to the necessary
  525.           page and highlight the first matching occurrence, and the
  526.           character will appear in the Scan line. If there is no
  527.           filename starting with that character, Navstar will beep, and
  528.           the character will not be added to the Scan line. This
  529.           behavior will continue until you press a key which is not one
  530.           of the following: [0-9], [a-zA-Z], or a period.
  531.                A special situation occurs when the period is the first
  532.           character typed: the following characters are compared to
  533.           file extensions only. For instance, the sequence:   
  534.           Tab/Control-S .exe ESCAPE will leave the cursor positioned at
  535.           the first .exe file on the screen forward of the original
  536.           cursor position.
  537.                The last point is an important one: the text search
  538.           function searches from the current cursor position forward;
  539.           it does not reset to the beginning of the screen/pages when
  540.           invoked.
  541.                Finally, BackSpace can be used to edit the Scan line.
  542.  
  543.  
  544.  
  545.  
  546.                                    Navstar 1.0
  547.                                         7
  548.  
  549.  
  550.  
  551.  
  552.           The File Information Line
  553.           -------------------------
  554.  
  555.                The last part of the screen display to be explained is
  556.           the file information line. This is the line between brackets
  557.           in the lower right hand corner. Notice as you move the
  558.           cursor, the content of this line changes. This line contains
  559.           pertinent information about the file the cursor is currently
  560.           residing on. By pertinent information we mean the following:
  561.           size, time of creation, date of creation. For most files this
  562.           is enough. For directory entries, instead of a file size, the
  563.           string "<DIR>" is substituted. For volume labels, the string
  564.           "<VOL>" is substituted. 
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.                                    Navstar 1.0
  607.                                         8
  608.  
  609.  
  610.  
  611.  
  612.                             Informational Keystrokes
  613.  
  614.           The '/' and '?' keys: Help
  615.           --------------------------
  616.  
  617.                These two keys, as you might have noticed, reside on the
  618.           same physical key. So, for convenience sake, both invoke the
  619.           help screen. The help screen is, by design, very minimal. It
  620.           primarily lists available keystrokes and the functions
  621.           associated with them. Pressing the same key again will bring
  622.           up the title menu, while pressing any other key will clear
  623.           the menu.
  624.  
  625.           The 'I' key: Information
  626.           ------------------------
  627.  
  628.                Pressing the 'I' key will bring up a three line display
  629.           of pertinent information. For instance: free space on disk,
  630.           current time & date, max number of files & directories, and
  631.           so on. Pressing any other key will return you to the command
  632.           level.
  633.  
  634.           The 'K' key: Defined Keys and Extensions
  635.           -------------------------------------------------------
  636.  
  637.                Pressing this key will bring up the first of two
  638.           screens. First, it will bring up a list of all the Function
  639.           Keys and Alternate Function Keys, with each's associated
  640.           current definition. Pressing any key except 'E' will return
  641.           you to the command level, while pressing an 'E' will take you
  642.           to the second information screen. This screen contains the
  643.           recognized filename extensions and their associated command
  644.           lines. Key definitions and extensions will be covered later;
  645.           for now it is enough to know this key exists.
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.                                    Navstar 1.0
  667.                                         9
  668.  
  669.  
  670.  
  671.  
  672.                 Commands which Alter Navstar's Current Attributes
  673.  
  674.           The 'N': Changing to a New Directory
  675.           ------------------------------------
  676.  
  677.                This is a fairly straightforward command; if you
  678.           understand how DOS's chdir command works, you understand how
  679.           the 'N' command works, with a few limitations. When you press
  680.           the 'N' key, it will ask you for a new directory
  681.           specification. For the most part, the 'N' command works as
  682.           though you were at the command line in the logged directory
  683.           and typed in cd <new directory spec>. The limitation is that
  684.           you cannot use the .. or . filenames in specifying a new
  685.           directory. This is not so great a limitation as it might
  686.           seem, thanks to Navstar's built in mechanisms to traverse
  687.           directory structures, which will be shown later. Navstar
  688.           evaluates such directory specifications in a variety of ways.
  689.           The following rules apply:
  690.                1) If the filespec includes a drive designation, it is
  691.                used as is, with no expansion. Note that DOS itself may
  692.                perform some interpretation, depending on the logged
  693.                directory of the specified drive.
  694.                2) If the filespec begins with the '\' character, the
  695.                filespec is appended to the current drive, and no
  696.                further interpretation is done.
  697.                3) If the filespec does not begin with the '\'
  698.                character, but is not empty, the filespec is appended to
  699.                the currently logged path.
  700.                4) If the filespec is empty, the current path is used.
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.                                    Navstar 1.0
  727.                                        10
  728.  
  729.  
  730.  
  731.  
  732.           The 'J' key: Jump to a Matching Directory
  733.           -----------------------------------------
  734.  
  735.                This Jump function is an extraordinarily powerful means
  736.           to navigate DOS's directory structure. After pressing 'J',
  737.           Navstar will prompt for a target string. After you enter this
  738.           target string, Navstar will search its internal Jump table
  739.           for matches. A match is a pathname with a directory entry
  740.           starting with the target string. For instance, the target
  741.           string "uti" would match:
  742.                \utils
  743.                \temp\utility
  744.                \help\utils\tmp
  745.           If no matches are encountered, you will be informed and the
  746.           function will abort. If a single match is found, Navstar will
  747.           change the current directory to the match.
  748.                If more than one matches are found, the first will be
  749.           displayed. Use the up and down arrow keys (as well as Home
  750.           and End) to scroll through the list of matches until you find
  751.           the desired entry. WHen you find it, hit return. Doing so
  752.           will cause Navstar to change to the selected directory.
  753.                A drive specifier may be used in specifying the target
  754.           string. When a target string is of the form "x:<string>", two
  755.           things happen. First, Navstar logs "x" as the current drive.
  756.           Then it proceeds as if the target string had been entered in
  757.           the above example. Even if you use the escape key to abort
  758.           the Jump operation, you will still find yourself logged onto
  759.           drive "x".
  760.                In order for the jumpdir function to work, the data file
  761.           CCD.DAT must have been created in the volume's root
  762.           directory. If the file does not exist, this function will not
  763.           work. Use the Control-J function (see following) to create
  764.           the data-file.
  765.  
  766.           Control-J: Updating the Jump Table:
  767.           -----------------------------------
  768.  
  769.                When you press Control-J, Navstar executes the command
  770.           line "CCD -r". As explained in the section of this manual
  771.           concerned with the CCD program, this causes the jump data
  772.           file on the current logged volume to be updated.
  773.  
  774.  
  775.           The 'L' key: Log the Current Directory
  776.           --------------------------------------
  777.  
  778.                This is exactly what it sounds like; whatever the
  779.           current directory path is, it becomes the logged path also.
  780.           The logged drive is changed if necessary. If the logged drive
  781.           changes, Navstar will read that volume's directory info into
  782.           the Jump table.
  783.  
  784.  
  785.  
  786.                                    Navstar 1.0
  787.                                        11
  788.  
  789.  
  790.  
  791.  
  792.           The 'W' key: Swap Current and Logged Paths
  793.           ------------------------------------------
  794.  
  795.                This is a somewhat strange and counter-intuitive
  796.           function which is included because I found it extraordinarily
  797.           useful. It does exactly what it seems; it swaps the current
  798.           and logged paths, changing the display accordingly.
  799.  
  800.           The 'O': Change the Sorting Method
  801.           ----------------------------------
  802.  
  803.                Pressing this key will toggle the sorting method based
  804.           on the current one in the following progression:
  805.                name
  806.                extension
  807.                size
  808.                unsorted
  809.           The display will be updated accordingly.
  810.  
  811.           Control-O: Toggle Ascending/Descending Sort Order
  812.           -------------------------------------------------
  813.  
  814.                This will toggle the current sorting method between
  815.           ascending and descending and the display will be updated as
  816.           necessary. Notice this has no effect on an unsorted
  817.           directory.
  818.  
  819.           Control-A: Change the Current Attribute Mask
  820.           --------------------------------------------
  821.  
  822.                Pressing this key allows you to edit the attribute mask
  823.           which determines what files are displayed/available for
  824.           manipulation by Navstar.
  825.  
  826.           Control-R: The Refresh Screen Key
  827.           ---------------------------------
  828.  
  829.                This key redraws the screen. It is provided as a means
  830.           to clean up the screen after TSR's which do not do so after
  831.           they have been invoked.
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.                                    Navstar 1.0
  847.                                        12
  848.  
  849.  
  850.  
  851.  
  852.                          Commands for manipulating files
  853.  
  854.           The ' ','+','-' & Insert Keys: Marking files
  855.           --------------------------------------------
  856.  
  857.                In order to manipulate files, you need a way to mark
  858.           specific files. Navstar provides several ways to do this.
  859.                Pressing the space bar marks the current file; the file
  860.           will begin to blink. When you move the cursor off of this
  861.           file, the file will be shown as marked by a different screen
  862.           attribute (color).
  863.                The '+' and '-' keys are used to mark a large group of
  864.           files. When you press either of the, the first thing that
  865.           happens is all files & directory entries in the current
  866.           directory are unmarked. If the '-' key was pressed, that is
  867.           all that happens. If the '+' key was pressed, all files (but
  868.           *not* directories) are marked, on all pages.
  869.                Finally, the Insert key allows for a very flexible
  870.           method of marking files. When you press the Insert key, you
  871.           toggle off and on the 'marking' mode. When you turn on
  872.           marking mode, the file the cursor is on will be marked. Any
  873.           other files you subsequently move across will also be marked.
  874.  
  875.  
  876.           The 'C' Key: Copying Files
  877.           --------------------------
  878.  
  879.                This is possibly the most used function in Navstar's
  880.           repertoire. As you would think, it is a powerful method for
  881.           copying files across the directory structure of a disk. It is
  882.           both simple and powerful, and can take some understanding if
  883.           you wish to use some of the more advanced possibilities.
  884.                First, in order to copy a file or group of files, you
  885.           must mark the file(s) you wish to copy. The press the 'C'
  886.           key. Navstar will then ask you for the destination file
  887.           specification. Notice you are simply specifying the path into
  888.           which another copy of each marked file will be copied!!! You
  889.           cannot change the name of a file using the copy command.
  890.                Navstar evaluates such destination filespec's in a
  891.           variety of ways, depending on the filespec. The following
  892.           rules apply:
  893.                1) If the filespec includes a drive designation, it is
  894.                passed to DOS as is, with no expansion. Note that DOS
  895.                itself may perform some interpretation, depending on the
  896.                logged directory of the specified drive.
  897.                2) If the filespec begins with the '\' character, the
  898.                filespec is appended to the current drive, and no
  899.                further interpretation is done.
  900.                3) If the filespec does not begin with the '\'
  901.                character, but is not empty, the filespec is appended to
  902.                the currently logged path.
  903.                4) If the filespec is empty, the logged path is used.
  904.  
  905.  
  906.                                    Navstar 1.0
  907.                                        13
  908.  
  909.  
  910.  
  911.  
  912.           It is this last option which is so convenient; by
  913.           manipulating the current and logged directories cleverly,
  914.           copying becomes a trivial process.
  915.  
  916.           The 'B' Key: Backup Files
  917.           -------------------------
  918.  
  919.                In the above description of the copying command, it was
  920.           noted that the copy command does not allow you to create
  921.           another copy of a file with a different name. To do this, you
  922.           would use the Backup Files command. When the 'B' key is
  923.           pressed, for each marked file, Navstar will ask for a new
  924.           filename. This will create a new copy of a marked file with a
  925.           new name, in the same directory.
  926.  
  927.           The 'M' key: Move Files/Make Directory
  928.           --------------------------------------
  929.  
  930.                The 'M' key is the only command key in Navstar which
  931.           does double duty. Depending on whether there are any files
  932.           marked, it either invokes the Move Files command or the Make
  933.           Directory.
  934.                With some number of marked files, Navstar will ask for a
  935.           destination file specification, which works just as in the
  936.           Copy command. It then proceeds just as in the copy command,
  937.           except it deletes the source file after the copy has been
  938.           completed. However, if the file is being moved within a
  939.           single volume, instead of copy the entire file, Navstar will
  940.           use the DOS rename function to move it; this is significantly
  941.           faster.
  942.                If there are no files marked, Navstar will ask for a new
  943.           directory entry, which will then be created in the *current*
  944.           directory.
  945.  
  946.           The 'R' Key: Renaming Files & Directories
  947.           -----------------------------------------
  948.  
  949.                When the 'R' key is pressed and there are files marked,
  950.           Navstar will ask the you, for each marked file, the new
  951.           filename. Note you cannot use rename to move files, as it
  952.           only allows the user to edit the filename, not the pathname.
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.                                    Navstar 1.0
  967.                                        14
  968.  
  969.  
  970.  
  971.  
  972.           The 'D' Key: Deleting Files & Directories/Global Verify
  973.           -------------------------------------------------------
  974.  
  975.                When the 'D' key is pressed and there are marked files, 
  976.           Navstar will first query you if you are sure you wish to
  977.           progress. If the user responds positively, Navstar then
  978.           proceeds to delete each marked file. If Navstar encounters a
  979.           marked directory entry, it will halt and query you if you
  980.           wish to delete the entry. After taking the appropriate
  981.           action, Navstar then proceeds on with the deletion process.
  982.           Navstar will not delete a non-empty directory, nor will it
  983.           delete the currently logged directory.
  984.  
  985.           Control-D: Deleting Files & Directories/Individual Verify
  986.           ---------------------------------------------------------
  987.  
  988.                When the Control-D key is pressed and there are marked
  989.           files, Navstar then proceeds to delete each marked file. For
  990.           each file or directory, Navstar will query you if you wishes
  991.           to delete the entry. After taking the appropriate action,
  992.           Navstar then proceeds on with the deletion process. Navstar
  993.           will not delete a non-empty directory, nor will it delete the
  994.           currently logged directory. This method provides an
  995.           additional safety net for deletion over the 'D' command if
  996.           the you so wish.
  997.  
  998.           The 'A' Key: Alter File Attributes
  999.           ----------------------------------
  1000.  
  1001.                When the 'A' key is pressed and there are marked files,
  1002.           the File Attribute Edit Line appears. This line allows you to
  1003.           alter the Hidden, System, and Read Only attributes for the
  1004.           marked files. After you select the attribute contribution you
  1005.           desire, the attribute of each marked file will be altered
  1006.           accordingly. Note that sometimes, this action will cause
  1007.           files to become hidden from the viewing directory, since it
  1008.           may no longer match the attribute mask currently active.
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.                                    Navstar 1.0
  1027.                                        15
  1028.  
  1029.  
  1030.  
  1031.  
  1032.                          Commands for Executing Programs
  1033.  
  1034.           The 'S' Key: Invoking the System
  1035.           --------------------------------
  1036.  
  1037.                When you press the 'S' key, Navstar will ask you for a
  1038.           command line. When you hit return, Navstar will invoke a new
  1039.           shell of COMMAND.COM with the command line as its parameter.
  1040.           Simply hitting return when asked for a command line will
  1041.           invoke a new shell and leave you at the DOS prompt. Typing
  1042.           "exit" will return you to NAVSTAR. 
  1043.                In general, using the System option is a very
  1044.           inefficient way to do business; primarily, it is given as a
  1045.           means to access DOS's internal commands, such as DIR (but
  1046.           why?) in case they are needed. 
  1047.  
  1048.  
  1049.           Execution Command Line Expansion
  1050.           --------------------------------
  1051.  
  1052.                Invoking the system shell is one method of running
  1053.           programs; however it is not always the most efficient.
  1054.           Indeed, it is seldom the most efficient. It takes less memory
  1055.           to simply use DOS's built-in "spawn" command. The only thing
  1056.           that "spawn" cannot do that invoking a shell can is any
  1057.           internal DOS command, such as DIR & CHDIR. Since most of
  1058.           these other functions can be accomplished better and faster
  1059.           by Navstar itself, Navstar provides a multitude of niceties
  1060.           for spawning programs. These will be discussed at length
  1061.           throughout the rest of this section.
  1062.                When Navstar is given a command line for execution, it
  1063.           performs a significant amount of parsing. The major effect of
  1064.           parsing is the replacement of the following keys in the
  1065.           following manner:
  1066.                1) (*) anytime an asterisk appears between parentheses,
  1067.                Navstar will replace (*) with the full marked filename,
  1068.                including the pathname.
  1069.                2) (!) anytime an exclamation point appears between
  1070.                parentheses, Navstar will replace (!) with the marked
  1071.                filename, *not* including the pathname.
  1072.                3) (..) anytime this appears, it adds all the marked
  1073.                file names (but not pathnames) to the command line. This
  1074.                is especially useful for editors which allow editing
  1075.                multiple files.
  1076.                3) (?) anytime a question mark appears between
  1077.                parentheses, Navstar will query you for a string, then
  1078.                replace (?) with the string.
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.                                    Navstar 1.0
  1087.                                        16
  1088.  
  1089.  
  1090.  
  1091.  
  1092.           For instance, the following command line:
  1093.             edit (*)
  1094.           Would be expanded to:
  1095.             edit c:\temp1\temp2\file1
  1096.           assuming file1 was marked, and the current directory is
  1097.           c:\temp1\temp2.
  1098.  
  1099.                Further, there is a set of execution modifiers. If the
  1100.           last parameter of a command line is a string enclosed in
  1101.           parentheses not equal to any of the expansion modifiers, it
  1102.           must be composed of the following:
  1103.                nop
  1104.                chto 
  1105.                chback
  1106.                chcurr
  1107.                ovl
  1108.                sys
  1109.                The nop option instructs Navstar not to pause for a
  1110.           keystroke when the command line is finished executing.
  1111.           Normally, Navstar will pause. 
  1112.                The chto option instructs Navstar to change directories
  1113.           to the directory of the program being executed. The program
  1114.           being executed must have its pathname fully specified.
  1115.                The chback option simply instructs Navstar to return to
  1116.           the currently logged directory after executing the command.
  1117.           It is generally used along with a chto command.
  1118.                The chcurr option changes the current directory to match
  1119.           the logged directory after the command line has been
  1120.           executed.
  1121.                The ovl option instructs Navstar to replace itself with
  1122.           the program in question; this option obviously does not allow
  1123.           you to return directly to Navstar when the program
  1124.           terminates.
  1125.                The sys option forces Navstar to invoke COMMAND.COM to
  1126.           execute the command line. This allows for DOS internal
  1127.           commands and redirection.
  1128.  
  1129.           For instance:
  1130.                c:\wp\word (*) (chto,chback,nop)
  1131.           tells Navstar to execute c:\wp\word with a marked filename as
  1132.           a parameter, and to change to c:\wp before execution begins,
  1133.           change back after execution, and not to pause after
  1134.           execution.
  1135.                Some caveats are in order. Navstar parses by spaces, so
  1136.           spacing is critical. For instance, wp/setup will return an
  1137.           error. It should be wp /setup in order to allow Navstar to
  1138.           proceed correctly. Also, do not forget that the file to be
  1139.           executed must have its pathname completely specified for the
  1140.           "chto" option to work correctly. Finally, use the (!) instead
  1141.           of the (*) option whenever possible, since it will take up
  1142.           substantially less space. DOS has an imposed limit of 128
  1143.           characters for a command line, and Navstar observes this.
  1144.  
  1145.  
  1146.                                    Navstar 1.0
  1147.                                        17
  1148.  
  1149.  
  1150.  
  1151.  
  1152.           The 'X' Key: Execute with Parameters
  1153.           ------------------------------------
  1154.  
  1155.                When this key is pressed, Navstar simply prompts for a
  1156.           command line and then executes it according to the guidelines
  1157.           specified above.
  1158.  
  1159.           The '*' Key: "Hot" Execute
  1160.           --------------------------
  1161.  
  1162.                When the '*' key is pressed and there are some number of
  1163.           marked files, each file which is marked will be executed,
  1164.           with no parameters. This is useful for running multiple
  1165.           little utilities. If no files are marked, this command is
  1166.           identical to the 'X' command.
  1167.  
  1168.           RETURN: The Action Key
  1169.           ----------------------
  1170.  
  1171.                When return is pressed, several things can happen. If
  1172.           the cursor entry is a subdirectory, Navstar will add that
  1173.           subdirectory to the current path and update the display
  1174.           accordingly. If the entry is '..', Navstar will move up one
  1175.           level on the directory tree and the current path and the
  1176.           display will be updated accordingly.
  1177.                If the entry is a file, and the extension is .COM, .EXE,
  1178.           .BAT, or one of up to fifteen other recognized extensions, it
  1179.           will immediately be executed. The recognized extensions are a
  1180.           facet of Navstar which are modified using the Navinst
  1181.           installation program. Conceptually, they are very simple. You
  1182.           are allowed to set up to fifteen extensions; associated with
  1183.           each is a command line. If a file of a matching extension is
  1184.           in question, its associated command line is executed as if
  1185.           the current file had been marked.
  1186.                There is a special extension, '.***', which has some
  1187.           special connotations attached to it. If, during installation,
  1188.           a command line is installed for this extension, it becomes
  1189.           the "default" command line.  What this means is, if you hit
  1190.           <RETURN> on a file, and that file's extension is not .COM,
  1191.           .BAT, or .EXE, and its extension does not match any extension
  1192.           occurring before the '.***' definition, the command line
  1193.           matched with '.***' will be used. In this way, it becomes a
  1194.           catch-all extension. This extension, when defined, also
  1195.           matches all files without any extension at all.
  1196.  
  1197.           The 'V' Key: Viewing Files
  1198.           --------------------------
  1199.  
  1200.                Pressing the View key invokes the command line you have
  1201.           defined as the View command line. See the next section
  1202.           "Definable Keys" for a complete description.
  1203.  
  1204.  
  1205.  
  1206.                                    Navstar 1.0
  1207.                                        18
  1208.  
  1209.  
  1210.  
  1211.  
  1212.           The 'E' Key: Editing files
  1213.           --------------------------
  1214.  
  1215.                Pressing the Edit key invokes the command line you have
  1216.           defined as your editor. See the next section "Definable Keys"
  1217.           for a complete description.
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.                                    Navstar 1.0
  1267.                                        19
  1268.  
  1269.  
  1270.  
  1271.  
  1272.           Definable Keys
  1273.           --------------
  1274.  
  1275.                Navstar supports twenty-two user-definable keys. These
  1276.           are F1 through F10, Alt-F1 through Alt-F10, 'E', and 'V'.
  1277.           These, as with the extensions, are defined using the Navinst
  1278.           installation program. Again, as with the extensions, they are
  1279.           conceptually simple. Simply put, each key can be assigned a
  1280.           command line, as was discussed previously. Then, when a key
  1281.           is pressed, the effect is as if you had pressed 'X' and then
  1282.           typed in the key definition. Any command line which can be
  1283.           executed using the 'X' command can be saved as a defined key.
  1284.  
  1285.  
  1286.           Exiting Navstar
  1287.           ---------------
  1288.  
  1289.                To exit Navstar, simply hit the Escape key. 
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.                                    Navstar 1.0
  1327.                                        20
  1328.  
  1329.  
  1330.  
  1331.  
  1332.                                     Examples
  1333.  
  1334.           This section is intended as a help for those who wish some
  1335.           examples in creating and using Navstar's command line
  1336.           execution features, including recognizable file extensions
  1337.           and definable keys. The examples are drawn from Navstar as it
  1338.           would be configured using the supplied file "data.nav". 
  1339.  
  1340.           Recognizable Extensions
  1341.           -----------------------
  1342.  
  1343.           Example 1:
  1344.  
  1345.                Notice the extension/command-line pair:
  1346.  
  1347.                     ".mak" & "make -f(*)"
  1348.  
  1349.           This is an example of an extension which I used in developing
  1350.           Navstar. What this means is that when the Action key (Return)
  1351.           is pressed on an entry with the file extension ".mak",
  1352.           Navstar will mark that entry, and execute the command line
  1353.           "make -f(*)". This will be interpreted like this. "make" will
  1354.           be tested to see if a "make.com", "make.exe", or "make.bat"
  1355.           can be found on the default search path. If so, it will
  1356.           become the first parameter in the call to DOS's EXEC() call.
  1357.           the second parameter, "-f(*)" will be expanded; the (*) will
  1358.           be replaced by the full filename of the entry. The command
  1359.           "make -f<filename>" tells the make program I use to process
  1360.           the make according to the dependency info in <filename>. So
  1361.           you can see how this is useful.
  1362.  
  1363.           Example 2:
  1364.  
  1365.           Notice: ".wp", "invokewp.bat (*) (nop,chback)"
  1366.  
  1367.           This is an example of a file extension which comes in handy
  1368.           everyday. The ".wp" corresponds to the extension used by my
  1369.           word-processor, so when I press the Action Key on a file with
  1370.           this extension, it executes the command line "invokewp.bat"
  1371.           with a single parameter, that of the current filename. The
  1372.           "nop" option tells Navstar not to pause after execution has
  1373.           been completed. The "chback" option tells Navstar to return
  1374.           the logged directory to the currently logged one when
  1375.           execution has ben completed. I use a batch file to invoke my
  1376.           word-processor because I want it to do a couple other little
  1377.           things before executing the word-processor itself.
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.                                    Navstar 1.0
  1387.                                        21
  1388.  
  1389.  
  1390.  
  1391.  
  1392.           Definable Keys
  1393.           --------------
  1394.  
  1395.           Example 1:
  1396.  
  1397.           Look at the definable key F9, "grep (?)".
  1398.  
  1399.           This is another one I use almost constantly. By pressing F9,
  1400.           Navstar will make "grep" the first argument, and then, upon
  1401.           encountering the "(?)" argument, it will query you for an
  1402.           argument line. That line will then be parsed as is and
  1403.           executed. For example, I might hit:
  1404.  
  1405.                F9 "gstring *.c"
  1406.  
  1407.           in order to search for each occurrence of a call of my get
  1408.           string routine in each C file in the currently logged
  1409.           directory.
  1410.  
  1411.           Example 2:
  1412.  
  1413.           This example is one no owner of Navstar will want to exclude.
  1414.           See the entry:
  1415.  
  1416.                c:\utils\navinst (chdir,ovl)
  1417.  
  1418.           This is a highly useful entry as follows. When invoked, it
  1419.           will execute Navstar's installation program, Navinst. Prior
  1420.           to execution, it will change to the c:\utils directory (that
  1421.           is where I keep my Navstar & Navinst executables), thanks to
  1422.           the "chdir" option. Finally, the "overlay" option tells
  1423.           Navstar to replace itself in memory with Navinst. That way,
  1424.           when you have finished modifying Navstar, it will leave you
  1425.           at the DOS prompt, where by typing Navstar you will be in the
  1426.           new, modified version of Navstar.
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.                                    Navstar 1.0
  1447.                                        22
  1448.  
  1449.  
  1450.  
  1451.  
  1452.                             The Navinst Installation Program
  1453.  
  1454.           General Comments
  1455.           ----------------
  1456.  
  1457.                Navinst, Navstar's Installation program, allows you to
  1458.           alter several of the basic operating characteristics of
  1459.           Navstar. It, like Navstar itself, has a fairly mundane
  1460.           interface. Single keystrokes select options; the Escape key
  1461.           removes you from trouble and ends operations. Some of the
  1462.           options, like recognizable extensions and definable keys, are
  1463.           merely useful to use; you do not have to take advantage of
  1464.           these if you do not wish it. Others, like color settings, are
  1465.           a near necessity depending on the display you are using.
  1466.  
  1467.           Invoking Navinst
  1468.           ----------------
  1469.  
  1470.                Invoking Navinst is simple. Simply type Navinst at the
  1471.           DOS prompt and hit return (alternatively, move Navstar's
  1472.           cursor over Navinst and hit return :-)!!!!). When you do
  1473.           this, Navinst will look for a file named "navstar.exe" in the
  1474.           currently logged directory. It aborts if it doesn't find one.
  1475.                Alternatively, there are three command line options
  1476.           which can be used. The -E<filename> switch tells Navinst to
  1477.           use <filename> instead on "navstar.exe" as the executable to
  1478.           be configured. The -D<filename> switch tells Navinst to use
  1479.           <filename> instead of "data.nav" as the default data file
  1480.           name. Finally, the -B option runs Navinst in batch mode. In
  1481.           batch mode, it simply uses the default data file (or
  1482.           specified one) to make the needed changes to the default
  1483.           executable file (or the specified). This is useful if you
  1484.           have multiple configurations which you use at different
  1485.           times.
  1486.  
  1487.           Main Menu
  1488.           ---------
  1489.  
  1490.                The Main Menu provides you with 11 options. They are:
  1491.  
  1492.                     'K' --> Modify Key Definitions
  1493.                     'C' --> Modify Colors
  1494.              Control-O  --> Modify Sort Order
  1495.                     'O' --> Modify Sort Method
  1496.                     'E' --> Modify Recognized Extensions
  1497.                     'A' --> Modify Global File Attribute
  1498.                     'V' --> Modify Setting of Video Mode
  1499.                     'M' --> Modify Max Number of Files Allowed
  1500.                     'D' --> Modify Max Number of Directories Allowed
  1501.                     'R' --> Read in a Configuration File
  1502.                     '?' --> Help Screen
  1503.                 Escape  --> Exit Navinst
  1504.  
  1505.  
  1506.                                    Navstar 1.0
  1507.                                        23
  1508.  
  1509.  
  1510.  
  1511.  
  1512.           The 'K' Key: Modify Key Definitions
  1513.           -----------------------------------
  1514.  
  1515.                This key will display the twenty function key
  1516.           definitions, and the current definition of the View and Edit
  1517.           keys. Pressing any of the keys shown will result in Navinst
  1518.           asking you for a new definition. Pressing escape while
  1519.           entering a definition will clear the definition. After you
  1520.           have entered the definition, Navinst will update the screen
  1521.           accordingly. Navinst will then wait for another key to be
  1522.           pressed. If Escape is pressed, Navinst will return to the
  1523.           Main Menu.
  1524.  
  1525.           The 'C' Key: Modify Colors
  1526.           --------------------------
  1527.  
  1528.                This key will bring a screen with the four types of
  1529.           screen attributes used by Navstar. The four attributes are:
  1530.                     Normal: used for filename display and other mundane
  1531.                             things.
  1532.                Highlighted: used for text and messages which need to be
  1533.                             emphasized.
  1534.                     Cursor: used for the cursor.
  1535.                     Marked: used to show an entry has been marked.
  1536.           Pressing any of (NCHM) will allow you to edit the
  1537.           corresponding color; for instance, N allows you edit the
  1538.           Normal attribute. You edit said attribute by using the Up and
  1539.           Down arrow keys. There are 128 possibilities for you to
  1540.           choose from for each attribute. Escape ends the editing, as
  1541.           might be expected. Escape again returns you to the Main Menu.
  1542.  
  1543.           Control-O: Modify Sort Order
  1544.           ----------------------------
  1545.  
  1546.                This will allow you to toggle between Ascending and
  1547.           Descending order as the default sort order. Simple, yes?
  1548.           Escape returns to the Main Menu.
  1549.  
  1550.           The 'O' Key: Modify Sort Method
  1551.           -------------------------------
  1552.  
  1553.                This key will allow you to cycle through the four
  1554.           sorting methods. Escape again returns you to the Main Menu.
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.                                    Navstar 1.0
  1567.                                        24
  1568.  
  1569.  
  1570.  
  1571.  
  1572.           The 'E' Key: Modify Recognized Extensions
  1573.           -----------------------------------------
  1574.  
  1575.                Here you are allowed to change the extensions which
  1576.           Navstar will recognize and their corresponding command lines.
  1577.           You press a key between A and O to choose which one, then
  1578.           fill in the extension and the command line. DO NOT forget the
  1579.           period at the start of the extension!!!!!! Escape returns you
  1580.           to the Main Menu.
  1581.  
  1582.           The 'A': Modify Global File Attribute
  1583.           -------------------------------------
  1584.  
  1585.                At this screen you can change the default file attribute
  1586.           Navstar will use when reading and displaying a directory.
  1587.           Press (HRS) to toggle Hidden, Read-Only, and System. Escape
  1588.           or Return end and save the attribute. 'A' sets all three
  1589.           attributes true, while 'C' clears all attributes. Escape
  1590.           again returns you to the Main Menu
  1591.  
  1592.           The 'V' Key: Modify Video Mode
  1593.           ------------------------------
  1594.  
  1595.                There are two types of video writing used in Navstar.
  1596.           Fast uses direct screen RAM updates. This is the preferred
  1597.           method; the only case in which it should not be used is in
  1598.           systems using older CGA cards. Such cards require you use the
  1599.           Slow setting to prevent 'snow' appearing on the screen.
  1600.  
  1601.           The 'M' Key: Modify Max Number of Files Allowed
  1602.           -----------------------------------------------
  1603.  
  1604.                When this key is pressed, Navinst will display the
  1605.           current Maximum number of files which are allowed in a
  1606.           directory. Normally this number is 1024. The Up and Down
  1607.           arrows allow you to increase/decrease this value. If you find
  1608.           you have some exceedingly LARGE directories, you can increase
  1609.           this value to about 25000 in increments of 64; you can
  1610.           decrease it similarly. If Navstar is unable to allocate space
  1611.           for the requested number of files, it will beep upon reading
  1612.           a directory. It will then halve the number of entries
  1613.           requested repeatedly until it has room. This is a crude
  1614.           method indeed; you should adjust the value using Navinst. The
  1615.           Escape key will return you to the Main Menu.
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.                                    Navstar 1.0
  1627.                                        25
  1628.  
  1629.  
  1630.  
  1631.  
  1632.           The 'D' Key: Modify Max Number of Directories Allowed
  1633.           -----------------------------------------------------
  1634.  
  1635.                This key will allow you to specify the maximum number of
  1636.           directories which will be maintained in Navstar's Jump table.
  1637.           If it is set too high, you will be wasting space. Too low,
  1638.           and not all of your directories will be entered into the
  1639.           table. Use CCD or a similar program, estimate your needs.
  1640.  
  1641.           The 'R' Key: Read in a Configuration File
  1642.           -----------------------------------------
  1643.  
  1644.                Pressing this key will result in Navinst prompting you
  1645.           for a filename to read in. This must be in the proper file
  1646.           format or you will get unpredictable results. How do you get
  1647.           a file in the proper format? Read on, this is covered in the
  1648.           section on Exiting Navinst.
  1649.  
  1650.           The '?' Key: Help Screen
  1651.           ------------------------
  1652.  
  1653.                Obvious, right? Ok, if you are still confused, try it.
  1654.           It won't bite, I promise.
  1655.  
  1656.           Escape: Exiting Navinst
  1657.           -----------------------
  1658.  
  1659.                Exiting Navinst is bit tricky. Upon pressing Escape at
  1660.           the Main Menu, Navinst will ask you if you wish to write out
  1661.           a new .EXE file, with the changes. If you answer 'Y', the
  1662.           file will be written, if you press Escape, it will not.
  1663.                Following that question, Navinst will ask if you wish to
  1664.           save a configuration file. If you respond with a 'Y', Navinst
  1665.           will prompt for the name of the file. If you press Escape, it
  1666.           will not.
  1667.                Navinst will now exit.
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.                                    Navstar 1.0
  1687.                                        26
  1688.  
  1689.  
  1690.  
  1691.  
  1692.                         The CCD Change Directory Program
  1693.  
  1694.                When I was developing the code for the Jump Directory
  1695.           function in Navstar, I did not do so within Navstar itself.
  1696.           Instead, I wrote and tested it separately as a command line
  1697.           change directory program. This program evolved into CCD,
  1698.           modestly called "Chris's Change Directory". CCD uses the same
  1699.           interface as Jump does in Navstar; refer to the section on
  1700.           the Jump function for a description as to how to use it.
  1701.           However, CCD provides some additional functionality. 
  1702.                First, CCD is the means used to update the directory
  1703.           list file CCD.DAT. This file, which resides in the root
  1704.           directory of a volume, contains a list of all directories for
  1705.           that volume. To create the file, either run CCD when the file
  1706.           is nonexistent, or run CCD with the -r option. This option
  1707.           forces CCD to update the file for the current volume. CCD -r
  1708.           is the command line used by the Control-J command in Navstar
  1709.           to update the Jump table.
  1710.                CCD has one other option, -c. This option gives back
  1711.           useful count information, such as the number of files for a
  1712.           volume, number of directories for a volume, max number of
  1713.           files in a single directories, etc. It can also be combined
  1714.           with the -r into CCD -rc, which will redo the CCD.DAT file
  1715.           and give the tabular information.
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.                                    Navstar 1.0
  1747.                                        27
  1748.  
  1749.  
  1750.  
  1751.  
  1752.                               The Navshell Program
  1753.  
  1754.                Navshell is another useful little program which performs
  1755.           the nice feat of allowing Navstar to run in an even smaller
  1756.           amount of RAM. Specifically, it consumes a mere 7k when
  1757.           configured properly. Configuration involves setting the
  1758.           NAVSTAR environment variable as shown in the Installation
  1759.           section. The only detriment to using Navshell instead of
  1760.           Navstar directly is a slight loss in speed, since Navshell
  1761.           must reload a copy of Navstar each time a program is run. On
  1762.           faster systems, with nice hard disks, this is barely
  1763.           noticeable. Try it, particularly with Navstar on a Ramdisk.
  1764.           You will like it!!! This is also the way to use Navstar if
  1765.           you have extended or expanded memory.  Use the extra memory
  1766.           as a Ramdisk, and put Navstar on it.  This will enable
  1767.           Navstar to load quickly, yet still only use 7k of RAM.
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.                                    Navstar 1.0
  1807.                                        28
  1808.  
  1809.  
  1810.  
  1811.  
  1812.                               The Disklist Program
  1813.  
  1814.                Another program included with Navstar is Disklist. 
  1815.           Disklist is a way for you to list all the files and/or
  1816.           directories for a particular volume. For instance, you can
  1817.           ask for the list to be sorted in ascending order by date per
  1818.           directory, or perhaps in descending order by size for files
  1819.           only. Disklist outputs to standard output, so its output can
  1820.           be redirected to a file easily.
  1821.                Disklist command format can be found by executing
  1822.           'Disklist ?' at the command line.  Primarily, there are three
  1823.           main types of options. First, to control the sort type and
  1824.           order:
  1825.                -n: sort by name (default)
  1826.                -e: sort by extension
  1827.                -s: sort by size
  1828.                -t: sort by date              -d: switch to descending
  1829.           Second, to control output format:
  1830.                (default) show files per directory
  1831.                -d: show directory entries only
  1832.                -f: show all files as one list
  1833.           Third, to change the root:
  1834.                -pXXX: where XXX is the pathname to use as root
  1835.                (default) root of volume.
  1836.  
  1837.                This is an extremely useful command for disk
  1838.           maintenance. I use it for periodic housecleaning of machines
  1839.           which are used by multiple people. After generating the list,
  1840.           I can go over the list with both parties, then use Navstar to
  1841.           delete the offending files.
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.                                    Navstar 1.0
  1867.                                        29
  1868.  
  1869.  
  1870.  
  1871.  
  1872.                                 License Agreement
  1873.  
  1874.                This section tells you is how to become a registered
  1875.           user once you decide that you like the program and want to
  1876.           use it on a regular basis.
  1877.  
  1878.                Navstar is distributed under the shareware marketing
  1879.           concept; it is not free software and it has not been released
  1880.           to the public domain. The documentation, executable images,
  1881.           and all other files distributed with Navstar are copyrighted.
  1882.  
  1883.                Shareware is a way of distributing computer software
  1884.           that allows you to try out a program before you purchase it.
  1885.           Programs distributed as shareware typically give you some
  1886.           period of time to use the program and evaluate its usefulness
  1887.           to you. If the program doesn't meet your needs, you're under
  1888.           no obligation to pay for it. If you do find the program
  1889.           useful and wish to continue using it on a regular basis, the
  1890.           shareware program's author usually requests that you pay for
  1891.           the program by sending him or her a completed registration
  1892.           form and payment. This is the approach I have taken in making
  1893.           Navstar available to the public.
  1894.  
  1895.                If you find Navstar to be a useful addition to your
  1896.           software library, you're requested to become a registered
  1897.           user by completing the enclosed registration form and
  1898.           returning it along with the indicated license/registration
  1899.           fee. I hope that you will agree that the $30.00 license fee
  1900.           is a small price to pay for the continued use of the program.
  1901.           It requires a large investment to develop, market, and
  1902.           support a product of this complexity. Your support in the
  1903.           form of a license/registration fee will continue to make good
  1904.           software available at low prices.
  1905.  
  1906.                Quantity discounts are available to business,
  1907.           government, and other organizations that wish to use Navstar
  1908.           on multiple computer systems. Navstar is also available at
  1909.           very special rates to organizations who wish to use it in
  1910.           promotional campaigns. Write the author for information on
  1911.           using the program this way.
  1912.  
  1913.                You are granted a limited license to use and examine
  1914.           Navstar on a trial basis to determine if Navstar is suitable
  1915.           for your needs. If you find Navstar useful and continue to
  1916.           use it on a regular basis, you should complete and return the
  1917.           registration form along with the indicated
  1918.           license/registration fee.
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.                                    Navstar 1.0
  1927.                                        30
  1928.  
  1929.  
  1930.  
  1931.  
  1932.                You are encouraged to make copies of Navstar for the
  1933.           trial use of other individuals and organizations, subject to
  1934.           the following restrictions:
  1935.  
  1936.                1) All Navstar distribution files must be copied in
  1937.                unmodified form, including the documentation, help, and
  1938.                executable image files.
  1939.                2) You may not include any other files with the
  1940.                distributed copy.
  1941.                3) You may not request compensation of any sort for
  1942.                providing the copy. This restriction does not apply to
  1943.                computer clubs and user groups who distribute software
  1944.                to their members for a nominal fee.
  1945.  
  1946.                You may not distribute Navstar with any other product or
  1947.           service without written permission of the copyright holder.
  1948.  
  1949.                Navstar may be included on electronic bulletin board
  1950.           systems for downloading by users of the bulletin board
  1951.           provided the above restrictions are met.
  1952.  
  1953.                Navstar and all accompanying materials are provided "as
  1954.           is" without warranty of any kind. The entire risk of using
  1955.           Navstar is assumed by you.
  1956.  
  1957.                The author, Christopher R. S. Schanck, makes no warranty
  1958.           of any kind, expressed or implied, including but not limited
  1959.           to any warranties of merchantability and fitness for a
  1960.           particular purpose.
  1961.  
  1962.                In no event will the author, Christopher R. S. Schanck,
  1963.           be liable for any damages whatsoever arising out of your use
  1964.           or inability to use the program.
  1965.  
  1966.                If you use Navstar on a regular basis, you should
  1967.           complete the registration form at the end of this document
  1968.           and return it along with the indicated license/registration
  1969.           fee. Registration gives you the right to use the software as
  1970.           documented in the license.
  1971.  
  1972.                The registration fee of $30.00 establishes you as a
  1973.           registered user of Navstar. You will not receive any software
  1974.           directly from the author, but you will, from time to time,
  1975.           receive notification when updated versions of Navstar are
  1976.           released.
  1977.  
  1978.                When you submit your registration fee, however, you can
  1979.           request that the author mail you a copy of the current
  1980.           version of Navstar and accompanying documentation on disk
  1981.           (3.5" or 5.25") for free. This offer is made for mailing
  1982.           addresses in the continental United States only.
  1983.  
  1984.  
  1985.  
  1986.                                    Navstar 1.0
  1987.                                        31
  1988.  
  1989.  
  1990.  
  1991.  
  1992.                The Navstar registration form appears at the back of
  1993.           this document. For your convenience, the same form is also
  1994.           contained in the file REGISTER.NAV, which can easily be
  1995.           printed.
  1996.  
  1997.                The source for Navstar is available on a case-by-case
  1998.           basis; contact the author if you are interested.
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.                                    Navstar 1.0
  2047.                                        32
  2048.  
  2049.  
  2050.  
  2051.  
  2052.                          Registration Form - Navstar 1.1
  2053.  
  2054.           Remit to:         Christopher R.S. Schanck
  2055.                                 364 W. Lane Ave.                 
  2056.                                Columbus, OH 43201
  2057.  
  2058.                             Work Phone: 814-421-7051
  2059.  
  2060.                             Navstar 1.1   April 1989
  2061.  
  2062.           Navstar Registration .............. @ $ 30.00 each  $ _____
  2063.  
  2064.                   Disk size, circle one: (   3.5"   /   5.25"   )
  2065.  
  2066.           Navstar printed Documentation ..... @ $ 15.00 each  $ _____
  2067.  
  2068.                                                     Subtotal  $ _____
  2069.  
  2070.           Overseas shipping ................. @ $ 10.00/item  $ _____
  2071.  
  2072.                                             Total (U.S.Funds) $ _____
  2073.               
  2074.           Name: _____________________________________________________
  2075.  
  2076.           Company: __________________________________________________
  2077.  
  2078.           Address: __________________________________________________
  2079.  
  2080.           ___________________________________________________________
  2081.  
  2082.           ___________________________________________________________
  2083.  
  2084.           Day Phone: _________________________ 
  2085.  
  2086.           Eve: _______________________________
  2087.  
  2088.  
  2089.                     Prices subject to change without notice.
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.                                    Navstar 1.0
  2107.                                        33
  2108.  
  2109.  
  2110.  
  2111.  
  2112.                           Registration Form - Continued
  2113.  
  2114.           I acquired Navstar 1.1 from
  2115.  
  2116.                   [ ] - Friend                [ ] - Computer Club      
  2117.                   [ ] - Electronic BBS
  2118.                   [ ] - Other - Please Specify
  2119.                       ________________________________
  2120.  
  2121.           I would also appreciate any input you would care to give
  2122.           concerning Navstar. If you have any ideas or comments that
  2123.           would make Navstar a better program, then please let me know.
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.                                    Navstar 1.0
  2167.                                        34
  2168.  
  2169.  
  2170.  
  2171.  
  2172.                                    The Author
  2173.  
  2174.                I am currently a graduate student in Computer Science,
  2175.           pursuing a PhD. As such, I expect to be in school forever. I
  2176.           was born in a steel town in Eastern Pennsylvania, and
  2177.           attended The Pennsylvania State University as an
  2178.           undergraduate, graduating in May of 1988. I hold a first-
  2179.           degree Black Belt in Tae Kwon Do, and I am an avid reader of
  2180.           science-fiction. I am always interested in hearing feedback
  2181.           on Navstar; to contact me use the same address given above in
  2182.           the licensing/registration section.
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.                                    Navstar 1.0
  2227.                                        35
  2228.  
  2229.  
  2230.  
  2231.  
  2232.                                 Acknowledgements
  2233.  
  2234.                There are many I should acknowledge for the inspiration
  2235.           for writing this program: family, friends, colleagues. In
  2236.           addition, I want to thank Borland for their excellent TurboC
  2237.           compiler, which I used to write Navstar; IBM for making my
  2238.           beloved baby, lo those many years ago; and all the other
  2239.           folks who wrote software I used to create Navstar. And
  2240.           finally, thanks to all my computer science professors, who
  2241.           instilled the knowledge to write such a utility in me, often
  2242.           against my will.
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.                                    Navstar 1.0
  2287.                                        36
  2288.