ARPUS/ce, Version 2.6.2 (03/10/05) (SCCS 1.2)
_______________________________________________________________________________
rl
"return to location"
DESCRIPTION:
The rl command moves the cursor to the last location set by the
sl (save location) command. The rl command is used in key
definitions or other command sequences which are going to go off
and do something to the text but not disturb the cursor. This is
most often done on in ceterm when sending ce commands back via
the 0x0202 prefix (see ) to a ceterm window
to do colorization.
The command is always used in conjunction with the sl (save
location) command and normally brackets the other commands in the
command string. (See example)
rl is different than the gbl (go to label) command in that label
attaches a label to a location in the file being edited (or the
terminal pad). The label moves with the line. If you did an 'sl'
command in a file and then added data in front of the line, the
'rl' command would return you to the line number specified even
though the original line moved to a new line number. The 'rl'
command is designed for short term work.
EXAMPLES:
kd ^3 sl;tmw;pb;tb;tl;ca red;rl ke
In the above key definition, Pressing Ctrl-3 would color the last
line red but not move the cursor.
echo '\002\002sl;tmw;pb;tb;tl;ca red;rl'
When echo'ed from a shell, this will color the last line on the
transcript pad red.
RELATED HELP FILES:
sl (Save Location)
prefix (Prefix)
commands (List of Commands)
support (customer support)
____________________________________________________________________________
Copyright (c) 2005, Robert Styma Consulting. All rights reserved.