1COPYRIGHT
;
;       copyright (C) 1981 1982 1983 1984
;
;       by Brian Nelson
;
;
; source file of HELP for VT command
;
; To create the help file, use this as input to  TEDHELPB.BAS  on
; the VAX. It will create the help file, which is fixed 512.  The
; help file is not really a binary file in that the index entries
; are all printable, even the offset and recordcount fields for a
; index  entry.  This was done to  hopefully offset problems that
; may arise in porting the editor to micros and whatever else.
;
1VTM
$(0$(0\
GOLD                                    \
lqqqqqqqwqqqqqqqwqqqqqqqwqqqqqqqk
$(B$(B\
  A Set leftmargin  Q Que select range  \
$(0$(0\
x$[7m PF1   $[0mx PF2   x PF3   x PF4   x
$(B$(B\
  B Select window   R Reverse line      \
$(0$(0\
x$[7m GOLD  $[0mxNXTPAGExFNDNEXTxDELLINEx
$(B$(B\
  C Change case     S Save current file \
$(0$(0\
x$[7m       $[0mx$[7mLASTPAG$[0mx\
$[7m FIND  $[0mx$[7mUNDELL $[0mx
$(B$(B\
  D Cut and delete  T Insert time stamp \
$(0$(0\
xqqqqqqqxqqqqqqqxqqqqqqqxqqqqqqqx
$(B$(B\
  F Exit editor     U Erase line        \
$(0$(0\
x  "7"  x  "8"  x  "9"  x  "q"  x
$(B$(B\
  G Get disk file   V View page markers \
$(0$(0\
xFNDLASTxSWAPCHRx APPENDxDELWORDx
$(B$(B\
  L Learn macro     W Write selectrange \
$(0$(0\
x$[7mSEARCHB$[0mx$[7mSWAPLIN$[0mx\
$[7m SPCINS$[0mx$[7mUNDELW $[0mx
$(B$(B\
  P Fill Paragraph  X Store macro       \
$(0$(0\
xqqqqqqqxqqqqqqqxqqqqqqqxqqqqqqqx
$(B$(B\
  [ Next paragraph  ] End of paragraph  \
$(0$(0\
x  "4"  x  "5"  x  "6"  x  ","  x
$(B$(B\
  _$ Systemcommand   O Dump in octal    \
$(0$(0\
 x BOTTOMx  TOP  x PASTE xDELCHARx
$(B$(B\
  @ Get line editor Z Dump in hex       \
$(0$(0\
x$[7m  FILL $[0mx$[7m CENTER$[0mx\
$[7m ZAPSEL$[0mx$[7mUNDELC $[0mx
$(B$(B\
  # Execute command and save output     \
$(0$(0\
xqqqqqqqxqqqqqqqxqqqqqqqxqqqqqqqx
$(B$(B\
  _\ Start downward scrolling           \
$(0$(0\
 x  "1"  x  "2"  x  "3"  x"ENTER"x
$(B$(B\
CONTROL                                 \
$(0$(0\
x WORD  x EOL   x CUT   x       x
$(B$(B\
  A exit            N Replace text      \
$(0$(0\
x$[7mLSTWORD$[0mx$[7m DELEOL$[0mx$[7m SETBUF$[0mx       x
$(B$(B\
  D deleteline      P Refresh screen    \
$(0$(0\
xqqqqqqqqqqqqqqqxqqqqqqqx       x
$(B$(B\
  E execute macro   R last word         \
$(0$(0\
x BEGINLINE     xREPNEXTxREPLACEx
$(B$(B\
  F next word       U delete left       \
$(0$(0\
x$[7m INSLINE       $[0mx$[7m INSOFF$[0mx$[7mSETPAT $[0mx
$(B$(B\
  G insert from ^W  W store currentline \
$(0$(0\
mqqqqqqqqqqqqqqqvqqqqqqqvqqqqqqqj
$(B$(B\
  K deleteword      X store macro       \
%
$[1m VT220/PRO350 series function keys$[0m
$(0$(0\
lqqqqqwqqqqqwqqqqqwqqqqqwqqqqqk\
  lqqqqqqwqqqqqqk\
  lqqqqqwqqqqqwqqqqqwqqqqqk
x F10 x F11 x F12 x F13 x F14 x\
  x HELP x  DO  x  x F17 x F18 x F19 x F20 x
mqqqqqvqqqqqvqqqqqvqqqqqvqqqqqj\
  mqqqqqqvqqqqqqj  mqqqqqvqqqqqvqqqqqvqqqqqj
$(B$(B\
$[7m\
$[1mF10$[m$[7m  Exit (like GOLD F).  window 0 only  $[m\
      $(0$(0lqqqqqqqqwqqqqqqqqwqqqqqqqqk$(B$(B
$[7m\
$[1mF12$[m$[7m  Toggle from start to end of line    $[m\
      $(0$(0x  FIND  x INSERT x REMOVE x$(B$(B
$[7m\
$[1mF13$[m$[7m  Toggle keypad for command or data   $[m\
      $(0$(0xqqqqqqqqxqqqqqqqqxqqqqqqqqx$(B$(B
$[7m\
$[1mF14$[m$[7m  CPU,IO,page fault stats (VMS only)  $[m\
      $(0$(0x SELECT x  PREV  x  NEXT  x$(B$(B
$[7m$[1m\
$[1mHELP$[m$[7m Enter this help menu                $[m\
      $(0$(0mqqqqqqqqxqqqqqqqqxqqqqqqqqj$(B$(B
$[7m$[1m\
$[1mDO $[m$[7m  Do a line editor command (VMS only) $[m\
      $(0$(0         x   UP   x$(B$(B
$[7m\
$[1mF17$[m$[7m  Switch to file editing window zero  $[m\
      $(0$(0lqqqqqqqqxqqqqqqqqxqqqqqqqqk$(B$(B
$[7m\
$[1mF18$[m$[7m  Switch to file editing window one   $[m\
      $(0$(0x  LEFT  x  DOWN  x  RIGHT x$(B$(B
$[7m\
$[1mF19$[m$[7m  Switch to file editing window two   $[m\
      $(0$(0mqqqqqqqqvqqqqqqqqvqqqqqqqqj$(B$(B
$[7m\
$[1mF20$[m$[7m  Spawn a host command (VMS only)     $[m
$[7m$[1m\
FIND$[m$[7m     FindNext (PF3)                      $[m
$[7m$[1m\
INSERT$[m$[7m   Insert the current paste buffer     $[m
$[7m$[1m\
REMOVE$[m$[7m   Delete line or active select range  $[m
$[7m$[1m\
SELECT$[m$[7m   Start/End select range              $[m
$[7m$[1m\
PREV$[m$[7m     Display previous page of text       $[m
$[7m$[1m\
NEXT$[m$[7m     Display the next page of text       $[m
$[m\
1CM2
$[7;1m Cursor up ("Uparrow" key)$[0m
$[7m
        Cursor Up    - Moves the cursor up one line.
 
 
$[1m Pagetop (PF1 + "Uparrow")$[0m
$[7m
        Hitting the 'GOLD' key and then the Uparrow key  moves
        the cursor to the top of the page.
 
$[1m Page__restore (PF1 PF1 Uparrow)$[0m
$[7m
        By typing the GOLD  key  twice,  followed  then  by  the
        Uparrow key will restore the page marked previously with
        GOLD GOLD Downarrow.  Any 'repeat' count in the  range 1
        to 7  will select the corresponding saved page mark,  as
        in  GOLD 6 GOLD GOLD Up  would restore the page and line
        saved by a previous GOLD 6 GOLD GOLD Down.
 
$[0m
1CM3
$[1;7m Cursor down ("Downarrow" key)
$[0m$[7m
        Cursor Down  - Moves the cursor down one line.
 
 
$[1m Pageend (PF1 + "Downarrow")
$[0m$[7m
        Hitting the 'GOLD' key  and  then  the  Downarrow  key
        moves the cursor to the bottom of the current page.
 
$[1m Mark__currentpage (PF1 PF1 Downarrow)
$[0m$[7m
        Typing the GOLD key twice following  by  the  downarrow
        key will mark the current line to be later restored via
        GOLD GOLD Uparrow.  As in Page__restore  (Gold Gold Up),
        any active  'repeat'  count  (GOLD digit)  will  select
        different markers from one to 7, as in GOLD 6 GOLD GOLD
        Down.  GOLD V (for View__markers) will display  all  the
        current marked pages (and lines).
$[0m
1CM5
$[1;7m Left ("Leftarrow" key)
$[0m$[7m
        Cursor Left  - Moves the cursor left by one  character
        position.
 
$[1;7m GOLD Leftarrow$[0m
$[7m
        Moves cursor to the start of the current line.
$[0m
 
1CM4
$[1;7m Right ("Rightarrow" key)$[0m
$[7m
        Cursor Right - Moves the cursor right by one character
        position.
 
 
$[1m Sentence (PF1 + "Rightarrow")$[0m
$[7m
        If the Rightarrow key is pressed following the  'GOLD'
        key,  the  cursor is moved forward through the file by
        sentences.   (A  sentence  is  defined  as  a   period
        followed by any non-alphanumeric character.)
$[0m
 
1CM13
$[1;7m Begin line ("0")$[0m
$[7m
        Typing the '0' key when in keypad mode  will  cause  a
        cursor to move to the start of the current line.
 
 
$[1m Break line (PF1 + "0")$[0m
$[7m
        The '0' key, when preceeded by the 'GOLD' key,  causes
        a CR/LF to be inserted at the current cursor position.
$[0m
 
1CM14
$[1m$[7m Word ("1")$[0m
$[7m
        The '1' key will move the cursor to the next word (see
        ^F).
 
 
$[1m Lstword (PF1 + "1")$[0m
$[7m
        The '1' key, when preceeding by typing the 'PF1'  key,
        will  cause  the  cursor  to  move  to  the end of the
        previous word (see ^R).
$[0m
 
1CM15
$[1m$[7m Eol ("2")$[0m
$[7m
        The '2' key moves the cursor to the end of the current
        line.
 
 
$[1m Deleol (PF1 + "2")$[0m
$[7m
        Deletes from cursor to the end of the  line.   Entered
        as PF1 2.  (GOLD 2)
$[0m
 
1CM16
$[1m$[7m Cut ("3")$[0m
$[7m
        The '3' key starts the marking of lines for saving in the 
        paste buffer. Lines are marked by then  typing  the  down
        arrow key  until the last line to be saved is passed. The
        '3' key is typed again to actually save the  lines.   The
        lines are then retrieved by typing the '6' key.  This key
        is also used to start select ranges to be used by various
        other commands, such as DELLINE, GOLD Q  and GOLD W.
 
$[1m Select_pastebuffer (PF1 + "3")$[0m
$[7m
        Typing GOLD and then the "3" key is the way you switch 
        from one paste buffer to another.  There are 3 buffers
        to chose from (0,1 and 2).  The current active  buffer
        is displayed on the top header line in the display.
$[0m
1CM30
$[1m$[7m SELECT$[0m
$[7m
        Th eSELEC' key starts the marking of lines for saving  in 
        a paste buffer. Lines are marked by then typing the  down
        arrow key  until the last line to be saved is passed. The
        SELECT key is typed again to actually save the lines. The
        lines are then retrieved by typing the '6' key.  This key
        is also used to start select ranges to be used by various
        other commands, such as DELLINE, GOLD Q  and GOLD W.
$[0m
1CM17
$[1;7m Bottom ("4")$[0m
$[7m
        The '4' key causes a movement to the end of the file.
 
$[1m Fill (PF1 + "4")
$[0m$[7m
        Typing GOLD and then the 4 key will cause the text  on
        the current line to be expanded with spaces out to the
        current fill margin (see /FILL:N).   The  fill  margin
        defaults  to  72,  and can be changed by typing ^V and
        then, after the 'SET>' prompt, the string FILL:value ,
        where  'value'  is  the decimal value for the new fill
        margin. As an alternative  to using the  current  fill
        factor, you can set a repeat count (using gold digits)
        to define the fill size.
$[0m
 
1CM18
$[1m$[7m Top ("5")$[0m
$[7m
        The '5' key is top of file (line 1).
 
 
$[1m Center (PF1 + "5")$[0m
$[7m
        The '5' key, when typed immediately after the PF1  key
        is  typed,  centers  the  current  line based upon the
        current fill (see GOLD M or Control  V).   The  center
        line should not contain any tabs. As an alternative to
        using the  current  fill factor, you can set  a repeat
        count (using  gold  digits)  to  define the fill size.
$[0m
 
1CM19
$[1m$[7m Paste ("6")$[0m
$[7m
        The '6' key inserts text saved by the 'cut (3)' key.
 
$[1m Zapsel (PF1 + "6")$[0m
$[7m
        The '6' key, when typed immediately after the PF1  key
        is typed, erases the contents of the paste buffer.
$[0m
 
1CM20
$[1m$[7m Findlast ("7")$[0m
$[7m
        The '7' key is used to locate a text  pattern  in  the
        file and move backwards to that page if the pattern is
        found.  The search is from the  current  line  to  the
        first line of the file, a reverse search.  The  search
        uses the previous search pattern, if present.
 
$[1m SearchB (PF1 + "7")$[0m
$[7m
        The '7' key, when typed immediately after the PF1  key
        is  typed,  does a search but from the current line to
        the begining of the file instead of to the end of  the
        file.  Entered as PF1 7 from the keypad.   The  search
        is always prompted for, typing a carriage return  will
        cause the previous pattern to be used.
$[0m
1CM21
$[1m$[7m SwapCHR ("8")$[0m
$[7m
        By typing the 8 key,  the  character  at  the  current
        cursor  position  will be swapped with the next one if
        neither of them are line terminators.
 
$[1m SwapLIN (PF1 + "8")$[0m
$[7m
        By typing the PF1 key and then typing the "8" key, the
        current line will be swapped with the next line of the
        file.  It is an error if the current line is the  last
        line in the file.  Entered as GOLD 8.
$[0m
1CM22
$[1m$[7m Append ("9")$[0m
$[7m
        The  '9'  key  appends  the  current  line  to the paste
        buffer. This is the only way to store lines that are not
        adjacent  into  the  paste  buffer.
 
$[1m SPCINS (PF1 + "9")$[0m
$[7m
        Inserts the ASCII character whose value is given in  the
        previous  GOLD digits  command.   Entered as GOLD digits
        GOLD 9, as follows:
 
        All  keypad  commands (except for  beginline "0") can be
        repeated from one to 999 times by setting a repeat count
        with the  command  sequence  GOLD (which is the PF1 key)
        followed by a string of 1 to 3 digits.  The numbers will
        be echoed on the last line of the display.  The entering
        of  this  repeat  count  is  stopped  by typing anything
        other than a rubout or a digit.  The  'repeat count'  is
        one-shot,  it  is  ALWAYS  cleared  after  each  control
        character  or  KEYPAD  command.   It  is also cleared if
        anything other than a command is typed after setting the
        repeat count.  This  is  also  used for SPSINS, in which
        case the value is converted to the ascii  representation
        and placed into the current line. A repeat count  of '*'
        (typed  GOLD *) is an infinite count, except for DELLINE
        (PF4 or ^D) in which case all lines to the  end  of  the
        page are deleted. 
$[0m
 
 
1CM9
$[7;1m GOLD$[0m
$[7m        This key shifts the other keys to their gold functions.
 
$[1m GOLD A$[0m
$[7m    Typing  PF1  followed by the letter  A  will  move  the
        current left margin to the current position in the line.
 
$[1m GOLD B$[0m
$[7m    The command  GOLD B  is used to switch to the alternate
        editing window.  This is always  empty at first and can
        be  filled by  entering text, as normal,  by pasting in
        text from the main edit window, or by typing the GOLD G
        command  to read a disk file into it.  Please note that
        this window is not  buffered in  any sense  and is thus
        fairly  slow in performance.  The main use of alternate
        windows is to get a file, cut some text from it, switch
        to the main window and paste the text in.
 
$[1m GOLD C$[0m
$[7m    GOLD C is a single character CHANGE CASE.
 
$[1m GOLD D$[0m
$[7m    GOLD D  is equivalent to a cut and delete of  a  select
        range.
 
$[1m GOLD G$[0m
$[7m    Typing  PF1 and then G will insert a file at the current
        line.
 
$[1m GOLD L$[0m
$[7m    Typing PF1 followed by L will toggle the  macro  'learn'
        feature.  If not on,  then all input following  will  be
        saved, otherwise 'learn' will  be turned off.  The saved
        text is executed by ^E. 
 
$[1m GOLD M$[0m
$[7m    This gets you into a menu where various parameter can be
        set.
 
$[7;1m GOLD O$[0m
$[7m    This will display an octal dump of the current line up to
        the end of the page or until the screen is full.
 
$[1m GOLD P$[0m
$[7m    This  will  fill  the current paragraph (from the current
        line to the next blank line) out  to  the  current  right
        margin (fill).  See Gold M or control V for  setting  the
        margin. Default 72. A repeat  count will  always override
        the current fill factor.  All text  will  be  aligned  if
        if there's a left margin (GOLD A).  GOLD GOLD P  is  like
        GOLD P,  but  without the right justification of the text
        lines.
 
$[1m GOLD Q$[0m
$[7m    QUEUE the current select range/page to a print spooler.
 
$[1m GOLD R$[0m
$[7m    This  command is rather whimsical in that all it does  is
        swap the current line around (GOLD REVERSE).
 
$[1m GOLD S$[0m
$[7m    This is the same as the SAVE command outside  of  VTEDIT.
        It causes the current editing to be saved  to  the  input
        file.
 
$[1m GOLD T$[0m
$[7m    This inserts the current date and time at the cursor.
 
$[1m GOLD U$[0m
$[7m    The same as ^U, it erases the current line. See UNDEL.
 
$[1m GOLD V$[0m
$[7m    Gold V will display all the saved page markers along with
        the text of the line that is (was) at that  line  number.
        See  HELP for Uparrow and Downarrow for more information.
 
$[1m GOLD W$[0m
$[7m    This dumps the current 'select' range out to a disk file.
        The range is defined as being the lines from the time the
        select command was given thru and including current line.
$[1m
 GOLD X$[0m
$[7m    This is the same as control X, it will cause a macro to be
        read from the terminal.  The macro can then be executed by
        use of control E (^E).
 
$[1m GOLD Z$[0m
$[7m    Hexadecimal DUMP of the current text.
 
$[1m
 GOLD digits$[0m
$[7m    This sets the command repeat count. The 'repeat' count will
        be interpreted in several ways depending on what  the  next
        command is. Normally it is simply a count of how many times
        to execute the next command.  Certain commands line  SPCINS
        (GOLD 8),  Paragraph  (GOLD P),  and  Page__Mark  (GOLD GOLD
        Downarrow) use this value to respectively  insert the ascii
        equivalent character,  alter the right margin,  and overide
        the default marker buffer.  Example: GOLD 6 A would cause 6
        'A's to be inserted into the current line. GOLD 3 Downarrow
        would move the cursor down 3 lines.
          
$[1m
 GOLD [ and GOLD ] $[0m
$[7m
        These  two  commands  cause, respectively, a move to the
        start of the next paragraph and a move  to  the  end  of
        the  current  paragraph. For the purposes of the editor,
        a new paragraph is defined as the first occurance  of  a
        space  followed by a letter in column one and two, or by
        the first non-blank  line  following  a  blank  line  or
        lines.  The  next paragraph command (GOLD [) can thus be
        used for both normal text and program  text.  When  used
        for  program  text the usual purpose of this would be to
        move across blocks such as BEGIN ... END in PASCAL. 
 
$[1m
 GOLD _$
$[0m
$[7m    The GOLD _$ command executes asks for a optional  command
        line and then will execute that command line as a system
        command. 
 
$[1m GOLD #$[0m
$[7m    The GOLD # command  spawns a DCL  command line and saves
        the output from that command in the file you are editing
 
$[0m
1CM6
$[7;1m PF2,control P, GOLD PF2
$[0m
$[7m        Next page, reprint  current  page  and  previous  page
        respectively.
$[0m
1CM31
$[7;1m PREV SCREEN$[0m
$[7m        The PREV SCREEN key will go backwards one page in  the
	file.
1CM32
$[7;1m NEXT SCREEN$[0m
$[7m        The NEXT SCREEN key will go forwards one page  in  the
        file.
1CM7
$[7;1m FINDNEXT  (PF3)$[0m
$[7m
        The findnext key does a search to  the  next  occurance
        of a previous search string, moving the  cursor to  sit
        on the first character of the string found  (if found).
        The search is from the current line and cursor position
        to the end of the  file.  The  search  pattern  can  be
        loaded  by  using  the 'FIND' command or by GOLD ENTER.
 
$[1m\
 FIND (GOLD PF3)$[0m
$[7m
        is FINDNEXT with a prompt for the pattern string.
$[0m    
 Special Pattern Matching\
$[7;1m  
^X $[0m $[7mmatches any character (also available as ^Ex)       $[0m
$[7;1m\
^S $[0m $[7mAccepts any non alpha-numeric                       $[0m
$[7;1m\
^Ea$[0m $[7maccepts any alphabetic (A-Z,a-z)                    $[0m
$[7;1m\
^Ec$[0m $[7maccepts A-Z,a-z,0-9,. and dollar symbol             $[0m
$[7;1m\
^Ed$[0m $[7maccepts any digit 0-9                               $[0m
$[7;1m\
^Er$[0m $[7maccepts any upper case letter or any digit 0-9      $[0m
$[7;1m\
^Es$[0m $[7maccepts any space or tab                            $[0m
$[7;1m\
^Ev$[0m $[7mmatches any lowercase letter                        $[0m
$[7;1m\
^Ew$[0m $[7mmatches any uppercase letter                        $[0m
$[7;1m\
^E<nnn>$[0m     $[7maccept the character whose ASCII code (octal) is nnn$[0m
$[7;1m\
^R $[0m $[7muse the next character literally (for example, ^R^E)$[0m
$[0m\
1CM27
$[7;1m FIND$[0m
$[7m
        The FIND  key  does  a  search to  the  next  occurance
        of a previous search string, moving the  cursor to  sit
        on the first character of the string found  (if found).
        The search is from the current line and cursor position
        to the end of the  file.  The  search  pattern  can  be
        loaded  by  using  the 'FIND' command or by GOLD ENTER.
 
$[1m\
 GOLD FIND$[0m
$[7m
        is like FINDNEXT with a prompt for the pattern string.
$[0m    
 Special Pattern Matching\
$[7;1m  
^X $[0m $[7mmatches any character (also available as ^Ex)       $[0m
$[7;1m\
^S $[0m $[7mAccepts any non alpha-numeric                       $[0m
$[7;1m\
^Ea$[0m $[7maccepts any alphabetic (A-Z,a-z)                    $[0m
$[7;1m\
^Ec$[0m $[7maccepts A-Z,a-z,0-9,. and dollar symbol             $[0m
$[7;1m\
^Ed$[0m $[7maccepts any digit 0-9                               $[0m
$[7;1m\
^Er$[0m $[7maccepts any upper case letter or any digit 0-9      $[0m
$[7;1m\
^Es$[0m $[7maccepts any space or tab                            $[0m
$[7;1m\
^Ev$[0m $[7mmatches any lowercase letter                        $[0m
$[7;1m\
^Ew$[0m $[7mmatches any uppercase letter                        $[0m
$[7;1m\
^E<nnn>$[0m     $[7maccept the character whose ASCII code (octal) is nnn$[0m
$[7;1m\
^R $[0m $[7muse the next character literally (for example, ^R^E)$[0m
$[0m\
1CM28
$[1m$[7m INSERT HERE$[0m
$[7m
        The INSERT key inserts text saved in the current paste
	buffer.
 
$[1m GOLD INSERT$[0m
$[7m
        The INSERT key, typed immediately after the PF1 key is
        typed, erases the contents of the paste buffer.
$[0m
1CM29
$[1;7m REMOVE 
   GOLD REMOVE
$[0m
$[7m        Deletes the current line or word.  REMOVE  is the same
        as Control D. Using GOLD REMOVE will recover  the most
        recently deleted line.  REMOVE  can be modifed in  two
        ways.   The first is to enter a repeat count to delete
        N lines (or a * to delete to end of page).  The  other
        option  is  to  start  a  select  range (by typing the
        keypad key 3) and then  moving  down  until  you  have
        moved  past  the  last line to be deleted. Then typing
        REMOVE will then delete the entire range of lines.
$[0m
1CM8
$[1;7m DELLINE (PF4)
   UNDELLINE (GOLD PF4)
$[0m
$[7m        Deletes the current line or word.  DELLINE is the same
        as Control D Undeleteline (GOLD PF4) recovers the most
        recently deleted line.  Delline can be modifed in  two
        ways.   The first is to enter a repeat count to delete
        N lines (or a * to delete to end of page).  The  other
        option  is  to  start  a  select  range (by typing the
        keypad key 3) and then  moving  down  until  you  have
        moved  past  the  last line to be deleted.  Typing PF4
        will then delete the entire range of lines.
$[0m
1CM23
$[1;7m DELWORD ("-")
   UNDELWORD (PF1 + "-")
$[0m$[7m
        Delword deletes up to the  start  of  the  next  word.
        Undeleteword recovers the most recent delete.
$[0m
1CM24
$[1;7m DELCHAR (",")
   UNDELCH (PF1 + ",")
$[0m
$[7m    Same as rubout, except that at EOL,  merges  with  the
        next line.  UNDELCH restores the most recently deleted
        character.  Entered as , or GOLD ,.
$[0m
1CM26 
$[7;1m
 REPLACE ("ENTER")
$[0m
$[7m    Same as control N (^N). Causes a search and replace for page.
 
$[0m$[1;7m
 SETPAT (GOLD ENTER)
$[0m
$[7m    Sets the next pattern for FINDNEXT (PF3)
 
$[1m
 SETREP (GOLD GOLD ENTER)
$[0m
$[7m    Sets the next replacement string for REPLACENEXT (period)
$[0m
 Special pattern matching strings:
 
$[7;1m  ^X $[0m $[7mmatches any character  (also available as ^Ex)$[0m
$[7;1m  ^S $[0m $[7mAccepts any non alpha-numeric$[0m
$[7;1m  ^Ea$[0m $[7maccepts any alphabetic (A-Z,a-z)$[0m
$[7;1m  ^Ec$[0m $[7maccepts A-Z,a-z,0-9,. and dollar symbol$[0m
$[7;1m  ^Ed$[0m $[7maccepts any digit 0-9$[0m
$[7;1m  ^Er$[0m $[7maccepts any upper case letter or any digit 0-9$[0m
$[7;1m  ^Es$[0m $[7maccepts any space or tab$[0m
$[7;1m  ^Ev$[0m $[7mmatches any lowercase letter$[0m
$[7;1m  ^Ew$[0m $[7mmatches any uppercase letter$[0m
$[7;1m  ^E<nnn>$[0m     $[7maccepts the character
                whose ASCII code (octal) is nnn$[0m
$[7;1m  ^R $[0m $[7muse the next character literally (for example, ^R^E)
$[0m
 
1CM25
$[1;7m
 "." (PERIOD)
$[0m
$[7m        The dot key unshifted is a findnext  and replace oper-
        function.  If there is no pervious search pattern  one
        will be prompted for,  as well as  for the replacement
        text. The search pattern is changed by GOLD ENTER. The
        replacement  text pattern  is set by  GOLD GOLD ENTER.
        The replacement text can also contain control Xs which
        will cause text from the pattern matched to be  copied
        to the new text.
$[1;7m
 Gold + "."
$[0m
$[7m        Typing this will cause  all  following  characters  to
        replace characters rather than to be inserted into the
        current line.  This is automatically disabled  by  any
        keypad  command or by reaching eol.  This command acts
        like a toggle.  Entered as 'PF1 .' on the keypad.
$[0m
1CM40
$[7;1m F10$[0m
$[7m        The F10 key will cause an exit from the editor. It will
        prompt you for the name of the output file and exit.
$[0m
1CM35
$[7;1m BACKSPACE (F12)$[0m
$[7m         Typing the backspace key moves the cursor to  the  end
         of  the  current line.  If the cursor is at the end of
         the line, the cursor will move back to begining of the
         line.
$[0m
1CM33
$[7;1m HELP$[0m
$[7m        Typing the HELP key will put you into the help menu.
$[0m
1CM34
$[7;1m DO$[0m
$[7m        Typing the DO key will allow you to execute line editor
        commands from within the screen editor  (VMS  version).
        You will be prompted for the command to execute by  the 
        'Command ?' prompt.  After the command has finished, it
        will return to the screen editor.
$[0m
1CM36
$[7;1m F17$[0m
$[7m        The F17 key will switch to the main editing window.
$[0m
1CM37
$[7;1m F18$[0m
$[7m        The F18 key will switch to alternate window one for
        editing. This is always  empty  at first and can be
        filled  by  entering text as normal,  by pasting in
        text from the main edit window, or by typing GOLD G
        to read a disk file into it.  Please note that this
        window is not  buffered in  any sense,  and is thus
        fairly  slow in performance.  The main use of these
        windows is to get a file,   cut some text from  it,
        and switch to the main window and paste the text in.
        To  get back to the main editing window, use F17.
$[0m
1CM38
$[7;1m F19$[0m
$[7m        The F19 key will switch to alternate window two for
        editing. This is always  empty  at first and can be
        filled  by  entering text as normal,  by pasting in
        text from the main edit window, or by typing GOLD G
        to read a disk file into it.  Please note that this
        window is not  buffered in  any sense,  and is thus
        fairly  slow in performance.  The main use of these
        windows is to get a file,   cut some text from  it,
        and switch to the main window and paste the text in.
        To  get back to the main editing window, use F17.
$[0m
1CM39
$[7;1m F20$[0m
$[7m        The F20 key will spawn a host command (VMS only).
$[0m
1CM41
$[7;1m F14$[0m
$[7m        The F14 key will return CPU time, IO, and page fault
        statistics. (VMS only).
$[0m
1CM1
       Control A (^A)
 
          Control A causes the VTEDIT function to terminate  and
          returns the user to the normal command prompting mode.
          All changes are of course saved.
1CM1
       Control B (^B)
 
          Control B causes the displayed page  to  be  the  last
          page in the file (end of file).
1CM1
       Control C (^C)
 
          Control C works the same as ^A with the abort  message
          displayed.
1CM1
       Control D (^D)
 
          Control D deletes the current line.  'Current' is  the
          line that cursor is presently on.  All lines after the
          deleted line will be reprinted.  Multiple lines  (1-9)
          can  be  deleted at one time by preceding this command
          with an 'escape digit' sequence, saving much  time  in
          display reprinting.
1CM1
       Control E (^E)
 
          Control E will cause the  text  saved  by  either  the
          control  W  or  control X commands to be executed as a
          command stream.  At the end of  this  text,  input  is
          reset  back  to  the keyboard.  This provides a simple
          macro-command type facility  since  control  sequences
          can  be stored and executed.  Additionally, by preced-
          ing this command  with  the  'escape  digit'  you  can
          repeat the commands 1 to 999 times, as in GOLD 4 ^E.
1CM1
       Control F (^F)
 
          Control F will cause the cursor to move forward to the
          next  word in the current line, stopping at the end of
          the line.
1CM1
       Control G (^G)
 
          Control G is like control E, but only causes the saved
          text to be inserted into the current line.  It is thus
          much faster than using the control  E  command.   (see
          text  for  control X and control W).  This command can
          be modified by  preceding  it  with  the 'GOLD  digit'
          sequence  (digit  is  1-6) which causes the text to be
          retrieved from different save areas (there are  seven,
          the default and 1-6).
1CM1
       Control H
 
          Typing the backspace key moves the cursor to  the  end
          of  the  current line.  If the cursor is at the end of
          the line, the cursor will move back to begining of the
          line.
1CM1
       Control K
 
          Typing the control K combination will  cause  all  the
          characters  from  the  current  cursor position to the
          next 'word' (see PF1) to to be deleted.  This will  be
          much faster than holding down the rubout key.
1CM1
       Control N
 
          Control N is a find  and  replace  command.   It  will
          replace  all occurances of the text with new text from
          the current line down to the end of the page.
1CM1
       Control P
 
          Control P reprints the VT100 top header line and screen.
1CM1
       Control R
 
          Control R is the opposite of control  F  in  that  the
          cursor will move backwards to the previous word in the
          line, stopping at the left margin.
1CM1
       Control T
 
          Control T causes the page to move to the  top  of  the
          file at line one.
1CM1
       Control U
 
          Control U erases (but does  not  delete) from the current
          positoin to the start of the line.  See help for PF1  for
          information on GOLD U, which erases the current line.
1CM1
       Control V
 
          Control V allows you to change the  parameters  passed
          as  command switches, or simply to set values, such as
          turning line numbering off (/NOLINE) or  moving  to  a
          given line number (/PAG:300).
 
          Control V parameters:
 
          /NOL   'nolinenumbers' Do not print line numbers out
          /VT52  say our terminal is a DEC VT52 (or Heath H19)
          /PAG:n Start initial page at line 'n', not at line 1
          /PDEL  enable normal rubout key movement
          /FIL:n set fill line length to value in 'n'
          /WRAP  enable auto line wraparound for kb input
          /LMA:n set left margin
1CM1
       Control W
 
          Control W saves all the text in the current line  into
          the   text   save  area.   Line  terminators  are  not
          included.  Multiple save areas  can  be  specified  by
          using  the 'escape digit' sequence prior to this.  See
          the above text for control G.
1CM1
       Control X
 
          Control X loads the text save area from the  keyboard.
          See help for control E and control G.
1CM1
       Control Y
 
          Control Y can be used to fake a  carriage  return  for
          storing  commands with the control X command.  This is
          useful if a command sequence for say, text replacement
          (^N)  is  to  be  stored  and  later executed with the
          control E command.  If typed any other time,  it  will
          simply reprint the current line.
1CM1
The use of control Z
$[7m
Line  insert  mode is entered automatically by typing a carriage return,
line feed or form feed (^L). The screen will be blanked  from  the  line
to  be  inserted  down to the end of the page. Insert mode is terminated
by typing a control Z (^Z) instead of a  <cr>  to  finish  off  a  line.
This is also stopped by most of the keypad commands.
 
The  left  arrow, right arrow and rubout keys will continue to operate
normally in this mode. The other defined control characters  (E,  F,  G,
H,  P, R, U, W, X, and backspace) will operate normally. In general, any
command that would cause the current line to change will reset this.
 
The  control  V  set commands 'WRAP', 'NOWRAP' and 'FILL:decvalue' alter
the way insertion mode works for text entry. If 'WRAP'  is  set  a  line
break  is  done  automatically  when  the fill margin is reached, which
defaults to 72. NOWRAP will disable this feature and is the default. 
 
An  alternative  to  the blanking of the screen and sticking in 'insert'
mode is the parameter 'PRINT' , set by either using ^V or GOLD M.  This,
when set, will cause a cr/lf simply to start a new line VTEDIT style. 
$[0m$[0m
