HP 3000 Manuals

Paste After [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Paste After 

Purpose 

Pastes text after the current line.

Default Syntax 

p

Description 

This command inserts a copy of the current Cut/Paste buffer text after
the line[REV BEG] or character[REV END] where the cursor is currently
positioned.  The buffer contents remain unchanged after you execute this
command, and you can use this command repeatedly during your editing
session to insert multiple copies of the buffer without altering the
buffer contents.

HP EDIT also preserves the buffer when you alternate between files using
the Activate Next Process and Activate Previous Process commands [REV
BEG]or when you switch windows[REV END]. Consequently, you can use the
Paste After command to copy or move text from one file to another.

Procedure 

To insert the Cut/Paste buffer contents after a specified line: 

   1.  Cut or copy a line block to the Cut/Paste Buffer.

   2.  Move the cursor to a column anywhere on the line below which you
       want to insert (paste) the text.

   3.  Press the p key, or press the Cut/Paste function key, followed by
       the Paste After function key.  HP EDIT inserts the text lines in
       the buffer below the specified line.
[REV BEG]

To insert the Cut/Paste buffer contents after a specified character: 

   1.  Cut or copy a character block to the Cut/Paste buffer.

   2.  Move the cursor to the character after which you want to insert
       the text.

   3.  Press the p key, or press the Cut/Paste function key, followed by
       the Paste After function key.  HP EDIT inserts the text in the
       buffer below the cursor.
[REV END]

Example 

To insert the Cut/Paste buffer contents after the first line: 

           The buffer contents will be inserted after this line
           this sentence.

   1.  Move the cursor anywhere on the first line as shown.

   2.  Press the p key, or press the Cut/Paste function key, followed by
       the Paste After function key.  HP EDIT inserts a copy of the
       buffer contents after the first line as shown:

            The buffer contents will be inserted after this line
            to complete
            this sentence.

Related Commands 

       Copy And Append To Buffer
       Copy To Buffer
       Cut And Append To Buffer
       Cut To Buffer
       Paste Before
       Paste Over



MPE/iX 5.0 Documentation