home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / OS2STAK.ZIP / OS2EDIT.DOC < prev    next >
Text File  |  1990-04-17  |  3KB  |  63 lines

  1.               OS2EDIT
  2.  
  3.   OS2EDIT is a command line stacker for OS2. It allows you to save the
  4.   last 15 commands typed in at the OS2 prompt and use the cursor keys to
  5.   retrieve, and edit, these commands. 
  6.  
  7.   The program has two components, OS2EDIT.DLL and OS2LOAD.EXE. the DLL
  8.   needs to go in a directory that is specified in your LIBPATH entry in your
  9.   config.sys file. OS2LOAD needs to be executed in order to start the 
  10.   stacking process. 
  11.  
  12.   You need to run OS2LOAD in any session that you which to use the command
  13.   stacking function.
  14.  
  15.   To retrieve the stored commands press the UP ARROW or DOWN ARROW keys.
  16.   The following keys can be used to edit the command.
  17.  
  18.   RIGHT ARROW       -  move right onr character
  19.   LEFT ARROW       -  move left one character
  20.   DEL           -  del the character under the cursor
  21.   INS           -  enter insert mode
  22.   END           -  move to the end of the command string
  23.   HOME           -  go to the beginning of the command string
  24.   BACKSPACE       -  move left one character and delete it
  25.   CTRL-RIGHT ARROW -  move to the beginning of the next word
  26.   CTRL-LEFT  ARROW -  move to the beginning of the previous word
  27.   ESCAPE       -  delete this command from the screen
  28.   CTRL-END         -  delete all characters from the cursor to end of line
  29.   
  30.   OS2EDIT also allows you to assign commonly executed commands to a function
  31.   key. It will also allow you to specify variables in the function key
  32.   assignment that will be replaced with data on the command line.
  33.  
  34.   to assign a command to a function key you need an ASCII file called
  35.   OS2EDIT.CFG in the root directory of your C drive. Place entrys of the
  36.   form Fn=string in it. e.g
  37.  
  38.   F1=cls
  39.  
  40.   In this example pressing F1 would clear the screen. Another example using
  41.   variable replacement.    Assume you have the following entry in your OS2EDIT.CFG
  42.  
  43.   F1=CL /AL /G2s /Od %.c
  44.  
  45.   at the OS2 prompt type PROG1 and then press F1. OS2EDIT will pass the following
  46.   command back to OS2  CL /AL /G2s /Od PROG1.c
  47.  
  48.    OS2EDIT has been tested on OS2 Version 1.0 and 1.1.
  49.  
  50.    OS2EDIT is distributed as is. Please free to copy it. 
  51.    If you find this product useful and would like to register for free
  52.    upgrades and a more comprehensive manual send $15 to the address below.
  53.    If you would like the source code and make file for OS2EDIT plus the
  54.    manual send $60 to the address below. If you have any questions, comments
  55.    or problems you can email me at CIS (ID 71507,1033).      
  56.   
  57.                 Steve Bridges
  58.           1391 union street
  59.               Manchester NH 03104.    
  60.      
  61.  
  62.   
  63.