1 APLTPU
                      Schlumberger Extended EDT Emulator

        The Schlumberger Extended EDT Emulator provides additional 
        functions to the DEC EDT Emulator for VAXTPU.
2 CTRL_B
                            +----------+----------+
                            |          |          |
                            |   CTRL   |    B     |
                            |          |          |
                            +----------+----------+

          The Control/B key toggles between one and two windows.  If
          two windows are being used, then Control/B will return the
          display to using one window.  If one window is being used,
          Control/B  will  cause two windows to be used,   with both
          windows mapped to the main buffer.
2 CTRL_K
                            +----------+----------+
                            |          |          |
                            |   CTRL   |    K     |
                            |          |          |
                            +----------+----------+

           The Control/K key will start a learn sequence for a key.
           You will be prompted for the key to define.
2 CTRL_R
                            +----------+----------+
                            |          |          |
                            |   CTRL   |    R     |
                            |          |          |
                            +----------+----------+

          The Control/R key will complete a learn sequence for a key.
2 GOLD_B
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    B     |
                         |          |     |          |
                         +----------+     +----------+

          The GOLD_B key toggles between BOX mode and Normal mode for
          the  CUT (Remove),  PASTE (Insert here),  and  SELECT keys.
2 GOLD_C
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    C     |
                         |          |     |          |
                         +----------+     +----------+

           The GOLD_C key will center the text on the current line.
2 GOLD_CTRL_B
                    +----------+    +----------+----------+
                    |          |    |          |          |
                    |   GOLD   | +  |   CTRL   |    B     |
                    |          |    |          |          |
                    +----------+    +----------+----------+

           The GOLD Control/B key causes two windows to be used, and
           will read a file into the top (reference) window.    GOLD
           Control/B will prompt for the file to read into the  ref-
           erence window.
2 GOLD_DOWN
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    v     |
                         |          |     |          |
                         +----------+     +----------+

          The  GOLD_v  (GOLD DOWN_ARROW)  key will move the cursor from 
          the top window to the bottom window when two windows are used.
2 GOLD_E
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    E     |
                         |          |     |          |
                         +----------+     +----------+

          The GOLD_E key will trim spaces and tabs from every line in
          the current buffer.
2 GOLD_G
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    G     |
                         |          |     |          |
                         +----------+     +----------+

         The  GOLD_G  key moves the cursor to the position previously
         saved with a GOLD_M key.   GOLD_G can't move between buffers
         and/or windows.

         Eight different positions can be specified to the GOLD_G key
         by using the EDT repeat count facility.  To specify position
         2 for example, you would use the key sequence:
 
                                 GOLD 2 GOLD G

         If a repeat count is not specified, then position 1 is used.
2 GOLD_J
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    J     |
                         |          |     |          |
                         +----------+     +----------+

           The GOLD_J  key substitutes one string for another in the
           select range.     GOLD_J will prompt for the two strings,
           and uses the responses from the last GOLD_J invocation as
           the defaults.
2 GOLD_L
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    L     |
                         |          |     |          |
                         +----------+     +----------+

         The GOLD_L key will prompt for a line to move the cursor to.
2 GOLD_M
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    M     |
                         |          |     |          |
                         +----------+     +----------+

         The  GOLD_M  key saves (marks)  the current cursor position.
         The  GOLD_G  key can then be used to move the cursor back to
         this position.

         Eight different positions can be specified to the GOLD_M key
         by using the EDT repeat count facility.  To specify position
         2 for example, you would use the key sequence:
 
                                 GOLD 2 GOLD M

         If a repeat count is not specified, then position 1 is used.
2 GOLD_O
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    O     |
                         |          |     |          |
                         +----------+     +----------+

          The GOLD_O key toggles between insert and overstrike modes
          for the current buffer.
2 GOLD_Q
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    Q     |
                         |          |     |          |
                         +----------+     +----------+

           The GOLD_Q  key is used to display the current line number
           along with the total number of lines in the buffer and the
           current cursor column position.
2 GOLD_R
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    R     |
                         |          |     |          |
                         +----------+     +----------+

           The GOLD_R key will display a ruler in the message area.
2 GOLD_S
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    S     |
                         |          |     |          |
                         +----------+     +----------+

        The GOLD_S key is used for conversion between spaces and tabs.
        GOLD_S will prompt for Space to tab conversion or Tab to space
        conversion.   The default is S to convert spaces to tabs.
2 GOLD_T
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    T     |
                         |          |     |          |
                         +----------+     +----------+

          The GOLD_T key is used to display non-printable characters.
          GOLD_T prompts for one of three options:

          1) DISPLAY_ONE will display the hex,  decimal,  and  octal 
             equivalents of  the  character,  along with a printable
             representation of the character in the message area.

          2) ON will convert all of the non-printable characters  to
             a printable equivalent.   This will change the contents
             of the buffer.

          3) OFF will convert all of the printable equivalents of the
             non-printable characters back into ASCII characters. The
             contents of the buffer will be changed.

          The default option is DISPLAY_ONE.
2 GOLD_U
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    U     |
                         |          |     |          |
                         +----------+     +----------+

         The GOLD_U key is used to set the case of selected text to be
         all upper or all lower case.     GOLD_U will prompt for Upper
         or Lower case.   You should enter either U or L.  The default
         case is lower case.
2 GOLD_UP
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    ^     |
                         |          |     |          |
                         +----------+     +----------+

        The GOLD_^ (GOLD UP_ARROW) key will move the cursor from the 
        bottom window to the top window when two windows are used.
2 GOLD_V
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    V     |
                         |          |     |          |
                         +----------+     +----------+

        The current version of VAXTPU and of the Schlumberger Extended 
        EDT Emulator is displayed using the GOLD V keys.
2 GOLD_W
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    W     |
                         |          |     |          |
                         +----------+     +----------+

        The GOLD_W key is used to adjust the size of the windows when
        two windows are used.  GOLD_W prompts for the number of lines
        to adjust the windows by.     A positive number will increase
        the size of the main window by 4  lines and decrease the size
        of the reference window by 4 lines.
2 GOLD_X
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    X     |
                         |          |     |          |
                         +----------+     +----------+

          The definition of a word can be toggled between whitespace
          and non-alphanumeric characters.    The default setting is
          for words to be defined as non-alphanumerics.
2 GOLD_Y
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    Y     |
                         |          |     |          |
                         +----------+     +----------+

        The GOLD_Y key will toggle the translation of escape sequences.
        This key should be used carefully,  because the cursor position
        may not  necessarily  correspond  with the true position in the
        text buffer.    Also, escape sequences sent to the terminal may
        interfere with those normally sent by the screen manager.   Use
        this key at your own risk.
2 GOLD_Z
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    Z     |
                         |          |     |          |
                         +----------+     +----------+

        Displays the contents of the message buffer.   Carriage returns
        and line feeds are processed to allow system shutdown and other
        messages to be read.
2 Box_Cut_Paste
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    B     |
                         |          |     |          |
                         +----------+     +----------+

        The GOLD_B key will toggle the definition of  the  CUT (Remove),
        PASTE (Insert here), and SELECT keys between the normal EDT mode
        and box mode.

        In box mode,  the select key will create a marker for one corner
        of an imaginary box on the screen.   The opposite corner is def-
        ined by the position of the cursor.  The box defined by the mar-
        ker and the cursor is used by the CUT key.

        In box mode, all of the text which is inside the box will be CUT
        out, and replaced by spaces.   For a PASTE, the box in the paste
        buffer will overlay any text when in it pasted in.    The cursor
        is used to mark the upper left corner of a PASTE box.

                                   EXAMPLE:
 
                               ................
                               ....M...........               
        BOX SELECTED           ................     M - Marker 
          BEFORE CUT:          ...........C....     C - Cursor
                               ................
                                             
 
                               ................
                               ....C       ....               
        AFTER CUT:             ....        ....     C - Cursor  
                               ....        ....                
                               ................
                                             

                               ................
                               ....        ....               
        AFTER CUT              ....        ....     C - Cursor  
          BEFORE PASTE         ....        ....                
                               ......C.........
                                             

                               ................
                               ....        ....               
        AFTER PASTE            ....        ....     C - Cursor  
                               ....        ....                
                               ......C.........
                                     ........
                                     ........
2 Center_Line
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    C     |
                         |          |     |          |
                         +----------+     +----------+

           The GOLD_C key will center the text on the current line.
2 Graphics/Escape_Seq
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    Y     |
                         |          |     |          |
                         +----------+     +----------+

        The GOLD_Y key will toggle the translation of escape sequences.
        This key should be used carefully,  because the cursor position
        may not  necessarily  correspond  with the true position in the
        text buffer.    Also, escape sequences sent to the terminal may
        interfere with those normally sent by the screen manager.   Use
        this key at your own risk.
2 Goto_Line
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    L     |
                         |          |     |          |
                         +----------+     +----------+

         The GOLD_L key will prompt for a line to move the cursor to.
2 Input_File
        The Schlumberger EDT Emulator is invoked as follows:

                $ TPU filename [,filename [,...]]

        The filename can contain wildcards.   Note that the symbols
        TPU and TPUR should be defined as follows:

                $ TPU  :== @SYS$LIBRARY:APLTPU
                $ TPUR :== @SYS$LIBRARY:APLTPUR

        TPUR will edit files /READ_ONLY, and will not use a journal
        file.
3 /CONFIRM
        The /CONFIRM switch causes APLTPU to confirm for each file
        to be edited,  whether  or not the file should actually be
        edited.  You can answer Yes, No, or Quit.   The default is
        not to edit the file.     Quit will cause  APLTPU  to stop
        searching for files.

        Example:

            $ TPU *.COM/CONFIRM
            Edit file SYS$SYSDEVICE:[USER]BINREAD.COM;4 [Y/N/Q]? 
            Edit file SYS$SYSDEVICE:[USER]LOGIN.COM;132 [Y/N/Q]? 
            Edit file SYS$SYSDEVICE:[USER]SEARCH.COM;1 [Y/N/Q]? Q
            $
2 Insert/Overstrike
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    O     |
                         |          |     |          |
                         +----------+     +----------+

          The GOLD_O key toggles between insert and overstrike modes
          for the current buffer.
2 Learn
        The Schlumberger EDT Emulator can  "learn"  a function.   This 
        is similar to the define key feature of EDT.  A learn sequence
        is started by using the CTRL/K key.   You will be prompted for 
        a key to define.   After you hit the key to be defined, all of 
        the keystrokes  you enter will be remembered unitl a CTRL/R is 
        entered.    The next time that you use the  newly defined key,   
        the keystrokes for the key will be performed again.  Note that 
        if the  definition  includes  any keys which prompt for input,  
        the answer you provided in learn mode is used.

                        CTRL/K - Begin learn sequence
                        CTRL/R - End learn sequence
2 Line/Column
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    Q     |
                         |          |     |          |
                         +----------+     +----------+

           The GOLD_Q  key is used to display the current line number
           along with the total number of lines in the buffer and the
           current cursor column position.
2 Messages
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    Z     |
                         |          |     |          |
                         +----------+     +----------+

        Displays the contents of the message buffer.   Carriage returns
        and line feeds are processed to allow system shutdown and other
        messages to be read.
2 Ruler
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    R     |
                         |          |     |          |
                         +----------+     +----------+

           The GOLD_R key will display a ruler in the message area.
2 Save/Goto_Position
        The current cursor position can be saved and restored using the
        GOLD_M and GOLD_G keys.   The GOLD_M key marks the current pos-
        ition, and GOLD_G goes back to a marked position.
2 Selected_Substitution
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    J     |
                         |          |     |          |
                         +----------+     +----------+

           The GOLD_J  key substitutes one string for another in the
           select range.     GOLD_J will prompt for the two strings,
           and uses the responses from the last GOLD_J invocation as
           the defaults.
2 Space_Tab_Conversion
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    S     |
                         |          |     |          |
                         +----------+     +----------+

        The GOLD_S key is used for conversion between spaces and tabs.
        GOLD_S will prompt for Space to tab conversion or Tab to space
        conversion.   The default is S to convert spaces to tabs.
2 Translate_CTRL_Chars
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    T     |
                         |          |     |          |
                         +----------+     +----------+

          The GOLD_T key is used to display non-printable characters.
          GOLD_T prompts for one of three options:

          1) DISPLAY_ONE will display the hex,  decimal,  and  octal 
             equivalents of  the  character,  along with a printable
             representation of the character in the message area.

          2) ON will convert all of the non-printable characters  to
             a printable equivalent.   This will change the contents
             of the buffer.

          3) OFF will convert all of the printable equivalents of the
             non-printable characters back into ASCII characters. The
             contents of the buffer will be changed.

          The default option is DISPLAY_ONE.
2 Trim_Buffer
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    E     |
                         |          |     |          |
                         +----------+     +----------+

          The GOLD_E key will trim spaces and tabs from every line in
          the current buffer.
2 Upper_Lower_Case
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    U     |
                         |          |     |          |
                         +----------+     +----------+

         The GOLD_U key is used to set the case of selected text to be
         all upper or all lower case.     GOLD_U will prompt for Upper
         or Lower case.   You should enter either U or L.  The default
         case is lower case.
2 Version
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    V     |
                         |          |     |          |
                         +----------+     +----------+

        The current version of VAXTPU and of the Schlumberger Extended 
        EDT Emulator is displayed using the GOLD V keys.
2 Windows
       The Schlumberger Extended EDT Emulator allows editting in either 
       one or two windows. When two windows are used, the bottom window
       is mapped to the main buffer with the file that is being edited,
       and the top window mapped either to a reference file or  to  the
       main buffer. All editing operations are allowed in both windows.
       The following keys are used to manipulate windows:

              CTRL/B       - Toggle between one and two windows
              GOLD CTRL/B  - Open a reference file in top window
              GOLD UP      - Move to top window
              GOLD DOWN    - Move to bottom window
              GOLD W       - Adjust the relative size of the windows
2 Word_Definition
                         +----------+     +----------+
                         |          |     |          |
                         |   GOLD   |  +  |    X     |
                         |          |     |          |
                         +----------+     +----------+

          The definition of a word can be toggled between whitespace
          and non-alphanumeric characters.    The default setting is
          for words to be defined as non-alphanumerics.