      
                     ECR (Enhanced Console Routine)
      
      
     Description:
      
        ECR is a port of Robin Miller's AUX program to run under IAS.
      
        The  ECR  program  allows  VT100 auxillary key definitions and command
        line editing ala VAX/VMS V4.x systems. The program also saves the last
        twenty  commands  which can then be recalled.  In this release of ECR,
        the  auxillary  keys are statically defined.  
      
        The main ECR documentation is contained in file AUXKEY.PAD.  This file
        is  used  by  ECR to display help from the program when the PF2 (help)
        key  or  the  PF1  (GOLD)  PF2 key is pressed.  This help file must be
        placed in LB:[1,2] for system wide access.
      
        ECR may be executed from MCR,  or  it may be installed as your default
        CLI using the /CLI= command. Note that ECR does not go away like MCR,
        but does a SPAWN and a STOP for event flag.
      
        This version of ECR has been modified to use the REESE system security
        system, whereby a pds style user privilege word is stored in the users
        PUD on login, and the routine PRICHK verifies whether the user has the
        required privileges to complete the command. Users who do not wish the
        PRICHK feature will have to comment it out of the code themselves.
      
        ECR also has been modified to allow the definition of up to 48 special
        command re-definitions,  similiar to  the way VMS lets you define com-
        mands,  (although in  a simpler way.)  Gold-help now generates a three
        page display, which includes information on this feature. For a fuller
        description, see the file ECRCMD.DOC.
      
        ECR also has a default name mode, whereby it remembers the last phrase
        following the  command  name and uses it if nothing follows subsequent
        command names. This lets you do things like the following:
      
        o    Define a command KEF  KEF name  expands to KED name.for
        o    Define a command MAC  MAC name  expands to MAC name,name=name
        o    Define a command LIN  LIN name  expands to TKB @name
      
        You can then edit,link and compile a simple fortran program by issuing
        the following commands:
      
             ECR>kef name
             ECR>mac
             ECR>link
      



        The following control keys are used by ECR
      
        Control Keys:
      
             CTRL/A        Toggle between overprint and insert mode.
             CTRL/B        Skip backward to next character input.
             CTRL/C        Delete the entire command line.
             CTRL/D        Delete to end of command line.
             CTRL/E        Position to end of command line.
             CTRL/G        Switch default name mode on/off.
             CTRL/F        Skip forward to next character input.
             CTRL/H (BS)   Position to beginning of command line.
             CTRL/J (LF)   Delete the previous word.
             CTRL/M (CR)   Terminate the current command line.
             CTRL/N        Reload specially defined commands from ECR.CMD
             CTRL/R        Recall all previous command lines.
             CTRL/T        Display one line status report.
             CTRL/U        Delete to beginning of command line.
             CTRL/V        Display the current version number.
             CTRL/W        Refresh the current command line.
             CTRL/Y        Display all current specially defined commands.
             CTRL/Z        Exit from the AUX program.
             DELETE        Delete the previous character.
      
             !n            Recall command line number 'n'.

        The numeric keypad is set up to do the following:


                                +-------+-------+-------+-------+ 
                                |       |10     |11     |17     | 
                                |GOLD   |  HELP |  VTL  | DEL L | 
                                |       |CTL KEY|  VDI  | UND L | 
                                +-------+-------+-------+-------+ 
                                |7      |8      |9      |18     | 
                                | WHO   |QUE /AL|CLR SCR| DEL W | 
                                | NTD   |QUX /TI|C WIDTH| UND W | 
                +-------+       +-------+-------+-------+-------+ 
                |12     |       |4      |5      |6      |19     | 
                |   ^   |       |ADVANCE| BACKUP| PRINT | DEL C | 
                |       |       |  DEL  | PURGE |  DOC  | UND C | 
        +-------+-------+-------+-------+-------+-------+-------+ 
        |14     |13     |15     |1      |2      |3      |21     | 
        |   <   |   V   |   >   |S WORD |  EOL  |  KED  | TERM- |
        |       |       |       |  DEMO |DEL EOL|  SPY  | INATE |
        +-------+-------+-------+---------------+-------+  CMD  |
                                |0              |16     |       |
                                |     DIR       |  EDT  |       |
                                |     SRD       |  TECO | MAIL  |
                                +---------------+-------+-------+
