up.zr

Command/Update Processor, Releases: AP

Load specified item into prestore buffer and does not execute it.

Syntax

<ctrl>+zr{(file.reference} item-id <return> <ctrl>+zr{(file.reference} item-id <ctrl>+p

Description

loads a previously saved prestore command into the prestore buffer and, optionally, executes the prestore command.

After the '<ctrl>+zr' command has been entered, the following prompt appears at the top left corner of the screen:

Prestore id:

The response to this prompt can either be an item-id (if the prestore command is stored in the current master dictionary) or a file.reference and item-id (if the prestore command is stored in a file other than the current master dictionary.)

The item-id is followed by either '<return>' or '<ctrl>+p'.

When the '<ctrl>+zr' command is followed by a '<return>' or '<enter>', the contents of the prestore command are loaded in the prestore buffer but the command is not executed. When the '<ctrl>+zr' command is followed by a '<ctrl>+p', the prestore command is executed.

Once the prestore buffer has been loaded, it can be executed any time during the current update session using '<ctrl>+p'.

Example

The following example shows how to load the prestore buffer with a saved
prestore command from the current master dictionary without executing the
prestore command.

<ctrl>+zr command to load prestore buffer
Prestore id: terminal prompt for item-id
id<return> item-id from md

The next example shows how to load the prestore buffer with a saved prestore
command from the file 'commands' using the item-id of
'holdit'. The command is immediately executed using <ctrl>+p.

<ctrl>+zr command to load prestore buffer
Prestore id: terminal prompt for item-id
(commands,holdit<ctrl>+p file.reference,item-id, execute

See Also

Command Name Type Description
up.z Command Initiates several separate UP commands.
up.za Command Redisplays item or searches through tcl-stack.
up.zb Command Redisplays item, placing current line at bottom of screen.
up.zc Command Displays column position guide.
up.zd Command Deletes all text to end of item.
up.ze Command Moves cursor to end of item.
up.zg Command Moves cursor to end of previous paragraph.
up.zh Command Moves cursor down one-half page.
up.zn Command Moves cursor to the beginning of next page.
up.zo Command Deletes all text to end of paragraph or attribute.
up.zp Command Redisplays the screen.
up.prestore Command Description of UP prestored commands.
up.zt Command Defines tab stops.
up.znumber Command Goes to a specific line number.
update.processor Definition a dictionary-driven, full-screen editor and data processor.
up Introductory
updte.processor Definition a dictionary-driven, full-screen editor and data processor.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.