Paste

Keys

SHIFT+INS, SHIFT+NUM+

Menu

Edit menu, Paste command

Paste (SHIFT+INS)

Copies the contents of the clipboard to the file at the cursor. The text is always inserted independent of the insert/overtype mode.

If the clipboard contents were copied to the clipboard as a linearg, PWB inserts the contents of the clipboard above the current line. Otherwise, the contents of the clipboard are inserted at the cursor.

Arg boxarg | linearg | streamarg Paste (ALT+A boxarg | linearg | streamarg SHIFT+INS)

Replaces the selected text with the contents of the clipboard.

Arg Paste (ALT+A SHIFT+INS)

Copies the text from the cursor to the end of the line. The text is copied to the clipboard and inserted at the cursor.

Arg textarg Paste (ALT+A textarg SHIFT+INS)

Copies textarg to the clipboard and inserts it at the cursor.

Arg Arg filename Paste (ALT+A ALT+A filename SHIFT+INS)

Copies the contents of the file specified by textarg to the current file above the current line.

Arg Arg !textarg Paste (ALT+A ALT+A !filename SHIFT+INS)

Runs textarg as an operating-system command, capturing the command's output to standard output. The output is copied to the clipboard and inserted above the current line.

You must enter the exclamation mark as shown.

Returns

TruePaste always returns true except for the following cases.

FalseTried Arg Arg filename Paste and file did not exist, or the pasted text ould make a line too long.

Example

The following command copies a sorted copy of the file SAMPLE.TXT to the current file: Arg Arg !SORT <SAMPLE.TXT Paste (ALT+A ALT+A !SORT <SAMPLE.TXT SHIFT+INS).