HP Integrity NonStop H-Series User Manual

Page 50

Advertising
background image

How TEDIT Moves Text

Revising a Simple Document

2–8

058060 Tandem Computers Incorporated

Highlight

How TEDIT Moves Text

What happens to the text when TEDIT moves it from one place to another?
When you use the MOVE or COPY command, TEDIT puts the text in a
temporary holding area called the scratchpad. The text stays on the
scratchpad until you use the RETRIEVE command. In fact, a copy of the
text stays on the scratchpad until you retrieve it and then replace the
contents of the scratchpad with some other text, using MOVE or COPY.
The following written example describes, and Figure 2-2 illustrates, how the
scratchpad works.

Here is an example: If you give a MOVE command on text A, TEDIT
moves text A to the scratchpad. If the next command you give is a
RETRIEVE command, a copy of text A is retrieved into the file and another
copy stays on the scratchpad. You can retrieve text A as many times as you
like. However, the next time you use the MOVE command, for example to
move text B, this new text replaces (writes over) the text A that was
previously on the scratchpad. The next time you give the RETRIEVE
command, TEDIT retrieves only text B.

If you want to move several different items of text to the scratchpad, give
sequential MOVE commands without retrieving any of the text in between
the MOVE commands. Thus, if you give a MOVE command first on text A,
next on text B, and then on text C, TEDIT saves all three text items on the
scratchpad in the order you moved them. When you give a RETRIEVE
command, TEDIT retrieves text A, text B, and text C all together into the
file.

One advantage of the way the scratchpad is designed is that until you move
something else, the text stays on the scratchpad so that you can retrieve it as
many times as you want. Another advantage is that you can move several
different items to the scratchpad and then retrieve them all together in one
place.

If you press RETRIEVE again now, the subject line you moved is retrieved
again. Try it. Then use the

LINE DEL

key to delete the extra line.

Advertising
This manual is related to the following products: