home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / t / tbox13.zip / TBOX13.ZIP / TBOXCFG.DOC < prev    next >
Text File  |  1992-07-18  |  101KB  |  2,286 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                               WINDOW ON DOS
  10.  
  11.  
  12.  
  13.                               CONFIGURATION
  14.  
  15.  
  16.  
  17.                                USER MANUAL
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                             *
  26.                           *   *
  27.                         *       *
  28.                       *           *               The
  29.                     *               *
  30.                   *                   *           Binary
  31.                  *                     *
  32.                  *                     *          Toolshed
  33.                  *                     *
  34.                  *                     *
  35.                  *  ******             *
  36.                  *        *            *
  37.                  *        *            *          Version 1.21
  38.                  *        *            *          July 2, 1992
  39.                  *        *            *
  40.                  *        *            *
  41.                   ********             *
  42.  
  43.  
  44.  
  45.                              TABLE OF CONTENTS
  46.  
  47.     1.0 INTRODUCTION.....................................................1
  48.  
  49.     2.0 Program Environment..............................................3
  50.     2.1 System Requirements..............................................3
  51.     2.2 Installation.....................................................3
  52.     2.3 Startup..........................................................3
  53.  
  54.     3.0 OPERATIONAL OVERVIEW.............................................6
  55.  
  56.     4.0 Configuration Files and the Main Menu............................8
  57.  
  58.     5.0 Configure Option : Command Line Arguments.......................10
  59.  
  60.     6.0 Configure Option : Select Color.................................11
  61.     6.1 Main Color Menu.................................................11
  62.     6.2 Change Color Settings...........................................12
  63.  
  64.     7.0 Configure Option : Sort Order Formats...........................14
  65.  
  66.     8.0 Configure Option : Display Formats..............................16
  67.  
  68.     9.0 Configure Option : Key-Bindings.................................18
  69.     9.1 Key Binding Edit/Insertion/Deletion.............................18
  70.     9.2 Key Binding Fields..............................................19
  71.     9.2.1 Key Binding Edit Menu.........................................19
  72.     9.2.2 Key-Binding Field - Label.....................................19
  73.     9.2.3 Key-Binding Field - Match List String.........................19
  74.     9.2.4 Key-Binding Field - Keystroke.................................20
  75.     9.2.5 Key-Binding Field - Command Set...............................21
  76.     9.2.6 Key-Binding Field - Help Text.................................21
  77.     9.2.7 Key-Binding Field - Flags.....................................21
  78.     9.3 Command Line Contents : DOS and Intrinsic Commands..............27
  79.     9.3.1 Basics........................................................27
  80.     9.3.2 File Variables................................................27
  81.     9.3.3 Edit Control Instructions.....................................28
  82.     9.3.4 Command Processing............................................29
  83.     9.3.5 Intrinsic tbx Command.........................................29
  84.     9.3.6 Intrinsic t*x Command.........................................30
  85.  
  86.     10.0 Configure Option : Command Overrides...........................32
  87.     10.1 Basics.........................................................32
  88.     10.2 Override Flags.................................................33
  89.     10.3 Factory Default Command Overrides..............................34
  90.  
  91.     11.0 Configure Option : Quick Lines.................................36
  92.  
  93.     12.0 Configure Option : Default-DOS-Command.........................38
  94.  
  95.     13.0 Configure Option : ToolBOX Banner..............................39
  96.  
  97.  
  98.     APPENDIX A : TBOXCFG COMMAND LINE ARGUMENTS.........................40
  99.  
  100.     APPENDIX B : INTRINSIC COMMAND SUMMARY..............................41
  101.  
  102.     APPENDIX C : SORT FORMAT SPECIFICATION..............................44
  103.     APPENDIX D : DISPLAY FORMAT SPECIFICATION...........................45
  104.  
  105.     APPENDIX E : COMMAND LINE VARIABLES.................................46
  106.  
  107. TBOXCFG User Manual                                                   Page 1
  108. ____________________________________________________________________________
  109.  
  110.  
  111.  
  112.  
  113. 1.0 INTRODUCTION
  114.  
  115.     Almost every aspect of ToolBOX is capable of being changed to suit your
  116.     personal needs.  ToolBOX is primarily a platform that can be configured
  117.     to suit whatever is required.  If you refer to a ToolBOX help screen
  118.     you'll notice the first section describes Basic Operations - essentially
  119.     the cursor keys and <SPACE> for selection.  These are the only commands
  120.     that are unchangeable.  The balance contains commands that were
  121.     configured using lower level ToolBOX capabilities, in the same way as
  122.     can be accomplished through this TBOXCFG program.  The configuration
  123.     capability extends beyond just the commands.  You can change the colors,
  124.     alter the directory display formats or sort rules, initialize ToolBOX's
  125.     startup settings, enter text for the banner line, and so on.
  126.  
  127.     This manual documents not only the procedures necessary to perform the
  128.     configuration process itself, but also the intrinsic commands that can
  129.     be used within ToolBOX.
  130.  
  131.     The configuration process generates a data file containing the
  132.     configured data - among other things the color selections, formatting
  133.     and sorting rules, and the command sets bound to various keystrokes.
  134.     This data file can then be used by ToolBOX to initialize itself to
  135.     something other than the factory default settings.
  136.  
  137.     Command definition and configuration can occur at a number of different
  138.     levels within ToolBOX.  For example:
  139.  
  140.           QUICK COMMANDS.  These can be defined directly within ToolBOX or
  141.             within the TBOXCFG program.  If defined within ToolBOX, they are
  142.             effectively deleted when exiting to DOS.  Those defined through
  143.             the TBOXCFG program are permanent.  The commands themselves are
  144.             equivalent in either case.
  145.  
  146.           KEYSTROKE ASSIGNMENTS.  Command sets can only be assigned to
  147.             keystroke keys in the TBOXCFG program.
  148.  
  149.           INFERRED BATCH FILES.  This facility is "configured" external to
  150.             both programs, by the creation and editing of the composed-
  151.             /referenced batch files.  However, the facility itself is
  152.             created through the TBOXCFG program.  The inferred batch
  153.             facility is much more general than that implied by the ToolBOX
  154.             program implementation.  The filenames used, the keystrokes, and
  155.             the parameters passed are all established by the TBOXCFG
  156.             program.
  157.  
  158.     Which technique is most applicable is left to the individual user and
  159.     their environment.
  160.  
  161.     This manual describes how the various features are configured.  Refer to
  162.     the ToolBOX User Manual for a description of how these affect the
  163.     operation of the ToolBOX program.  TBOXCFG shares many features and
  164.     conventions with the ToolBOX program.  Refer to the General Product
  165.     Overview and ToolBOX User Manuals for documentation conventions, basic
  166. TBOXCFG User Manual                                                   Page 2
  167. ____________________________________________________________________________
  168.  
  169.  
  170.     operation with cursor keys, popup menus, and so on.
  171.  
  172.     While the primary purpose of TBOXCFG is to create configuration files
  173.     for ToolBOX, these files can also be used by VIEW and TREE.  These
  174.     programs simply extract the portions of the configuration file that they
  175.     can use; typically the colors, default command line arguments, and the
  176.     banner line.
  177.  
  178.     Refer to the General Product Overview Manual for examples of practical
  179.     applications of these capabilities.
  180.  
  181. TBOXCFG User Manual                                                   Page 3
  182. ____________________________________________________________________________
  183.  
  184.  
  185. 2.0 Program Environment
  186.  
  187. 2.1 System Requirements
  188.  
  189.     The requirements are the same as for ToolBOX.  The program will run with
  190.     any Version of DOS and any type of monitor and card.
  191.  
  192.  
  193.  
  194. 2.2 Installation
  195.  
  196.     Just ensure TBOXCFG is in the current directory or on the PATH.
  197.  
  198.     Unless directed elsewhere, all configuration files are accessed from the
  199.     current directory.
  200.  
  201.  
  202. 2.3 Startup
  203.  
  204.     Like ToolBOX, TBOXCFG's operational aspects can be adjusted at the time
  205.     the program is started by entering arguments in any of three ways:
  206.  
  207.           o on the DOS command line following the program name.
  208.  
  209.           o by a DOS SET command for the "BTS" environment variable.
  210.  
  211.           o saved in the TBOXCFG.EXE executable file by the BTSPATCH
  212.             program.
  213.  
  214.     These are listed in order of decreasing precedence.
  215.  
  216.     All of the arguments are optional, and assume appropriate values if not
  217.     provided.  The video (-V) and color (-C) arguments are identical to
  218.     those used for ToolBOX.
  219.  
  220.  
  221.        SELECT VIDEO OUTPUT FORM:
  222.  
  223.                -V[b m s c e v] [25 43 50]
  224.  
  225.           Set video mode and/or number of screen lines.
  226.  
  227.                b    use BIOS output routines.
  228.  
  229.                m    assume monochrome text (MDA) video card.
  230.  
  231.                c, e, or v
  232.                     assume color graphics (CGA, EGA, or VGA) video card.
  233.                     All 3 settings have the same effect.
  234.  
  235.                s    assume CGA graphics video card and do processing to
  236.                     remove snow on screen.
  237.  
  238.                25   assume 25 visible lines of text.
  239.  
  240. TBOXCFG User Manual                                                   Page 4
  241. ____________________________________________________________________________
  242.  
  243.  
  244.                43   assume EGA/VGA card and use the 43 line by 80 column
  245.                     mode.
  246.  
  247.                50   assume VGA card and use the 50 line by 80 column mode.
  248.  
  249.  
  250.        DEFAULT COLOR SELECTION:
  251.  
  252.                -C[m c g]
  253.  
  254.           Selects one of the predefined color tables.
  255.  
  256.                m    monochrome text displays.
  257.  
  258.                c    color displays.
  259.  
  260.                g    gray scale displays, for LCD or monochrome monitors
  261.                     using color video cards.
  262.  
  263.  
  264.        SELECT EXECUTION ASPECTS:
  265.  
  266.                -X [a#] [fF]
  267.  
  268.           The eXecution subarguments are:
  269.  
  270.                a#   select permitted audible tones.  Add the numbers for the
  271.                     particular sounds you wish to hear.
  272.  
  273.                          1 border violations.  Short beeps for attempts to
  274.                            cursor beyond screen borders.
  275.  
  276.                          2 syntax.  Brief chirp made when ToolBOX is unable
  277.                            to understand a keyboard request.  Typically an
  278.                            unexpected character was entered.
  279.  
  280.                          4 error.  Longer warble made when a requested
  281.                            operation could not be carried out.
  282.  
  283.                     The default is a7 - all sounds are enabled (1+2+4).
  284.  
  285.  
  286.                f / F
  287.                     allows Flashing colors in the color selection options
  288.                     when enabled (F).  See Section 6.
  289.  
  290.  
  291.         FILE SPECIFICATION FOR CONFIGURATION FILE :
  292.  
  293.                [d:][path]filename[.cfg]
  294.  
  295.           Identifies the initial configuration file.  If no path is
  296.           specified the current directory is assumed.  If no extension is
  297.           provided, ".CFG" is assumed.  If this argument is omitted the
  298.           initial settings are those of the ToolBOX factory defaults.
  299. TBOXCFG User Manual                                                   Page 5
  300. ____________________________________________________________________________
  301.  
  302.  
  303.  
  304.  
  305.     The default argument list for TBOXCFG is:
  306.  
  307.           -xa7f
  308.  
  309.     The video and color options default to suit the current environment, and
  310.     there is no default configuration filename.
  311.  
  312.  
  313. TBOXCFG User Manual                                                   Page 6
  314. ____________________________________________________________________________
  315.  
  316.  
  317. 3.0 OPERATIONAL OVERVIEW
  318.  
  319.     TBOXCFG is structured to enable you to modify each of the nine groups of
  320.     configurable data for the ToolBOX program:
  321.  
  322.           o default command line arguments
  323.           o color attributes
  324.           o directory sort order rules
  325.           o directory display format
  326.           o keybindings with command sets
  327.           o command overrides
  328.           o quick lines
  329.           o default execution line
  330.           o screen banner field
  331.  
  332.     On startup, a copyright screen is displayed.  Entering any key will
  333.     cancel this screen before the normal 20 second duration expires.
  334.  
  335.     From here on the configuration program operates through a series of
  336.     cascading menus.  Figure 3/1 illustrates one such set of menus.
  337.  
  338.  
  339.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  340.     │                                                                      │
  341.     │                                                  ╔════════════════╗  │
  342.     │  ┌────────────────────────┐                      ║  Tue Jly 14/92 ║  │
  343.     │  │Load configuration file │                      ║    11:43:38    ║  │
  344.     │  │Configure               │                      ║   ----------   ║  │
  345.     │  │Save┌────────────────────────┐                 ╚════════════════╝  │
  346.     │  │eXit│command line Parameters │                                     │
  347.     │  └────│select Colors           │                                     │
  348.     │       │Sort order formats      │                                     │
  349.     │       │display Formats         │                                     │
  350.     │       │Keybindings             │                                     │
  351.     │       │command Overrides       │                                     │
  352.     │       │Quick lines             │                                     │
  353.     │       │Default DOS command     │                                     │
  354.     │       │tbox┌─────────────┐     │                                     │
  355.     │       └────│Flags        │─────┘                                     │
  356.     │            │Command line │                                           │
  357.     │            └─────────────┘                                           │
  358.     │                                                                      │
  359.     │                                                                      │
  360.     │                                                                      │
  361.     │                                                                      │
  362.     │                                                                      │
  363.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  364.  
  365.     Figure 3/1 Example ToolBOX Screen Showing Default DOS Command
  366.     Configuration
  367.  
  368.  
  369.     The two upper boxes are always on the screen.  The box in the upper
  370.     right hand corner shows the time and the currently open configuration
  371.     file - if there is one.  The upper left box is effectively the main menu
  372. TBOXCFG User Manual                                                   Page 7
  373. ____________________________________________________________________________
  374.  
  375.  
  376.     from which all others are generated.  In the example "Configure" was
  377.     selected from the main menu which in turn produces the next box showing
  378.     the possible configurable options.  From this menu the "Default DOS
  379.     Command" was selected which in turn shows the options within this topic.
  380.  
  381.     Most of the basic operational functions resemble those in ToolBOX.
  382.     Within menus, use the cursor keys to move to the desired option and then
  383.     select it with <RETURN>.  Alternatively, one can select an option by
  384.     entering the letter that is highlighted on the desired option line.
  385.  
  386.     Use <ESC> to back-out of the current menu.  In some cases <ESC> can also
  387.     be used to cancel data that has been changed.  For example for windows
  388.     where text is being entered, entering <ESC> will essentially cancel the
  389.     new text and leave the original text intact.
  390.  
  391.     Again <F1> can always be used to obtain Help information.  Within
  392.     TBOXCFG this help text is context sensitive (i.e.: relates to your
  393.     current activity).
  394.  
  395.     Many operations generate text-entry windows through which text line(s)
  396.     can be entered.  For these the cursor keys as well as <DEL>, <INS>, and
  397.     <BACKSPACE> behave as one would expect.  Note that single line text-
  398.     entry windows typically can accept wider lines than that shown on the
  399.     screen.  Continue to enter text and the window will scroll horizontally
  400.     in jumps of 10 characters.  When a text line is full an audio tone will
  401.     sound, since excess text does not wrap down.  Entering <RETURN> in the
  402.     middle causes lines to be split while <DEL>eleting the return at the end
  403.     of a line will cause the consecutive lines to be concatenated providing
  404.     there is room for both lines.  To save the entered text enter <F10> or
  405.     use <RETURN> on the last physical line.
  406.  
  407.     For other situations which require special keys, the keys are specific-
  408.     ally identified on the screen.  For example <F10> is used to close text
  409.     entry windows while <RIGHT> and <CTRL RIGHT> are used to scroll through
  410.     the color selections.
  411.  
  412.     It should be noted that most of the data entered, is not, or cannot be,
  413.     validated when entered into the TBOXCFG program.  This checking must be
  414.     deferred until the configuration file is actually used by the ToolBOX
  415.     program.
  416.  
  417.  
  418. TBOXCFG User Manual                                                   Page 8
  419. ____________________________________________________________________________
  420.  
  421.  
  422. 4.0 Configuration Files and the Main Menu
  423.  
  424.     Obviously the intent of TBOXCFG is to modify and create configuration
  425.     data and place this information into a configuration file.  Ultimately
  426.     this file will be used by ToolBOX to modify its behavior.
  427.  
  428.     Unless specified as a command line argument, TBOXCFG starts up without a
  429.     default configuration file.  At this point the effective configuration
  430.     data (i.e. the settings available for modification) is equivalent to the
  431.     factory settings used by ToolBOX if no configuration file is used.  That
  432.     is, the natural settings as described throughout the ToolBOX User
  433.     Manual.
  434.  
  435.     The currently active configuration file is shown in the box in the upper
  436.     right below the time.  If none is currently active the name field is
  437.     filled with "--------" to indicate the default is being used.
  438.     Configuration files by default have an extension of "CFG" although
  439.     anything can be used.
  440.  
  441.     The main menu allows the user to read, start modifications, or write
  442.     configuration files.
  443.  
  444.     The four options with the main menu are:
  445.  
  446.           Load configuration file
  447.  
  448.                This requests that a new configuration file be read.  This is
  449.                equivalent to specifying the configuration file as an
  450.                argument on the startup command line.
  451.  
  452.                When the option is selected a text entry window appears for
  453.                entering the desired pathname.  If an existing configuration
  454.                file is already open, its name appears as the starting
  455.                default in the text window.  Enter the new name as desired.
  456.                If no path is provided, the current directory is assumed.  If
  457.                no extension is given, "CFG" is assumed.  To specify that no
  458.                extension be used, terminate the pathname with a ".".
  459.  
  460.                If the specified file cannot be found, the existing
  461.                configuration data is left unchanged, and an error window is
  462.                generated.  If the file is found, the new data is read in and
  463.                completely replaces the existing settings.  Nothing from the
  464.                previous configuration is preserved when reading in a new
  465.                file.
  466.  
  467.           Configure
  468.  
  469.                This selection brings up a sub-menu containing the nine
  470.                configurable areas.  The options, and Sections in which they
  471.                are documented in this manual are:
  472.  
  473.                     command line Arguments   Section 5
  474.                     select Color             Section 6
  475.                     Sort order formats       Section 7
  476.                     display Formats          Section 8
  477. TBOXCFG User Manual                                                   Page 9
  478. ____________________________________________________________________________
  479.  
  480.  
  481.                     Keybindings              Section 9
  482.                     command Overrides        Section 10
  483.                     Quick lines              Section 11
  484.                     Default DOS command      Section 12
  485.                     ToolBOX Banner           Section 13
  486.  
  487.                Each option in turn brings up further sub-menus as needed for
  488.                its function.  The documentation within each referenced
  489.                section assumes each of the options have been selected from
  490.                the Configure menu.
  491.  
  492.                All of the configuration options operate on the in-memory
  493.                representation of the settings.  If you decide that you do
  494.                not want to retain the changes that have been made, then
  495.                simply don't save the configuration file at the end of the
  496.                session.  Many of the individual configuration options have
  497.                explicit facilities to cancel changes.  Again, these are
  498.                changes to the in-memory version.  The disk file version is
  499.                never modified until the Save configuration file menu.
  500.  
  501.  
  502.           Save configuration file
  503.  
  504.                This requests that the current configuration data be saved to
  505.                a disk file.  Like the equivalent read option, this brings up
  506.                a text entry window for the pathname for the new config-
  507.                uration data; pre-initialized to the currently open config-
  508.                uration pathname if there is one.  Again if a path is not
  509.                explicitly stated then the current directory is assumed.  A
  510.                "CFG" extension is assumed if none is specified.
  511.  
  512.                As a precaution, if the configuration file existed
  513.                previously, then the old file is renamed with a "BAK"
  514.                extension.  To recover the old contents just refer to the
  515.                "BAK" version directly or copy the "BAK" file over the newer
  516.                undesired file.
  517.  
  518.  
  519.           eXit
  520.  
  521.                Requests that the TBOXCFG program be terminated.  Entering
  522.                <ESC> within this menu is equivalent to the eXit option.
  523.  
  524.                If changes have been made to the configuration data since the
  525.                last save, the user will be given one last opportunity to
  526.                either return to the program so the changes can be saved or
  527.                to exit the program and abandon the changes.
  528.  
  529. TBOXCFG User Manual                                                  Page 10
  530. ____________________________________________________________________________
  531.  
  532.  
  533. 5.0 Configure Option : Command Line Arguments
  534.  
  535.     Use this option to enter text that is equivalent to what would be
  536.     entered on the ToolBOX program startup command line.  Up to 72
  537.     characters can be entered into the text-entry window.  The initial
  538.     default is no text.  Enter <ESC> to cancel any changes and revert to the
  539.     prior setting.  Enter <F10> to save the changes.
  540.  
  541.     The only difference between arguments entered here and those entered on
  542.     the ToolBOX command line, established by the BTS set variable, or
  543.     created in the TBOX program by BTSPATCH, relates to the precedence in
  544.     which they are evaluated when multiple conflicting settings are
  545.     specified.  Which of the methods is used depends on the desired
  546.     permanence, whether the ToolBOX program or configuration file are to be
  547.     shared among multiple users or purposes, and so on.
  548.  
  549.     The TBOXCFG program does not check the validity of any of the text that
  550.     is entered.  This is deferred until the associated configuration file is
  551.     actually referenced by the ToolBOX program.
  552.  
  553.  
  554. TBOXCFG User Manual                                                  Page 11
  555. ____________________________________________________________________________
  556.  
  557.  
  558. 6.0 Configure Option : Select Color
  559.  
  560. 6.1 Main Color Menu
  561.  
  562.     This option allows changes to the foreground and background color
  563.     attributes for each of the three color tables: for color, monochrome,
  564.     and grayscale monitors.  Each table consists of fourteen separate pairs
  565.     of values corresponding to the foreground/background colors for various
  566.     regions of the ToolBOX screens.
  567.  
  568.     In this section the term color is used as if we were always using the
  569.     color table.  Obviously for the grayscale table this actually
  570.     corresponds to an intensity level of a given "color" while for
  571.     monochrome screens these same attributes control bold and underline.
  572.  
  573.     The main color menu is used to manipulate the color tables as a whole.
  574.     The four selectable options are:
  575.  
  576.           Change colors
  577.  
  578.                Moves to the menu where the individual color changes can be
  579.                made to the current color table.  Refer to Section 6.2 for
  580.                details.
  581.  
  582.           Restore Defaults
  583.  
  584.                Restores the factory default settings for the current color
  585.                table.  If you wish to restore the original settings for the
  586.                current configuration, exit this menu and re-read the
  587.                configuration file.
  588.  
  589.           Pick color table
  590.  
  591.                Invokes a menu to select one of the three color tables
  592.                (color, monochrome, or grayscale) as the current table.  A
  593.                diamond appears beside the currently selected table.   This
  594.                current table is referenced by the Change color and Restore
  595.                defaults options.
  596.  
  597.                The initial table setting corresponds to the color table
  598.                requested for the TBOXCFG program itself.  Configuring any
  599.                table other than the one corresponding to the current monitor
  600.                type is questionable since the attributes cannot be properly
  601.                displayed.
  602.  
  603.           caNcel changes
  604.  
  605.                Ignore all changes made to any table since this menu was last
  606.                entered.
  607.  
  608.     No mechanism exists for changing the colors for the TBOXCFG program
  609.     itself.
  610.  
  611. TBOXCFG User Manual                                                  Page 12
  612. ____________________________________________________________________________
  613.  
  614.  
  615. 6.2 Change Color Settings
  616.  
  617.     There are fourteen color fields used within ToolBOX.  As shown in Figure
  618.     6/1, the color change screen has two separate windows.  The box on the
  619.     left is a help screen showing the expected keys and the topic associated
  620.     with each of the 14 fields - labeled A through N.  The box on the right
  621.     shows a simulated series of menu boxes to illustrate how these color
  622.     changes actually appear.
  623.  
  624.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  625.     │                                    ┌────  Sample Color Table  ────┐  │
  626.     │                                    │                              │  │
  627.     │  ┌──────────────────────────────┐  │ ┌─[A] Directory Box────────┐ │  │
  628.     │  │<>      for foreground color│  │ │┌─[B] Dir Box - Selected─┐│ │  │
  629.     │  │<CTRL > for background color│  │ ││[C] normal  .fil        ││ │  │
  630.     │  │──────────────────────────────│  │ ││[D] cursor  .fil        ││ │  │
  631.     │  │[A] Dir Normal Box            │  │ ││[] selected.fil        ││ │  │
  632.     │  │[B] Dir Selected Box          │  │ ││[F] curs-sel.fil        ││ │  │
  633.     │  │[C] Dir: normal text          │  │ │└────────────────────────┘│ │  │
  634.     │  │[D] Dir: cursor text          │  │ │[G] Cmd> [H] Entered text │ │  │
  635.     │  │[E] Dir: selected text        │  │ └──────────────────────────┘ │  │
  636.     │  │[F] Dir: selected & cursor    │  │                              │  │
  637.     │  │[G] Kbd cmd prefix            │  │ ┌─[I] Menu Box─────────────┐ │  │
  638.     │  │[H] Kbd entered text          │  │ │[J] Normal entry          │ │  │
  639.     │  │[I] Menu Box                  │  │ │[K] Selected entry        │ │  │
  640.     │  │[J] Menu: normal              │  │ │[L] Select Char           │ │  │
  641.     │  │[K] Menu: selected            │  │ └──────────────────────────┘ │  │
  642.     │  │[L] Menu: select char         │  │                              │  │
  643.     │  │[M] Help Box                  │  │ ┌─[M] Help Box─────────────┐ │  │
  644.     │  │[N] Help: text                │  │ │[N] Help text             │ │  │
  645.     │  └──────────────────────────────┘  │ └──────────────────────────┘ │  │
  646.     │                                    │                              │  │
  647.     │                                    └──────────────────────────────┘  │
  648.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  649.  
  650.     Figure 6/1  Example Screen for Changing Colors
  651.  
  652.  
  653.     For example, the upper box in the right window simulates the main
  654.     ToolBOX screen.  The labeled fields represent the color for:
  655.  
  656.           [A] the outer box when ToolBOX is in DIRECTORY mode.
  657.           [B] the outer box when ToolBOX is in SELECT mode (the normal case)
  658.           [C] normal files in the directory display.
  659.           [D] the file in the display that coincides with the cursor.
  660.           [E] a selected file in the display.
  661.           [F] a selected file in the display that coincides with the cursor.
  662.           [G] the "CMD>" prefix for the keyboard command line at the bottom
  663.               of the ToolBOX screen.
  664.           [H] the text portion of the keyboard command line.
  665.  
  666.     The simulated boxes will give a feeling for how the screen will
  667.     ultimately appear.
  668.  
  669. TBOXCFG User Manual                                                  Page 13
  670. ____________________________________________________________________________
  671.  
  672.  
  673.     To change a color:
  674.  
  675.           1) select one of the 14 color fields by using the <UP> and <DOWN>
  676.              cursor keys.  The current field is identified by the flashing
  677.              diamond in the simulated screen on the right.
  678.  
  679.           2) change the foreground color by using the <LEFT> and <RIGHT>
  680.              cursor keys to cycle through the 16 possibilities.  Each change
  681.              is reflected in the simulated screen.  All video modes have 16
  682.              settings, although for monochrome mode many of these are
  683.              duplicates.
  684.  
  685.           3) change the background color by using the <CTRL LEFT> and <CTRL
  686.              RIGHT> keys to cycle through the 8 possibilities.  An
  687.              additional 8 flashing background settings can be made available
  688.              through the -xF command line argument described in Section 2.3.
  689.              Normally these are disabled as they aren't typically used and
  690.              increase the effort required to cycle through the settings.
  691.  
  692.           4) when the foreground and background colors for the field are set
  693.              correctly, either return to step 1 for other fields or enter
  694.              <ESC> to return to the parent Main Color menu.
  695.  
  696.     If you wish to cancel the color changes that have been made, then use
  697.     the Cancel option in the parent Main Color Menu.
  698.  
  699.     Color selection is a matter of personal choice.  Our extensive Graphics
  700.     Art department here at The Binary Toolshed won't feel slighted in the
  701.     least that you have chosen to ignore the default colors that they spent
  702.     countless hours selecting.
  703.  
  704.  
  705. TBOXCFG User Manual                                                  Page 14
  706. ____________________________________________________________________________
  707.  
  708.  
  709. 7.0 Configure Option : Sort Order Formats
  710.  
  711.     Through this option you can identify 8 separate sets of sort rules.
  712.     Each can then be referenced from within ToolBOX by the -s# command line
  713.     argument, the sort option sub-menu of the ToolBOX popup menu, or the /s#
  714.     parameter on the intrinsic dir command line.
  715.  
  716.     ┌──────────────────────── ToolBOX Configuration ──────────────────────┐
  717.     │                                                                     │
  718.     │                                                ╔════════════════╗   │
  719.     │  ┌────────────────────────┐                    ║  Tue Jly 14/92 ║   │
  720.     │  │Load configuration file │                    ║    09:52:58    ║   │
  721.     │  │Configure               │                    ║   ----------   ║   │
  722.     │  │Save┌────────────────────────┐               ╚════════════════╝   │
  723.     │  │eXit│command line Parameters │                                    │
  724.     │  └────│select Colors           │                                    │
  725.     │       │Sort order formats      │                                    │
  726.     │       │disp┌──────────────────┐│                                    │
  727.     │       │Key │eXtension-name    ││                                    │
  728.     │       │comm│Date┌──Sort Description and Format─┐                    │
  729.     │       │Quic│Size│eXtension-name                │                    │
  730.     │       │Defa│dOs │xn                            │                    │
  731.     │       │tbox│Name└────────────── F10 To Save ───┘                    │
  732.     │       └────│extension-daTe    │┘                                    │
  733.     │            │extension-siZe    │                                     │
  734.     │            │Reverse-date-name │                                     │
  735.     │            └──────────────────┘                                     │
  736.     │                                                                     │
  737.     │                                                                     │
  738.     │                                                                     │
  739.     │                                                                     │
  740.     └─────────────────────────────────────────────── F1 for HELP ─────────┘
  741.  
  742.     Figure 7/1 Example TBOXCFG Screen Illustrating Sort Option
  743.  
  744.     As shown in Figure 7/1, the first window presented is a list of the 8
  745.     existing sort settings.  Enter the highlighted letter (or cursor to the
  746.     option and enter <RETURN>) to select the one you wish to edit or
  747.     replace.  This brings up a text-entry window with two lines.  The first
  748.     line is to be used as the sort description or label field, while the
  749.     second is for the sort specification.
  750.  
  751.     The sort description is used for the label on the parent menu as well as
  752.     the popup sort selection menu within the ToolBOX program.  The name may
  753.     contain up to 30 characters.  The first capital letter (if any) will be
  754.     used as the highlight letter for the fast menu selection.  The second
  755.     and subsequent capitals have no special effect.  If multiple labels
  756.     share the same first capital letter, only the first will be used for the
  757.     fast selection.
  758.  
  759. TBOXCFG User Manual                                                  Page 15
  760. ____________________________________________________________________________
  761.  
  762.  
  763.     The second line containing the sort specification is composed of a
  764.     series of code letters identifying the sort rules:
  765.  
  766.           x    extension - alphabetical order
  767.           n    name      - alphabetical order
  768.           d    date      - oldest first
  769.           s    size      - smallest first
  770.           r    reverse order
  771.  
  772.     Case is not significant.  If no letter is specified, the directory
  773.     entries are left unsorted in the natural DOS order.  If more than one
  774.     code letter is specified, the second and subsequent are used to resolve
  775.     ties that remain from the previous sorts.  The reverse order request is
  776.     done at the end after all other sort procedures have been performed.
  777.  
  778.     For example, the specification:
  779.  
  780.           nxr
  781.  
  782.     requests that the primary sort be an alphabetical sort based on the 8
  783.     character filename.  For multiples entries with the same 8 character
  784.     name (i.e. ties), resolve the tie by sorting alphabetically on the 3
  785.     character extension.  On completion of all this, reverse the order of
  786.     the entire directory.
  787.  
  788.     Within a ToolBOX directory display the current directory, ".", always
  789.     remains as the first entry.
  790.  
  791.  
  792. TBOXCFG User Manual                                                  Page 16
  793. ____________________________________________________________________________
  794.  
  795.  
  796. 8.0 Configure Option : Display Formats
  797.  
  798.     This option is similar to the sort option except that it establishes 8
  799.     separate display format specifications for the ToolBOX directory file
  800.     entries.  As shown in Figure 8/1 the item selection and the two line
  801.     text entry window for inputting the label and format specification are
  802.     also the same.
  803.  
  804.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  805.     │                                                                      │
  806.     │                                                  ╔════════════════╗  │
  807.     │  ┌────────────────────────┐                      ║  Tue Jly 14/92 ║  │
  808.     │  │Load configuration file │                      ║    01:58:10    ║  │
  809.     │  │Configure               │                      ║   ----------   ║  │
  810.     │  │Save┌────────────────────────┐                 ╚════════════════╝  │
  811.     │  │eXit│command line Parameters │                                     │
  812.     │  └────│select Colors           │                                     │
  813.     │       │Sort order formats      │                                     │
  814.     │       │display Formats         │                                     │
  815.     │       │Key ┌──────────────────┐│                                     │
  816.     │       │comm│Master            ││                                     │
  817.     │       │Quic│filename-Size     ││                                     │
  818.     │       │Defa│filename-Date     ││                                     │
  819.     │       │tbox│File┌───Dir Description and Format─┐                     │
  820.     │       └────│Name│filename-Date                 │                     │
  821.     │            │mAst│/n.x D                        │                     │
  822.     │            │siZe└────────────── F10 To Save ───┘                     │
  823.     │            │filename-sizE (B) │                                      │
  824.     │            └──────────────────┘                                      │
  825.     │                                                                      │
  826.     │                                                                      │
  827.     │                                                                      │
  828.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  829.  
  830.     Figure 8/1 Example TBOXCFG Screen Illustrating Display Format Option
  831.  
  832.  
  833.     The display format specification is composed of a number of single
  834.     character codes:
  835.  
  836.           D    ddMmmyy date string
  837.           d    2 char day
  838.           m    2 char month
  839.           y    2 char year
  840.           M    3 char Month
  841.           t    hh:mm time field
  842.  
  843.           n    8 character name
  844.           x    3 character extension
  845.  
  846.           C    8 character file size byte count,
  847.                  or "  <DIR>  " if a directory
  848.           c    8 character file size byte count,
  849.                  or "         " if a directory
  850.  
  851. TBOXCFG User Manual                                                  Page 17
  852. ____________________________________________________________________________
  853.  
  854.  
  855.           s     if file is selected, otherwise " "
  856.  
  857.           \    file status: displays as "\" if a directory, otherwise " "
  858.           /    file status: displays file attribute status character,
  859.                in decreasing priority:
  860.                     "s"  system
  861.                     "h"  hidden
  862.                     "r"  read-only
  863.                     "\"  subdirectory
  864.                     " "  none
  865.  
  866.           "literal string"   any text
  867.  
  868.     These characters can be combined in any order to create the desired
  869.     display format.  Characters that do not correspond to any of the format
  870.     characters are treated literally; for example spaces or periods can be
  871.     used to separate fields.  Alternatively, literal text can be entered
  872.     directly by enclosing it in quotation marks.
  873.  
  874.     The format characters are essentially self explanatory.  Various
  875.     date/time combinations are identified through D d m y M and T.  Filename
  876.     components are specified through n and x.  The s field is an alternative
  877.     mechanism to using color highlight to identify selected display entries.
  878.     The \ and / produce single character file status characters, where \
  879.     just identifies the entry as a directory, while / also shows applicable
  880.     system, hidden and read-only file attributes.
  881.  
  882.     ToolBOX will adjust the number of file columns within the directory
  883.     display according to the effective width of the formatted specification.
  884.     A minimum of two spaces is inserted between each pair of columns.  There
  885.     is no indication within the TBOXCFG program of how the formatted text
  886.     will appear or of the number of columns.
  887.  
  888.     As an example, the default master display label and format specification
  889.     are (quotes are added for presentation purposes):
  890.  
  891.                "Master"
  892.                "\n.xC  D t"
  893.  
  894.     which displays as two columns, each of which appears as:
  895.  
  896.                " FILENAME.EXT    2,345  14Jly92 09:29"
  897.  
  898.  
  899.  
  900. TBOXCFG User Manual                                                  Page 18
  901. ____________________________________________________________________________
  902.  
  903.  
  904. 9.0 Configure Option : Key-Bindings
  905.  
  906. 9.1 Key Binding Edit/Insertion/Deletion
  907.  
  908.     Keybindings are used to associate a set of operations with a keyboard
  909.     key.  These associated items include:
  910.  
  911.           o text label - used to recognize the keybinding within the
  912.             TBOXCFG program.
  913.           o optional file matchlist specification needed for activation.
  914.           o keystroke character needed for activation.
  915.           o command set containing command lines to be processed - both DOS
  916.             and ToolBOX intrinsic commands.
  917.           o help text.
  918.           o flags - for updating directory display on completion, or
  919.             pausing, and so on.
  920.  
  921.     Selecting the Key Binding option from the Configure menu, produces a
  922.     window with a list of the labels for the existing keybindings.  The
  923.     menus within this option allow you to add, delete, or edit items in the
  924.     list.  To perform one of these update operations, cursor to the desired
  925.     keybinding label and enter <RETURN>.  The next menu options are:
  926.  
  927.           Edit
  928.  
  929.                Initiates changes to the existing settings for the
  930.                keybinding.  Refer to section 9.2 for the options available.
  931.  
  932.           Insert before
  933.  
  934.                Adds a new entry before the current keybinding.  Refer to
  935.                Section 9.2 for the options available.
  936.  
  937.           Append after
  938.  
  939.                Adds a new entry after the current keybinding.  Refer to
  940.                Section 9.2 for the options available.
  941.  
  942.           Cut
  943.  
  944.                Deletes the current keybinding.  The deleted entry is
  945.                temporarily retained and can be used in subsequent paste
  946.                operations.  These Cut and Paste combinations can be used to
  947.                duplicate or move entries.
  948.  
  949.           Paste after
  950.  
  951.                Inserts a copy of the most recent Cut operation after the
  952.                current keybinding.
  953.  
  954.     The order of the entries in the list is significant.  ToolBOX will stop
  955.     at the first entry that satisfies the keystroke and file match
  956.     requirements.  For example, if you wish to associate a keybinding with
  957.     an alphabetic key, it must be placed before the keyboard command line
  958.     binding that matches all ASCII keystroke characters.
  959. TBOXCFG User Manual                                                  Page 19
  960. ____________________________________________________________________________
  961.  
  962.  
  963.  
  964.  
  965. 9.2 Key Binding Fields
  966.  
  967. 9.2.1 Key Binding Edit Menu
  968.  
  969.     The keybinding edit menu allows individual access to each of the 6
  970.     fields plus an edit cancel option:
  971.  
  972.           Label
  973.           Matchlist
  974.           Keystroke
  975.           Command text
  976.           Help text
  977.           Flags
  978.           Cancel changes
  979.  
  980.     During the edit operations, changes are made to a copy of the actual
  981.     keybinding.  No changes are saved until <ESC> is used to exit from the
  982.     edit menu.  To exit from the menu and ignore whatever changes were made
  983.     to the fields, use the Cancel changes option.
  984.  
  985.     If the edit menu was reached from the Insert or Append options, then
  986.     each field is initialized with the default settings.
  987.  
  988.  
  989. 9.2.2 Key-Binding Field - Label
  990.  
  991.     The label field is used in the menu list of defined keybindings.  This
  992.     is the only keybinding field that is used for the TBOXCFG program rather
  993.     than ToolBOX itself.
  994.  
  995.     Up to 32 characters can be entered to describe the keybinding.
  996.  
  997.  
  998. 9.2.3 Key-Binding Field - Match List String
  999.  
  1000.     The matchlist is the optional file match specification(s) that must
  1001.     correspond to the selected file(s) before ToolBOX will invoke the
  1002.     keybinding.  If not supplied, the binding will be selected solely on the
  1003.     keystroke specification.
  1004.  
  1005.     As per the standard matchlist definition, the list can contain one or
  1006.     more filematch specifications.  Each filematch specification can contain
  1007.     the * or ? wildcards, and be preceded with !.  The ! designates that
  1008.     files matching this specification should be removed from the list of
  1009.     files selected by prior specifications.
  1010.  
  1011.     The default setting is the absence of a specification.  This designates
  1012.     that keybinding is to be selected solely on the keystroke value and is
  1013.     independent of whether or not files are selected.
  1014.  
  1015. TBOXCFG User Manual                                                  Page 20
  1016. ____________________________________________________________________________
  1017.  
  1018.  
  1019. 9.2.4 Key-Binding Field - Keystroke
  1020.  
  1021.     The keystroke is the keyboard character that must be matched for ToolBOX
  1022.     to invoke the keybinding.
  1023.  
  1024.     When the option is selected, a list of all possible keystrokes is shown.
  1025.     Select the desired entry, either by cursoring to it or by directly
  1026.     entering the keystroke.  Most of the keystrokes are straight forward,
  1027.     simply representing the valid combinations of the normal keys along with
  1028.     the <SHIFT>, <CTRL>, and <ALT> keys.  However, a few special conditions
  1029.     should be noted:
  1030.  
  1031.           o characters that are not available include:
  1032.  
  1033.                . the alphabetic keys (without CTRL or ALT)
  1034.  
  1035.                . the ToolBOX basic operation keys:  cursor keys, <PG UP>,
  1036.                  <PG DN>, <HOME>, <END>, <ESC>, and <SPACE>
  1037.  
  1038.           o as <RETURN> is used in the menu selection process, you must
  1039.             cursor to it to select its entry.
  1040.  
  1041.           o the only special allowance made for the 101 key AT keyboards are
  1042.             that the <+> and <-> keys are distinguished from the equivalent
  1043.             keys on the main part of the keyboard.  The <F11> and <F12> keys
  1044.             are not supported.
  1045.  
  1046.           o for keys that may not be available on all keyboards, the key
  1047.             label in the menu is enclosed in [brackets].  Use the direct
  1048.             menu select mechanism to test if they have the desired effect.
  1049.             This applies to such characters as <CTRL RETURN> which may not
  1050.             be supported by your BIOS or the mid <keypad 5> which may not
  1051.             physically exist on your keyboard.  Refer to the General Product
  1052.             Overview Manual for alternate keystrokes for these keys.
  1053.  
  1054.           o with three exceptions, all the keys correspond to single
  1055.             keystrokes (with one of more shift states).  The three
  1056.             exceptions provide a mechanism to group common keys together.
  1057.             The keystroke for these can be assumed to be matched if any of
  1058.             the keys within the group are entered.  The labels for the three
  1059.             groups are:
  1060.  
  1061.                ASCII       Group contains the standard 95 printable charact-
  1062.                            ters available through the main portion of the
  1063.                            keyboard.  Includes the upper and lower case
  1064.                            alphabetics, numeric, and punctuation characters.
  1065.  
  1066.                ALT LETTER  The 26 alphabetic keys when used in conjunction
  1067.                            with the ALT key.
  1068.  
  1069.                CTRL LETTER The 26 alphabetic keys when used in conjunction
  1070.                            with the CTRL key.
  1071.  
  1072.     There is no default keystroke selection.
  1073.  
  1074. TBOXCFG User Manual                                                  Page 21
  1075. ____________________________________________________________________________
  1076.  
  1077.  
  1078. 9.2.5 Key-Binding Field - Command Set
  1079.  
  1080.     The Command Set field represents the individual instructions that are to
  1081.     be processed when the keybinding is invoked.  The command lines can be
  1082.     either DOS commands or ToolBOX intrinsics.  Rules for the available
  1083.     commands and their contents are provided in Section 9.3.
  1084.  
  1085.     Each command set may contain up to 40 lines of up to 68 characters each.
  1086.     The lines can contain any valid CTRL character variable.  TBOXCFG does
  1087.     not check the validity of the entered command lines.  The command set
  1088.     lines can be viewed from within the ToolBOX program through the extended
  1089.     help facility, <ALT F1>.
  1090.  
  1091.  
  1092. 9.2.6 Key-Binding Field - Help Text
  1093.  
  1094.     The help text entered here is displayed when the <F1> help key is used
  1095.     within ToolBOX.  This help text for the configured keybindings is
  1096.     displayed after the explanations for the basic ToolBOX operations.
  1097.  
  1098.     As for the command lines, you may enter up to 40 lines of up to 68
  1099.     characters each.  The convention employed for the factory default
  1100.     commands is a single line for each consisting of:
  1101.  
  1102.           o 8 characters for the match string or " ---    " if not
  1103.             applicable.
  1104.  
  1105.           o 12 characters for the keystroke match.
  1106.  
  1107.           o up to 48 characters of explanation.
  1108.  
  1109.     Note this is only a convention used to ensure the presentation is
  1110.     consistent.  The help text can span any number of lines, even zero, and
  1111.     employ any formatting that may be desirable.
  1112.  
  1113.  
  1114. 9.2.7 Key-Binding Field - Flags
  1115.  
  1116.     The Flags menu sets the state for seven different aspects of executing a
  1117.     keybinding.  These are primarily used to optimize the screen transitions
  1118.     from the ToolBOX directory display to the program (or DOS) screen and
  1119.     then back.  Each keybinding will have different requirements in terms of
  1120.     video modes that must be initialized, file updates that must be
  1121.     integrated into the display, pause and error processing requirements,
  1122.     and so on.  The flag settings can be used to ensure that the transitions
  1123.     are done as quickly and as smoothly as possible.
  1124.  
  1125.     As each of the seven flag settings is selected, a submenu appears
  1126.     showing the available options.  The current setting is prefixed with a 
  1127.     character. To change the setting, cursor to the desired option and enter
  1128.     <RETURN> or <SPACE>.  Figure 9/1 illustrates one of these menus - for
  1129.     setting error condition options.
  1130.  
  1131. TBOXCFG User Manual                                                  Page 22
  1132. ____________________________________________________________________________
  1133.  
  1134.  
  1135.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  1136.     │                                                                      │
  1137.     │                                                   ╔════════════════╗ │
  1138.     │ ┌────────────────────────┐                        ║  Tue Jly 14/92 ║ │
  1139.     │ │Load configuration file │                        ║    11:47:51    ║ │
  1140.     │ │Configure┌───────────────────────────────┐       ║   ----------   ║ │
  1141.     │ │Save┌────│Select all ent┌───────────────────────┐╚════════════════╝ │
  1142.     │ │eXit│comm│Select current│Switch to DOS window   │                   │
  1143.     │ └────│sele│Sele┌─────────│Tell DOS of Video Lines│                   │
  1144.     │      │Sort│Exec│Edit     │Display data           │                   │
  1145.     │      │disp│Star│Inse┌────│sUbdirectory           │                   │
  1146.     │      │Key │Star│Appe│Labe│Pause on completion    │                   │
  1147.     │      │comm│KBD>│Cut │Matc│On error               │                   │
  1148.     │      │Quic│DELE│Past│Keys│Embe┌───────┐          │                   │
  1149.     │      │Defa│KBD>└────│Comm│sKip│ Abort │          │                   │
  1150.     │      │tbox│KILLDIR  │Help└────│Ignore│──────────┘                   │
  1151.     │      └────│PRINT    │Flags    └───────┘   │                          │
  1152.     │           │QUICK EXI│Cancel ch      │     │                          │
  1153.     │           │KBD> RENA└───────────────┘     │                          │
  1154.     │           │Shell to DOS                   │                          │
  1155.     │           │TREE directory                 │                          │
  1156.     │           │VIEW File                      │                          │
  1157.     │           └───────────────────────────────┘                          │
  1158.     │                                                                      │
  1159.     └──────────────────────────────────────────────── F1 for HELP ─────────┘
  1160.  
  1161.     Figure 9/1 Example Menu Showing Possible Change To The On-Error Flags
  1162.  
  1163.  
  1164.     Each of the eight flag settings covers a particular aspect of processing
  1165.     a keybinding.  These settings along with their sub-menu options are
  1166.     (defaults shown prefixed with ):
  1167.  
  1168.           Switch to DOS window
  1169.  
  1170.  
  1171.                Controls whether, before the command is executed, ToolBOX
  1172.                should retain it's own directory display or switch to the
  1173.                screen for DOS command lines.  The setting has no effect in
  1174.                split screen mode.
  1175.  
  1176.                     Inhibit switch      Stay with the ToolBOX directory
  1177.                                         display. This should only be used
  1178.                                         for commands which generate no
  1179.                                         output to the screen or produce full
  1180.                                         screen output (that is where
  1181.                                         switching to the DOS screen would be
  1182.                                         immediately replaced anyway).
  1183.  
  1184.                    Switch and save     Restore the DOS screen before
  1185.                                         executing the command, and upon
  1186.                                         completion record the updated screen
  1187.                                         state so that it can be used for the
  1188.                                         next opportunity.  Switching to DOS
  1189.                                         not only restores the screen
  1190. TBOXCFG User Manual                                                  Page 23
  1191. ____________________________________________________________________________
  1192.  
  1193.  
  1194.                                         characters but also the number of
  1195.                                         video lines.  This may be
  1196.                                         significant to some programs.
  1197.  
  1198.                     switch, Don't save  As above except that the updated DOS
  1199.                                         screen is essentially ignored on
  1200.                                         completion.  This is useful for full
  1201.                                         screen programs which require the
  1202.                                         initial DOS screen line settings.
  1203.  
  1204.  
  1205.  
  1206.           Tell DOS of video lines
  1207.  
  1208.                Determines whether DOS should be specifically told there are
  1209.                only 25 lines available in the split screen area.  As
  1210.                explained in the ToolBOX manual for the TBOX -xT command line
  1211.                argument, under some combinations and versions of the
  1212.                ANSI.SYS driver and DOS, it may be possible to have DOS
  1213.                restricted to the 25 line split screen area, yet have
  1214.                applications use the full 43 or 50 line screen.  This flag
  1215.                and the command line argument setting are combined before the
  1216.                command is carried out - i.e. as long as either is set to YES
  1217.                DOS is told of the 25 line restriction.  This setting has no
  1218.                effect if not in split screen mode.
  1219.  
  1220.                     No                  Do not tell DOS.  Assumes DOS
  1221.                                         (usually V3.x or 4 with ANSI.SYS) is
  1222.                                         self limited to the 25 line split
  1223.                                         screen area.
  1224.  
  1225.                    Yes                 Tell DOS (and therefore all other
  1226.                                         programs that default to the current
  1227.                                         screen settings) that only 25 lines
  1228.                                         are available in the split screen
  1229.                                         area.
  1230.  
  1231.  
  1232.  
  1233.           Display data
  1234.  
  1235.                This setting is used to optimize, where possible, the
  1236.                processing required to update the directory display after a
  1237.                keybinding is processed.  A complete update requires that all
  1238.                the files in the directory be re-examined to detect possible
  1239.                changes.  This file data must then be sorted and reformatted
  1240.                for presentation purposes.  Elimination of any of these steps
  1241.                (and especially the re-reading of the directory) helps
  1242.                eliminate unnecessary delays.
  1243.  
  1244.  
  1245.                    New data            File or directory changes occurred.
  1246.                                         Re-read the directory and update the
  1247.                                         display accordingly.
  1248.  
  1249. TBOXCFG User Manual                                                  Page 24
  1250. ____________________________________________________________________________
  1251.  
  1252.  
  1253.                     Re-sort             File data didn't change. Just re-
  1254.                                         sort it.
  1255.  
  1256.                     re-Sort and format  File data didn't change, but sort
  1257.                                         criteria or format rules did.
  1258.                                         Therefore use the existing file data
  1259.                                         but reformat and re-sort it before
  1260.                                         displaying.
  1261.  
  1262.                     New data if change  ToolBOX can make a SIMPLISTIC test
  1263.                                         for file changes by checking for
  1264.                                         changes in the disk space
  1265.                                         utilization before and after
  1266.                                         execution of the keybinding.
  1267.                                         Depending on whether changes were
  1268.                                         detected, this option completes as
  1269.                                         per the "New data" or "No changes"
  1270.                                         options.
  1271.  
  1272.                                         It must be emphasized that while the
  1273.                                         test is much faster than re-reading
  1274.                                         the entire directory, it is far from
  1275.                                         foolproof.  Do not use this option
  1276.                                         if you cannot afford to have the
  1277.                                         display be slightly out-of-date
  1278.                                         occasionally.
  1279.  
  1280.                     Assume BTS errorlevel
  1281.                                         Most Binary Toolshed programs return
  1282.                                         an error level indicator which
  1283.                                         identifies whether changes have
  1284.                                         occurred (refer to the General
  1285.                                         Product Overview Manual for
  1286.                                         specifics).  This option tells
  1287.                                         ToolBOX to examine this error level
  1288.                                         indicator to determine whatever
  1289.                                         display updates are warranted.
  1290.  
  1291.                     No change           There are no changes to the files
  1292.                                         involved in the current ToolBOX
  1293.                                         directory display, therefore no
  1294.                                         update is required.
  1295.  
  1296.  
  1297.           subDirectory
  1298.  
  1299.                This setting identifies whether the matchlist specification
  1300.                in the keybinding pertains to files and/or subdirectories.
  1301.  
  1302.                    No                  Match files only.
  1303.  
  1304.                     Yes                 Match subdirectories only.
  1305.  
  1306.                     Optional            Match files and subdirectories.
  1307.  
  1308. TBOXCFG User Manual                                                  Page 25
  1309. ____________________________________________________________________________
  1310.  
  1311.  
  1312.  
  1313.  
  1314.           Pause on completion
  1315.  
  1316.                Identifies whether, on completion of processing the
  1317.                keybinding command set, ToolBOX should pause and display the
  1318.                resultant DOS screen or revert immediately to the ToolBOX
  1319.                directory display.  This setting has no effect in split
  1320.                screen mode or if the PAUSE flag within ToolBOX itself is set
  1321.                to YES (see ToolBOX popup menu options or <ALT F2> in the
  1322.                ToolBOX User Manual).
  1323.  
  1324.                If what is desired is to actually pause after each command
  1325.                (and not just preserve DOS screens that would have otherwise
  1326.                been replaced), then specifically insert the DOS PAUSE
  1327.                command within the command set.
  1328.  
  1329.  
  1330.                     after Each command  If a single keystroke involves
  1331.                                         keybindings for a number of selected
  1332.                                         files, then ToolBOX will pause after
  1333.                                         the execution phase has completed
  1334.                                         for each command set for each
  1335.                                         selected file.  Any-key will cause
  1336.                                         the process to resume, however,
  1337.                                         <CTRL c> can be used to abort the
  1338.                                         remaining operations.
  1339.  
  1340.                     after All selected  As above, except ToolBOX pauses once
  1341.                                         and once only at the completion of
  1342.                                         all keybindings for the current
  1343.                                         keystroke.  The PAUSE flag set
  1344.                                         through the TBOX -xP command line
  1345.                                         argument or the ToolBOX popup menu
  1346.                                         sets this setting for all
  1347.                                         keybindings.
  1348.  
  1349.                    Never               Revert immediately to the ToolBOX
  1350.                                         directory display - do not pause.
  1351.  
  1352.  
  1353.           On-error
  1354.  
  1355.                Specifies what should be done when external programs return a
  1356.                non-zero errorlevel value.  The error setting is generally
  1357.                not applicable.  The errorlevel value is only available from
  1358.                programs that are invoked directly; with explicit .exe or
  1359.                .com extensions (for other programs, ToolBOX runs them
  1360.                indirectly through COMMAND.COM which discards the program
  1361.                errorlevel value).  Also the convention for errorlevel values
  1362.                is not consistently followed by all programs.  Judicious
  1363.                caution is warranted.
  1364.  
  1365.                     Abort               Stop processing immediately.  The
  1366.                                         audible alarm for execution errors
  1367. TBOXCFG User Manual                                                  Page 26
  1368. ____________________________________________________________________________
  1369.  
  1370.  
  1371.                                         is also issued.
  1372.  
  1373.                    Ignore              No attention is paid to the
  1374.                                         errorlevel value returned from
  1375.                                         executed programs.
  1376.  
  1377.  
  1378.           Embeddable
  1379.  
  1380.                Indicates to ToolBOX if this keybinding should be allowed to
  1381.                be processed if the associated keystroke is entered when
  1382.                ToolBOX is in the keyboard command line mode.  As explained
  1383.                for "External Command Access" in Section 9.3.2 of the ToolBOX
  1384.                User Manual, as a simple guideline, any command can be used
  1385.                as long as it does not change the current directory,
  1386.                reference the currently selected files, or conflict with
  1387.                characters used for editing the command lines or with those
  1388.                used for command line variables.  The commands that can be
  1389.                used include those that alter the number of screen lines,
  1390.                change the split screen status, change the display sort and
  1391.                format settings, toggle ToolBOX/DOS views etc.
  1392.  
  1393.  
  1394.                    No                  Do not process if the keystroke is
  1395.                                         entered in the middle of a keyboard
  1396.                                         command line.
  1397.  
  1398.                     Yes                 Process the keybinding.  Use caution
  1399.                                         here.
  1400.  
  1401.  
  1402.           sKip to cursor
  1403.  
  1404.                Specifies a special command which is intended to be processed
  1405.                once and once only, and on the file at the current cursor
  1406.                position.  The normal procedure is to execute the keybinding
  1407.                once for each selected file.
  1408.  
  1409.                    No                  Process with normal sequencing
  1410.                                         through selected files.
  1411.  
  1412.                     Yes                 Process as if the file at the cursor
  1413.                                         were the only selected file.  That
  1414.                                         is, perform the processing and then
  1415.                                         stop.  This is primarily used for
  1416.                                         the file selection commands
  1417.                                         themselves (e.g. <ALT space> ) where
  1418.                                         the already selected files should
  1419.                                         not be processed.
  1420.  
  1421.  
  1422.     While these settings may require several repetitions before the optimum
  1423.     states can be found, there is almost always a way to eliminate unneces-
  1424.     sary screen updates or transitions.
  1425.  
  1426. TBOXCFG User Manual                                                  Page 27
  1427. ____________________________________________________________________________
  1428.  
  1429.  
  1430.  
  1431.  
  1432. 9.3 Command Line Contents : DOS and Intrinsic Commands
  1433.  
  1434. 9.3.1 Basics
  1435.  
  1436.     This section describes the commands that can be used within the command
  1437.     line portion of a keybinding (see Section 9.2.5).
  1438.  
  1439.     The lines can be either DOS commands or ToolBOX intrinsics.  Intrinsics
  1440.     are the commands that are processed directly by ToolBOX.  DOS and
  1441.     intrinsic command lines can be combined in any order to comprise a
  1442.     command set.
  1443.  
  1444.     The same rules apply here as for entering keyboard command lines within
  1445.     ToolBOX.
  1446.  
  1447.     For DOS commands avoid using SET and its derivatives - PROMPT and PATH.
  1448.     DOS commands/functions that are specific to batch files such as GOTO and
  1449.     labels are also not available.  Avoid commands which install a resident
  1450.     TSR segment.
  1451.  
  1452.     The basic intrinsic commands (cd, dir, del, killdir, and sel) are
  1453.     described in the ToolBOX User Manual.  This manual describes two
  1454.     additional intrinsics: tbx, and t*x.  While they can be entered through
  1455.     the keyboard command line, they are intended for use within the
  1456.     keybinding command sets.  These are oriented toward system setup and
  1457.     configuration operations.
  1458.  
  1459.  
  1460.  
  1461. 9.3.2 File Variables
  1462.  
  1463.     Command lines, whether DOS or intrinsics, can contain variables which
  1464.     relate to files selected within the directory display.  The effective
  1465.     text is substituted for the variable when the command line is executed.
  1466.     Each variable is created by a <CTRL letter> sequence, and is displayed
  1467.     as letter.  For example <CTRL f> is shown as f.
  1468.  
  1469.     The available variables are:
  1470.  
  1471.           <CTRL d>    display drive letter.
  1472.           <CTRL p>    display path.
  1473.           <CTRL n>    1 to 8 character file name.
  1474.           <CTRL x>    0 to 3 character extension.
  1475.  
  1476.           <CTRL f>    minimized pathname, i.e. sufficient information to
  1477.                       uniquely reference the selected file from the current
  1478.                       directory.
  1479.  
  1480.           <CTRL D>    current drive letter.
  1481.           <CTRL P>    current path.
  1482.  
  1483.           <CTRL c>    last character from keyboard.
  1484.  
  1485. TBOXCFG User Manual                                                  Page 28
  1486. ____________________________________________________________________________
  1487.  
  1488.  
  1489.     The display drive letter can also be entered as a relative drive:
  1490.  
  1491.           [+-!]d     for the drive that is next, previous, or adjacent in
  1492.                       the direction of the direction flag. The resultant
  1493.                       value will always wrap around within the valid range.
  1494.                       For example, the command line:
  1495.  
  1496.                                         +d:
  1497.  
  1498.                       can be used to cycle through all the valid drives on
  1499.                       your system.
  1500.  
  1501.                       To create this sequence, enter <CTRL d>, then cursor
  1502.                       back and insert the direction character before the d.
  1503.  
  1504.  
  1505.  
  1506. 9.3.3 Edit Control Instructions
  1507.  
  1508.     Text for the keyboard command lines (see "t*x p" in Section 9.3.6) can
  1509.     contain embedded instructions which control the edit operation during
  1510.     the initial presentation of the keyboard command.  These instructions
  1511.     are coded as a single letter enclosed in angle brackets.  The four
  1512.     supported instructions, which can be inserted anywhere in the command
  1513.     text, are:
  1514.  
  1515.           <c>         set the cursor position to the current location
  1516.  
  1517.           <i>         start the edit operation in insert-mode
  1518.  
  1519.           <o>         start the edit operation in overstrike-mode
  1520.  
  1521.           <m>         mark the start (or end) of a DefaultText field.  The
  1522.                       text will be displayed in reverse video.  If the
  1523.                       initially entered character is non-printable (such as
  1524.                       <RETURN>), then the DefaultText will be converted to
  1525.                       normal text.  If, however, the initial character is
  1526.                       printable, the marked text will be deleted and
  1527.                       replaced with the newly entered character.  The cursor
  1528.                       will be positioned following this character in insert-
  1529.                       mode.  Only one such field may exist in a command
  1530.                       line.  The field continues to the end-of-line if the
  1531.                       end mark is not supplied.
  1532.  
  1533.     As an example, the following is a possible version of the rename command
  1534.     which suggests the new filename have the same name but a "NEW"
  1535.     extension.  Entering any text will overwrite this extension.
  1536.  
  1537.           t*x p rename f n.<m>new<m>
  1538.  
  1539. TBOXCFG User Manual                                                  Page 29
  1540. ____________________________________________________________________________
  1541.  
  1542.  
  1543. 9.3.4 Command Processing
  1544.  
  1545.     Section 9.3.6 describes the "t*x p command-line" command which preloads
  1546.     the command-line text into the keyboard command line.  The parameters/-
  1547.     variables for this command are evaluated twice.  Once when the command
  1548.     is initially processed and brought into the keyboard command line, and a
  1549.     second time when <RETURN> is ultimately entered.
  1550.  
  1551.     When the variables are processed by ToolBOX, the sequence  is
  1552.     translated to a single .  This facility can be used to ensure that the
  1553.     variables are expanded at the proper time.
  1554.  
  1555.     If the variable is to be replaced with the selected file name at the
  1556.     time the command line is brought into the keyboard buffer, then use one
  1557.     .  If multiple files are selected, only the first will be processed.
  1558.     It is the keyboard command line that would be reprocessed for each
  1559.     selected file, but since this command line is now static and unchanging,
  1560.     there is no need to repeat after the first pass.
  1561.  
  1562.     If the variable is to be replaced at the time the <RETURN> is entered
  1563.     (and repeated for each additional selected file), then use two  prefix
  1564.     characters when placing the variable in the command set for the key
  1565.     binding.  This displays as one  in the keyboard command line.
  1566.  
  1567.     To produce consecutive diamonds (  ), either enter two consecutive
  1568.     valid CTRL characters such as <CTRL f> and then manually delete the
  1569.     first letter, or enter <ALT 0><ALT 0><ALT 4> twice using the numeric
  1570.     keypad.  When using the keypad technique, ensure that NUMLOCK is off and
  1571.     that you release the ALT key after <ALT 4>.
  1572.  
  1573.  
  1574.  
  1575. 9.3.5 Intrinsic tbx Command
  1576.  
  1577.     The intrinsic command tbx is used to implement a number of housekeeping
  1578.     operations.  While intended to be executed transparently through
  1579.     bindings to specific keys, they may be entered manually through the
  1580.     keyboard command line.
  1581.  
  1582.     All commands contain a single letter descriptor followed by additional
  1583.     parameters as required.  These commands are:
  1584.  
  1585.           tbx d          o switch the screen to the DOS window.
  1586.  
  1587.           tbx h #        o initiate ToolBOX help, where # is 1 or 2. 1
  1588.                            selects basic command descriptions, 2 adds the
  1589.                            actual command set text for each key binding.
  1590.                            The key binding  can be used to change the help
  1591.                            descriptions for the configurable commands
  1592.                            contained in the middle section of the help text.
  1593.                            The factory default configuration uses single
  1594.                            line descriptions for each keybinding, but this
  1595.                            need not be the case.
  1596.  
  1597. TBOXCFG User Manual                                                  Page 30
  1598. ____________________________________________________________________________
  1599.  
  1600.  
  1601.           tbx p          o toggle the current PAUSE status.  When ON,
  1602.                            ToolBOX will pause at the DOS screen just before
  1603.                            returning to the ToolBOX directory display.  The
  1604.                            default is OFF, although this can be changed
  1605.                            through the TBOX -xP command line argument.  The
  1606.                            setting can also be examined and changed through
  1607.                            the ToolBOX popup menu.  This setting has no
  1608.                            effect in split screen mode.
  1609.  
  1610.           tbx r ##       o change screen rows to ##, where ## must be one of
  1611.                            25, 43, or 50.  The original DOS setting will be
  1612.                            used for any other values.  No check is made for
  1613.                            consistency with the current video card.
  1614.  
  1615.           tbx t          o toggle the current DIRECTION status.  The
  1616.                            direction state is used by <TAB>, and <SHIFT
  1617.                            SPACE>.  This state can be examined and changed
  1618.                            through the ToolBOX popup menu.
  1619.  
  1620.           tbx w          o toggle between ToolBOX SELECT and DIRECTORY
  1621.                            state.
  1622.  
  1623.           tbx N          o change directories to the next entry in the
  1624.                            directory stack; i.e. move to the next oldest.
  1625.                            The directory stack is a list (to a 500 character
  1626.                            limit) of the previous directories entered and
  1627.                            the file at the cursor on exit from each.
  1628.  
  1629.           tbx P          o change directories to the previous entry in the
  1630.                            directory stack; i.e. move to the next newest.
  1631.  
  1632.           tbx x          o conditional exit, prompt first to ensure user
  1633.                            wants to exit.
  1634.  
  1635.           tbx X          o unconditional exit.  Exit immediately.
  1636.  
  1637.  
  1638.  
  1639. 9.3.6 Intrinsic t*x Command
  1640.  
  1641.     The t*x command is similar to the tbx intrinsic command described in the
  1642.     previous section.  The notable difference being these are only to be
  1643.     initiated from command sets bound to specific keys.  Manually entering
  1644.     these commands through the keyboard command line could cause unpredict-
  1645.     able results.  Refer to the default command configurations for practical
  1646.     examples of how these commands are employed.
  1647.  
  1648.           t*x p [command-line-text]
  1649.                          o start the keyboard command, initializing with all
  1650.                            trailing text on the t*x p command line.
  1651.  
  1652.           t*x l          o start the keyboard command, initializing with
  1653.                            text from the most recent command stack entry.
  1654.                            The command stack is used to retain the latest
  1655.                            keyboard command lines, up to a 500 character
  1656. TBOXCFG User Manual                                                  Page 31
  1657. ____________________________________________________________________________
  1658.  
  1659.  
  1660.                            limit.
  1661.  
  1662.           t*x C          o assign current directory to quick-command x (x is
  1663.                            assumed to be the next character received through
  1664.                            the keyboard).  Quick-commands are limited to a
  1665.                            total of 500 characters.  They can be viewed and
  1666.                            invoked through the popup menu.
  1667.  
  1668.           t*x D          o delete quick-command x (again x is assumed to be
  1669.                            the next character received through the
  1670.                            keyboard).
  1671.  
  1672.           t*x K          o add the current keyboard command line as quick-
  1673.                            command x (x is assumed to be the next character
  1674.                            received through the keyboard).  The keyboard
  1675.                            command line is cleared on receipt of the x
  1676.                            label.
  1677.  
  1678.           t*x X          o execute quick-command x (x is assumed to be the
  1679.                            next character received through the keyboard).
  1680.                            The quick-command text is treated in the same
  1681.                            manner as if it were entered through the keyboard
  1682.                            command line.
  1683.  
  1684.           t*x f progname.ext [param1] [param2] . . .
  1685.                          o if it can be found in the current directory or on
  1686.                            the PATH, then invoke the progname.ext program
  1687.                            and pass it the parameters param1, param2, etc.
  1688.                            If the progname.ext file cannot be located, a
  1689.                            default command line is performed, see Section
  1690.                            12.  The extension must be explicitly stated.
  1691.  
  1692.           t*x x progname.ext [param2] [param3] . . .
  1693.                          o equivalent to the above t*x f command, except
  1694.                            that if progname.ext is not found, ToolBOX simply
  1695.                            beeps.
  1696.  
  1697.           t*x s          o toggle DOS split screen.  Beeps if EGA or VGA
  1698.                            video card not available.  If in 25 line mode,
  1699.                            also automatically shifts to 43 (EGA) or 50 (VGA)
  1700.                            line mode.
  1701.  
  1702.           t*x w          o initiate the popup menu window.  This permits
  1703.                            viewing or changes for quick commands, sort
  1704.                            procedures, display formats, and pause and target
  1705.                            direction states.
  1706.  
  1707.  
  1708. TBOXCFG User Manual                                                  Page 32
  1709. ____________________________________________________________________________
  1710.  
  1711.  
  1712. 10.0 Configure Option : Command Overrides
  1713.  
  1714. 10.1 Basics
  1715.  
  1716.     The command override facility makes it possible to identify and then
  1717.     make appropriate adjustments for specific commands entered on the
  1718.     ToolBOX keyboard command line.  These adjustments are essentially
  1719.     equivalent to the flag settings available for the keybindings - for
  1720.     switching to the DOS screen, pausing, refreshing the directory display,
  1721.     and so on.
  1722.  
  1723.     Configuration for the command is similar to the keybinding facility.
  1724.     When selected from the Configure Menu, a list of the existing command
  1725.     override names is presented.  Cursor to the desired entry and enter
  1726.     <RETURN>.
  1727.  
  1728.     This brings up a menu to select an update option:
  1729.  
  1730.           Edit
  1731.  
  1732.                Initiate changes to the existing settings for the command
  1733.                override.
  1734.  
  1735.  
  1736.           Insert
  1737.  
  1738.                Add a new entry before the current override command.  Flags
  1739.                are initialized to the default settings.  There is no
  1740.                significance to the order of the entries.
  1741.  
  1742.  
  1743.           Paste before
  1744.  
  1745.                Insert a copy of the most recent Cut operation before the
  1746.                current command override.
  1747.  
  1748.  
  1749.           Cut
  1750.  
  1751.                Delete the current override command.  The deleted entry is
  1752.                temporarily retained and can be used in subsequent paste
  1753.                operations.  These Cut and Paste combinations can be used to
  1754.                duplicate or move entries.
  1755.  
  1756.  
  1757.     The order of the override entries is not significant.  With the Edit and
  1758.     Insert options, a secondary menu is generated for the update itself.
  1759.     Its options are:
  1760.  
  1761. TBOXCFG User Manual                                                  Page 33
  1762. ____________________________________________________________________________
  1763.  
  1764.  
  1765.           Program Name
  1766.  
  1767.                Enter the filename for which the override is to apply.  Case
  1768.                is significant, path is not allowed, and the extension is
  1769.                optional.  As for intrinsic commands, the match will only
  1770.                occur if the name is entered in the ToolBOX in all upper or
  1771.                all lower case.  The match is performed with the name portion
  1772.                only.  The extension is provided to optimize the execution
  1773.                phase, such that if it didn't exist already, it is appended
  1774.                when a match occurs.  As for any program invocation, if the
  1775.                .exe or .com extension is known, then ToolBOX is capable of
  1776.                executing it directly without the inefficiency of using the
  1777.                intermediate COMMAND.COM.  The filename entered is also used
  1778.                for display purposes in the original selection list.
  1779.  
  1780.           Flags
  1781.  
  1782.                There are 6 separate flag settings.  Five are similar to
  1783.                those for the keybinding flags and one is unique.  These are
  1784.                described in Section 10.2.
  1785.  
  1786.           Cancel Changes
  1787.  
  1788.                All changes are made to a copy of the data which is not
  1789.                incorporated until <ESC> is entered to exit from this menu.
  1790.                If the Cancel Changes option is used, any changes made to the
  1791.                override command are ignored.
  1792.  
  1793.     If you wish to bypass the override function within ToolBOX when entering
  1794.     keyboard commands, then enter the name in mixed case.
  1795.  
  1796.  
  1797. 10.2 Override Flags
  1798.  
  1799.     The flags are similar to those used for the keybindings.  In fact five
  1800.     settings are identical.  Refer to Section 9.2 for a detailed description
  1801.     of the settings for:
  1802.  
  1803.  
  1804.           Switch to DOS window
  1805.  
  1806.                Controls transitions between DOS and ToolBOX screens; both
  1807.                before and after executing the overridden command.
  1808.  
  1809.           Tell DOS of lines
  1810.  
  1811.                Inform DOS of whether it must restrict itself to 25 lines for
  1812.                split screen usage.
  1813.  
  1814.           Display data
  1815.  
  1816.                Optimizes data updates for ToolBOX directory display follow-
  1817.                ing the over-ridden command.
  1818.  
  1819.  
  1820. TBOXCFG User Manual                                                  Page 34
  1821. ____________________________________________________________________________
  1822.  
  1823.  
  1824.           Pause on completion
  1825.  
  1826.                Indicates whether a pause should occur following the command
  1827.                before reverting to the ToolBOX directory display.
  1828.  
  1829.           On-error
  1830.  
  1831.                Specifies what should be done when the override command
  1832.                returns a non-zero errorlevel value.
  1833.  
  1834.  
  1835.     The keybinding flags for Subdirectory, Embeddable, and Skip-to-cursor
  1836.     are not applicable for command overrides.
  1837.  
  1838.     The one new flag setting for command overrides relates to the handling
  1839.     of memory for the over-ridden program.  This is not necessary for the
  1840.     keybindings as the "@" prefix to request the swap can be placed on the
  1841.     individual command lines in the command set.  The swap setting controls
  1842.     whether or not the swap is made, but not where.  The TBOX -M command
  1843.     line argument determines if swap operations use disk or EMS for storage,
  1844.     and the default setting that determines if all external programs are
  1845.     swapped or not.
  1846.  
  1847.           sWap out ToolBOX
  1848.  
  1849.               Use swap default
  1850.  
  1851.                     Essentially indicates that no action be taken.  The
  1852.                     default established by the -M command line argument
  1853.                     should apply for this command as for any command,
  1854.                     whether from a keyboard command or a keybinding command
  1855.                     set.
  1856.  
  1857.                Never swap
  1858.  
  1859.                     Overrides the -M command line argument to inhibit the
  1860.                     swap operation when the override command is executed.
  1861.  
  1862.                Always swap
  1863.  
  1864.                     Essentially inserts the "@" prefix in front of the
  1865.                     over-ridden command to ensure that it is swapped.
  1866.  
  1867.  
  1868.  
  1869. 10.3 Factory Default Command Overrides
  1870.  
  1871.     The default configuration contains command overrides for two types of
  1872.     common commands, for DOS and for Binary Toolshed Utilities.
  1873.  
  1874.     The overrides for the DOS commands serve two functions.  For commands
  1875.     such as type, or chkdsk which generate output for the screen, the over-
  1876.     ride is used to ensure a pause occurs after the command is executed and
  1877.     before reverting to the directory display.  For other commands such as
  1878.     cls, the override tells DOS to not bother re-reading the directory.  DOS
  1879. TBOXCFG User Manual                                                  Page 35
  1880. ____________________________________________________________________________
  1881.  
  1882.  
  1883.     commands such as copy and diskcopy command are not included in the
  1884.     default override settings, although these can easily be added to ensure
  1885.     ToolBOX pauses after the commands issue their results.
  1886.  
  1887.     The overrides for the Binary Toolshed Utilities take advantage of the
  1888.     known characteristics of these programs.  For the utilities that
  1889.     generate output (dirs, drives, onpath, and wi), the flags are set to
  1890.     ensure a pause occurs.  The full screen utilities (tree, and view) are
  1891.     configured to take advantage of the ToolBOX screen settings.  All
  1892.     utilities are configured to use the BTS errorlevel value.
  1893.  
  1894.     The override list can easily be extended to incorporate all of the
  1895.     programs used within your environment.  Pause settings, screen transit-
  1896.     ions, directory updates, memory utilization, and so on can all be
  1897.     optimized for your most commonly used programs.
  1898.  
  1899.  
  1900. TBOXCFG User Manual                                                  Page 36
  1901. ____________________________________________________________________________
  1902.  
  1903.  
  1904. 11.0 Configure Option : Quick Lines
  1905.  
  1906.     Quicklines are an alternative method for executing command lines,
  1907.     whether DOS or intrinsics.  Unlike keybindings, quicklines:
  1908.  
  1909.           o contain one and only one command line.
  1910.  
  1911.           o have no associated flag settings or match strings.
  1912.  
  1913.           o are executed once only and are independent of any selected
  1914.             files.
  1915.  
  1916.           o can be configured from the ToolBOX program as well as through
  1917.             the TBOXCFG program.
  1918.  
  1919.           o are executed within the ToolBOX program from the popup menu or
  1920.             through a two character sequence consisting of the quick command
  1921.             introducer character (nominally ') and a unique single character
  1922.             label.
  1923.  
  1924.  
  1925.     The configuration for quick commands is similar to the override command.
  1926.     When selected from the Configure Menu, a list of the existing quick
  1927.     commands is presented.  Each entry consists of the alphabetic label and
  1928.     the quickline itself.  Cursor to the desired entry and enter <RETURN>.
  1929.  
  1930.     This brings up a menu to select an update option:
  1931.  
  1932.           Edit
  1933.  
  1934.                Initiate changes to the existing settings for the quick
  1935.                command.
  1936.  
  1937.  
  1938.           Insert
  1939.  
  1940.                Add a new entry before the current quickline.  There is no
  1941.                significance to the order of the entries.  If two accident-
  1942.                ally have the same label, only the first has any effect.
  1943.  
  1944.  
  1945.           Delete
  1946.  
  1947.                Deletes the current quickline command.  There is no paste
  1948.                option provided for quicklines.
  1949.  
  1950.  
  1951.     With the Edit and Insert options, an additional two line text entry
  1952.     window is generated for the update itself.  The two lines are for the
  1953.     quicklabel and the quickline respectively.
  1954.  
  1955.     Anything after the first character of the label line is ignored.  The
  1956.     label can be any alphanumeric character.  Case is significant.
  1957.  
  1958.     The quickline can contain any DOS or intrinsic command that is valid for
  1959. TBOXCFG User Manual                                                  Page 37
  1960. ____________________________________________________________________________
  1961.  
  1962.  
  1963.     the keyboard command line or a key binding.  The same rules apply for
  1964.     command line variables except that the variables reference the file at
  1965.     the cursor position rather than selected files.  Quicklines will be
  1966.     processed once and once only - not once for for each selected file as
  1967.     would occur for keybindings.  Quick commands defined through the TBOXCFG
  1968.     program are identical and indistinguishable from those added dynamically
  1969.     with the ToolBOX program.
  1970.  
  1971.     There is a 500 character limit for all quick lines.
  1972.  
  1973.     There are no factory default quick commands defined.
  1974.  
  1975.  
  1976.  
  1977. TBOXCFG User Manual                                                  Page 38
  1978. ____________________________________________________________________________
  1979.  
  1980.  
  1981. 12.0 Configure Option : Default-DOS-Command
  1982.  
  1983.     The default-DOS-command is the command line invoked when the "t*x f"
  1984.     (see Section 9.3.6) command is unable to locate an applicable file to
  1985.     execute.
  1986.  
  1987.     Within ToolBOX, "t*x f" is used for the deferred batch file facility.
  1988.     The command line is used when the batch filename composed from the
  1989.     extension of the selected file cannot be found.  The factory default
  1990.     default-DOS-command is to use view to display the selected file, that is
  1991.  
  1992.                     view f
  1993.  
  1994.     This can be altered to use any other display program or viewer.
  1995.  
  1996.  
  1997.     Selecting this option from the Configure menu produces a sub-menu with
  1998.     choices for either the command line or flag settings.
  1999.  
  2000.     Selecting the Command option produces a text entry window.  Enter the
  2001.     single line default command containing up to 68 characters.
  2002.  
  2003.     The Flags option introduces the same five settings that are used for the
  2004.     key bindings.  Refer to Section 9.2 for a detailed description of the
  2005.     flag setting options for:
  2006.  
  2007.           Switch to DOS window
  2008.  
  2009.           Tell DOS of video lines
  2010.  
  2011.           Display data
  2012.  
  2013.           Pause on completion
  2014.  
  2015.           On-error
  2016.  
  2017.  
  2018.  
  2019. TBOXCFG User Manual                                                  Page 39
  2020. ____________________________________________________________________________
  2021.  
  2022.  
  2023. 13.0 Configure Option : ToolBOX Banner
  2024.  
  2025.     Normally the text in the upper left corner of the ToolBOX display shows
  2026.     the "The Binary Toolshed".  This is the ToolBOX banner that can be
  2027.     changed to any desired string.
  2028.  
  2029.     Selecting this option from the Configure menu produces a text entry
  2030.     window.  Enter any string of up to 32 characters.
  2031.  
  2032.  
  2033.  
  2034. TBOXCFG User Manual                                                  Page 40
  2035. ____________________________________________________________________________
  2036.  
  2037.  
  2038. APPENDIX A : TBOXCFG COMMAND LINE ARGUMENTS
  2039.  
  2040.  
  2041.  
  2042.  
  2043.      TBOXCFG  [d:][path]cfgname[.cfg]
  2044.              -V [b m s c e v] [25 43 50] -C[m c g]
  2045.              -X [a#] [fF]
  2046.  
  2047.  
  2048.       where :
  2049.  
  2050.  
  2051.            [d:][path]cfgname[.cfg]
  2052.                               configuration file to be edited
  2053.  
  2054.  
  2055.           -Video[bIOS|mONOCHROME|sNOW|cGA|eGA|vGA] [25LINES|43LINES|50LINES]
  2056.  
  2057.           -Color[mONOCHROME|cOLOR|gRAYSCALE]
  2058.  
  2059.           -eXecute
  2060.                a#      permitted audio tones for different errors:
  2061.                        1 (border) + 2 (syntax) + 4 (execution)
  2062.                f / F   enable Flashing color
  2063.  
  2064.  
  2065.                NOTE :
  2066.  
  2067.                     o all fields are optional
  2068.  
  2069.                     o default is
  2070.  
  2071.                          -v25 -Xa7f
  2072.  
  2073.  
  2074. TBOXCFG User Manual                                                  Page 41
  2075. ____________________________________________________________________________
  2076.  
  2077.  
  2078. APPENDIX B : INTRINSIC COMMAND SUMMARY
  2079.  
  2080.  
  2081. INTRINSIC COMMANDS
  2082. ──────────────────
  2083.  
  2084.  
  2085.  
  2086.           Update directory display.
  2087.  
  2088.                dir [d:][path][matchlist] [/s[ + - ! ]#] [/f[ + - ! ]#]
  2089.  
  2090.           Change directory.
  2091.  
  2092.                [cd] [d:][path]
  2093.  
  2094.           Delete selected files.
  2095.  
  2096.                del [d:][path]matchlist
  2097.  
  2098.           Delete selected directories and contents.
  2099.  
  2100.                killdir [d:]path
  2101.  
  2102.           Select files.
  2103.  
  2104.                sel [ @ + - ] matchlist
  2105.  
  2106.           Switch to the DOS window.
  2107.  
  2108.                tbx d
  2109.  
  2110.           Initiate Help  (1=basic help, 2=extended command set).
  2111.  
  2112.                tbx h #
  2113.  
  2114.           Toggle current PAUSE status.
  2115.  
  2116.                tbx p
  2117.  
  2118.           Set number of screen lines (25, 43, or 50 - otherwise the
  2119.           DOS setting).
  2120.  
  2121.                tbx r ##
  2122.  
  2123.           Toggle current DIRECTION status.
  2124.  
  2125.                tbx t
  2126.  
  2127.           Toggle between ToolBOX SELECT and DIRECTORY state.
  2128.  
  2129.                tbx w
  2130.  
  2131. TBOXCFG User Manual                                                  Page 42
  2132. ____________________________________________________________________________
  2133.  
  2134.  
  2135.           Change directories to the next entry in the directory
  2136.           stack.
  2137.  
  2138.                tbx N
  2139.  
  2140.           Change directories to the previous entry in the
  2141.           directory stack.
  2142.  
  2143.                tbx P
  2144.  
  2145.           Conditional exit (Use verification window).
  2146.  
  2147.                tbx x
  2148.  
  2149.           Unconditional exit.
  2150.  
  2151.                tbx X
  2152.  
  2153.           Invoke program if locatable, else use default command
  2154.           line.
  2155.  
  2156.                t*x f progname.ext [param1] [param2] . . .
  2157.  
  2158.           Start the keyboard command with newest command stack
  2159.           entry.
  2160.  
  2161.                t*x l
  2162.  
  2163.           Start keyboard command with text provided.
  2164.  
  2165.                t*x p [command-line-text]
  2166.  
  2167.           Toggle DOS split screen.
  2168.  
  2169.                t*x s
  2170.  
  2171.           Initiate the popup menu window.
  2172.  
  2173.                t*x w
  2174.  
  2175.           Invoke program if locatable, else sound(error).
  2176.  
  2177.                t*x x progname.ext [param1] [param2] . . .
  2178.  
  2179.           Assign current directory to quick command, get label x from
  2180.           keyboard.
  2181.  
  2182.                t*x C
  2183.  
  2184.           Delete quick command, get x from keyboard.
  2185.  
  2186.                t*x D
  2187.  
  2188. TBOXCFG User Manual                                                  Page 43
  2189. ____________________________________________________________________________
  2190.  
  2191.  
  2192.           Add the current keyboard command line as quick command,
  2193.           get x from the keyboard.
  2194.  
  2195.                t*x K
  2196.  
  2197.           Execute quick command, get x from keyboard.
  2198.  
  2199.                t*x X
  2200.  
  2201. TBOXCFG User Manual                                                  Page 44
  2202. ____________________________________________________________________________
  2203.  
  2204.  
  2205. APPENDIX C : SORT FORMAT SPECIFICATION
  2206.  
  2207.  
  2208.                d  date
  2209.                n  name
  2210.                x  extension
  2211.                s  size
  2212.  
  2213. TBOXCFG User Manual                                                  Page 45
  2214. ____________________________________________________________________________
  2215.  
  2216.  
  2217. APPENDIX D : DISPLAY FORMAT SPECIFICATION
  2218.  
  2219.  
  2220.                D  ddMmmyy date string
  2221.                t  hh:mm time string
  2222.                d  2 char day xx
  2223.                m  2 char month
  2224.                y  2 char year
  2225.                M  3 char Month
  2226.  
  2227.                n  8 character name
  2228.                C  8 character byte count "  <DIR> " if a directory
  2229.                c  8 character byte count "        " if a directory
  2230.                x  3 character extension
  2231.  
  2232.                \\ status " " or "\" if a directory
  2233.                /  status in decreasing priority "s", "h", "r", "\"
  2234.  
  2235.                S  "" if file selected, else " "
  2236.  
  2237.                "literal strings"   preserved as given
  2238.  
  2239.  
  2240.  
  2241. TBOXCFG User Manual                                                  Page 46
  2242. ____________________________________________________________________________
  2243.  
  2244.  
  2245. APPENDIX E : COMMAND LINE VARIABLES
  2246.  
  2247.  
  2248.     Basic file oriented variables:
  2249.  
  2250.           <CTRL d>       display drive
  2251.  
  2252.           <CTRL p>       display path
  2253.  
  2254.           <CTRL n>       8 character file name
  2255.  
  2256.           <CTRL x>       3 character extension
  2257.  
  2258.           <CTRL D>       current drive letter
  2259.  
  2260.           <CTRL P>       current path
  2261.  
  2262.           <CTRL f>       minimized filename
  2263.  
  2264.  
  2265.     Additional variables (as displayed):
  2266.  
  2267.           [ + - ! ]d    biased display drive
  2268.  
  2269.           c             last character from keyboard
  2270.  
  2271.                        single literal  character
  2272.  
  2273.  
  2274.     Edit Control Instructions
  2275.  
  2276.  
  2277.           <c>            set cursor position
  2278.  
  2279.           <i>            set insert mode
  2280.  
  2281.           <o>            set overstrike mode
  2282.  
  2283.           <m>            mark start (or end) of default-text region
  2284.  
  2285.  
  2286.