home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / pcmag / vol5n03.zip / DOS-EDIT.DOC < prev   
Text File  |  1986-09-11  |  3KB  |  64 lines

  1.  
  2.           DOS-EDIT                               Charles Petzold
  3.           Command                       PC Magazine, Vol 5, No 3
  4.         Copyright 1986 Ziff-Davis Publishing Company
  5.           ______________________________________________________
  6.  
  7.           Purpose:  Permits moving to, editing, and reentering
  8.                     on-screen DOS commands without retyping.
  9.  
  10.           Format:   DOS-EDIT     (loads memory-resident program)
  11.                          then
  12.                     <Up Arrow>           (enables DOS-Edit keys)
  13.                     <Left Arrow>                   (cursor left)
  14.                     <Right Arrow>                 (cursor right)
  15.                     <Up Arrow>                       (cursor up)
  16.                     <Down Arrow>                   (cursor down)
  17.                     <Backspace>          (destructive backspace)
  18.                     <Ins>              (insert/overwrite toggle)
  19.                     <Del>                     (delete character)
  20.                     <PgDn>               (delete to end of line)
  21.                     <PgUp>                  (cursor to column 1)
  22.                     <Home>          (cursor to initial column #)
  23.                     <Esc>           (exit edit mode, no changes)
  24.                     <End>           (transfer text line right of
  25.                                  cursor to end of original line)
  26.                     <Enter>   (like <End>, plus execute command)
  27.  
  28.           Remarks:  When loaded, normally through your
  29.                     AUTOEXEC.BAT file, an initial Up Arrow
  30.                     keypress activates the DOS-EDIT mode.
  31.                     (Thereafter, the Up Arrow functions as a
  32.                     normal cursor arrow key.)  If you move the
  33.                     cursor down to the original line, you will
  34.                     leave the DOS-EDIT mode (e.g., the Left Arrow
  35.                     key will once again delete characters).
  36.  
  37.           Example:  A typical use of DOS-EDIT is to correct a
  38.                     long command line in which you made a typing
  39.                     error.  Simply move the cursor up to the mis-
  40.                     typed line, correct the mistake (using the
  41.                     appropriate keys listed under FORMAT), press
  42.                     Home (to position the cursor to pick up the
  43.                     whole of the line), then Enter.
  44.  
  45.                     A less obvious example occurs if you have
  46.                     just done a DIR listing and want to run a
  47.                     program.  Move the cursor up and just to the
  48.                     right of the program name.  Press PgDn to
  49.                     delete the extension and the rest of the
  50.                     line, PgUp to position the cursor to pick up
  51.                     the whole command name, then Enter.
  52.  
  53.                     Note:
  54.  
  55.                     1.   DOS-EDIT is a memory-resident program,
  56.                          and so may cause conflicts with some
  57.                          other memory-resident software programs.
  58.                          Such problems can frequently be solved
  59.                          by changing the order in which the
  60.                          several memory-resident programs are
  61.                          loaded.   DOS-EDIT should be loaded
  62.                          before ASSIGN.COM and before SideKick,
  63.                          for example.
  64.