qedit

Copying the Same Block Many Times (Visual Mode)

One common editing function in Visual mode is to copy the same text to several different places. Users often mark the text they want to copy, add it at one place and then go back and mark the original block again. This is not necessary because cut-and-paste operations save the lines they process in a temporary file called "Hold0". To copy from the Hold0 file again, use these special functions:

A0 copy "after" this line from Hold0
B0 copy "before" this line from Hold0

Hold0 is actually a temporary file on MPE:

/listftemp,2

TEMPORARY FILES FOR MGR.ACCOUNT,SESSION
ACCOUNT=  ACCOUNT     GROUP=  PUB
FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
HOLD             1000B  FA           5     250000   1      256  1  * (TEMP)
HOLD0            1000B  FA           4     250000   1      256  1  * (TEMP)
On HP-UX, its a randomly-named scratch file, /usr/tmp/qhold<random name>, but you can still do /list hold0 and Qedit will find it.

....Back to the Qedit Q&A Page