home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / DOS_HELP / EDENV16.ZIP / EDENV.DOC < prev   
Encoding:
Text File  |  1987-12-31  |  5.8 KB  |  126 lines

  1. ------------------------
  2. Edit Environment Command
  3. ------------------------
  4.  
  5. Purpose:  Allows current setting of a global environment variable to be
  6.           modified using the IBM PC keypad.
  7.  
  8. Format:   EDENV [env_var]
  9.  
  10.  
  11. Remarks:  This command is used to enable the current setting of a global
  12.           environment variable to be easily modified.  If 'env_var' is not
  13.           specified, the default is PATH.  When invoked, the current setting
  14.           of the global environment variable is displayed.  The IBM PC keypad
  15.           may be used to edit the setting.  The new setting is stored in the
  16.           environment when the [Enter] key is pressed.  If the new setting is
  17.           null when the [Enter] key is pressed, the current value in the env-
  18.           ironment is displayed and the program will exit.
  19.  
  20.  
  21.           Action of special keys are defined as follows:
  22.  
  23.  
  24.                       [Left] - Move cursor one position to the left unless
  25.                                currently at the beginning of the string.
  26.  
  27.             [Space], [Right] - Move cursor one position to the right unless
  28.                                currently at the end of the string.
  29.  
  30.                         [Up] - Move cursor to the first line of the string.
  31.  
  32.                       [Down] - Move cursor to the last line of the string.
  33.  
  34.            [[Control] [Home] - Move the cursor to the beginning of the
  35.                                string.  Use of the Control key is
  36.                                optional.
  37.  
  38.             [[Control] [End] - Move the cursor one position past the end
  39.                                of the string.  Use of the Control key is
  40.                                optional.
  41.  
  42.                        [Tab] - Move cursor to the right until next tab
  43.                                position or end of the string is reached.
  44.                                Tabs occur every 8th position.
  45.  
  46.                  [Shift Tab] - Move cursor to the left until previous tab
  47.                                position or beginning of the string is
  48.                                reached.
  49.  
  50.               [Control Left] - Move cursor to the left until the previous
  51.                                drive/directory or beginning of the string
  52.                                is reached.
  53.  
  54.              [Control Right] - Move cursor to the right until the next
  55.                                drive/directory or end of the string is
  56.                                reached.
  57.  
  58.                        [Ins] - Toggle INSERT mode.  Initially INSERT mode
  59.                                is turned OFF.  When INSERT mode is off,
  60.                                each character typed will replace the one
  61.                                at the current character position.  An
  62.                                underline cursor is visible when INSERT
  63.                                mode is OFF.  When INSERT mode is on, each
  64.                                character typed will be inserted at the
  65.                                current character position and any remaining
  66.                                characters will be shifted one position to
  67.                                the right.  A half-block cursor is visible
  68.                                when INSERT mode is ON.
  69.  
  70.                        [Del] - Deletes the character ( if any ) which
  71.                                currently appears directly above the cursor.
  72.                                Any characters to the right of the cursor
  73.                                are shifted left one position.
  74.  
  75.                       [Bksp] - Deletes the character ( if any ) which
  76.                                currently appears to the left of the cursor.
  77.                                All characters from the current cursor
  78.                                position to the end of the string are
  79.                                shifted to the left one position.
  80.  
  81.                      [Alt L] - Deletes all characters which currently appear
  82.                                to the left of the cursor.
  83.  
  84.                      [Alt R] - Deletes the character which currently appears
  85.                                above the cursor and all characters to the
  86.                                right of the cursor.
  87.  
  88.             [[Control] PgUp] - Deletes an entire Drive/Directory string
  89.                                and any trailing semi-colon.  The string
  90.                                deleted is the one which has one of it's
  91.                                characters directly above the cursor. The
  92.                                deleted string is placed in a paste buffer
  93.                                for recall by the [[Control] PgDn] key.
  94.                                Use of the Control shift key is optional.
  95.  
  96.             [[Control] PgDn] - Paste contents of paste buffer imediately
  97.                                in front of the current Drive/Directory
  98.                                string.  A semi-colon will be added if
  99.                                necessary.  Use of the Control shift key
  100.                                is optional.
  101.  
  102.                      [Alt S] - Replaces the string with the current value
  103.                                of the PATH setting from the global environ-
  104.                                ment.
  105.  
  106.                        [Esc] - Restore original value as on entry.  Use
  107.                                after making a mistake to recall the environ-
  108.                                ment variable's original value.
  109.  
  110.                      [Enter] - Update the global environment and quit the
  111.                                program.
  112.  
  113.  
  114.  
  115. Notes:    EDENV - Version 1.5 - December 31, 1987 - Bill Bovee
  116.  
  117.           o  Includes routines adapted from:
  118.  
  119.              - SPMMLIB.PAS  ( PC TECH Journal, Volume 4, No. 3 )
  120.  
  121.              - SETVAR.C     ( by Dan Lewis )
  122.  
  123.              - BOOSTERS     ( by George F. Smith )
  124.  
  125.  
  126.