Download OpenVMS EDT Reference Manual

Transcript
EDT Nokeypad Commands
SEL (Select) Command
SEL (Select) Command
Format
SEL
Description
The SEL (select) command marks the current cursor position as one end of a
select range. To set up the select range, first position the cursor at one end of the
text you want to select. Then enter the SEL command to have EDT mark that
spot. Use the arrow keys or the ‘‘move’’ command to move the cursor to the other
end of the selected text. The select range is now set. To use that select range, use
SR (select range) as the entity specifier with your nokeypad-mode command.
You can move the cursor either forward or backward in the buffer to set the other
end of the select range once the initial end has been marked. To move backward
toward the start of the buffer, use the LEFT and UP arrow keys or precede the
‘‘move’’ command with a minus sign ( – ). If you have included more text than you
want in the select range, you can move the cursor toward the position marked by
SEL, using the arrow keys and ‘‘move’’ commands to reduce the size of the range.
Adjusting select ranges on VT100-series terminals is easy because EDT displays
the text in reverse video. On VT52 terminals, you might find it easier to use the
DESEL command to cancel the select range and then start over.
The DESEL (deactivate select) command cancels a select range. The TGSEL
(toggle select) command allows you to switch between SEL and DESEL with the
same command, setting either SEL if no select range is active or DESEL if there
is a current select range. The SSEL (search and select) command performs a
search and makes the found string the select range.
You can use a select range with line-mode commands by entering the line-mode
range specifier SELECT. However, line mode requires that the select range
include only whole lines.
Examples
Example 1
Creates a select range of the word Digital and then changes all lowercase letters
to uppercase.
This manual was produced by Digital for its customers.
SEL W
CHGUSR
This manual was produced by DIGITAL for its customers.
EDT–319