Paste Over [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Paste Over
Purpose
Overlays the cut/paste buffer onto the current text.
Default Syntax
[n] ESC p
where n is a count that represents the column where overlaying is to
begin.
Description
This command overlays the contents of the cut/paste buffer onto text
beginning at the current cursor position or at the column specified by a
count value. One practical application of this command would be to
overlay and merge tabular and/or columnar data from different lines.
When you execute this command, HP EDIT replaces existing text with the
buffer contents beginning at the specified location.
If the overlayed buffer contents writes over a portion of existing text,
HP EDIT displays a message indicating that one or more lines have been
truncated. If the buffer contents writes over all of the existing text,
the message does not appear. The message also appears if all of the
overlayed text cannot fit within the maximum column width of your
terminal, because HP EDIT truncates characters that exceed the boundary
of the last column on a line.
Procedure
To overlay the buffer contents onto a specified text area:
1. Move the cursor to the column where you want to begin the buffer
overlay, or move the cursor to the desired beginning line and
specify a count that represents the column number.
2. Press ESC and the p key. HP EDIT overlays the buffer contents
beginning at the specified location. If the buffer is empty, HP
EDIT displays the message No lines in buffer on the status line.
Example
To overlay and merge lines 4, 5, and 6 onto the fourth column of lines 1,
2, and 3:
1
2
3
4
5
6
1. Move the last three lines to the cut/paste buffer using the Cut to
Buffer command.
2. Move the cursor to the fourth column of the first line, or move
the cursor to the first line and specify a count of 4.
3. Press ESC and the p key. HP EDIT overlays the buffer contents
onto the first three lines as shown:
1 4
2 5
3 6
Related Commands
Copy And Append To Buffer
Copy To Buffer
Cut And Append To Buffer
Cut To Buffer
Paste After
Paste Before
MPE/iX 5.0 Documentation