[OpenVMS documentation]
[Site home] [Send comments] [Help with this site] [How to order documentation] [OpenVMS site] [Compaq site]
Updated: 11 December 1998

OpenVMS User's Manual


Previous Contents Index

9.8.2 Moving the Cursor

The following table describes commands and keys that can be used to move the cursor:
Keypad Mode Line Mode Nokeypad Mode Description
BACKSPACE   BL Moves the cursor to the beginning of the current line.
BOTTOM TYPE END ER Moves the cursor to the end of the buffer, after the last character position in the buffer.
CHAR   C Moves the cursor one character in the current direction (forward or backward, depending on whether ADVANCE or BACKUP is in effect).
Down arrow
key
  Down arrow
key
Moves the cursor down one line toward the bottom of the buffer, regardless of whether ADVANCE or BACKUP is in effect.
EOL   EL Moves the cursor to the end of the current line if the direction is forward. If the current direction is backward, the cursor moves to the end of the previous line.
Left arrow
key
  Left arrow
key
Moves the cursor one character to the left, regardless of whether ADVANCE or BACKUP is in effect.
    "move" Moves the cursor within the current buffer.
LINE   L Moves the cursor to the beginning of the next line if the direction is forward or to the beginning of the current line if the direction is backward. If the direction is backward, pressing LINE again moves the cursor to the beginning of the previous line.
    KS Modifies the position of the cursor at the completion of the PASTE command.
PAGE   PAGE
PAGETOP
Moves the cursor to the right of the next page marker or to the next form-feed character. If you have no page markers (defined with the SET ENTITY PAGE command), the PAGE entity is the whole buffer.
    TOP Moves the cursor to the top of the screen.
Right arrow
key
  Right arrow
key
Moves the cursor one character to the right, regardless of of whether ADVANCE or BACKUP is in effect.
SECT   16L. Moves the cursor one section (16 lines) toward the end or the beginning of the buffer, depending on whether ADVANCE or BACKUP is in effect.
  SET CURSOR   Controls scrolling of the screen relative to the cursor position. This command has no effect if you are editing in line mode.
  SHOW CURSOR   Displays values set by the SET CURSOR command.
TOP   BR Moves the cursor to the first character at the beginning of the buffer.
Up arrow
key
  Up arrow
key
Moves the cursor up one line toward the top of the buffer regardless of of whether ADVANCE or BACKUP is in effect.
WORD   W Moves the cursor to the beginning of the next word in the current direction (forward or backward, depending on whether ADVANCE or BACKUP is in effect).

9.8.3 Inserting Text

The following table describes commands and keys that can be used to insert text:
Keypad Mode Line Mode Nokeypad Mode Description
Ctrl/L   ^L. Inserts a form-feed character (<FF>) into your text.
Ctrl/M   ^M. Inserts a carriage-return character (<CR>) into your text.
Ctrl/R Ctrl/R REF Clears and redraws the screen display (in keypad mode) or line (in line mode), eliminating any extraneous characters or messages. The current text you are editing remains unchanged. In keypad mode, Ctrl/R is identical to Ctrl/W.
Ctrl/W   REF Clears and redraws the screen display (in keypad mode) or line (in line mode), eliminating any extraneous characters or messages. The current text you are editing remains unchanged.
  Ctrl/Z Ctrl/Z Completes the insert operation and returns EDT to the command state. Used with the INSERT (nokeypad I) and REPLACE (nokeypad R) commands.
FILL (VT100)
Ctrl/F (VT52)
FILL FILL
FILLSR
Takes a select range of lines and reorganizes the text so that the maximum number of whole words can fit within the current line width. In line mode, fills a selected range of lines.
  INCLUDE   Copies external files into the EDT text buffer. In line mode, EDT displays an asterisk (*) prompt when the INCLUDE command finishes copying the file. In keypad or nokeypad mode, the included text appears on the screen.
OPEN LINE INSERT I [Return] Inserts a line terminator in the text you are editing at the current cursor position and makes the line terminator the new cursor character.
  INSERT I Adds text to the current or specified buffer.
SPECINS   ASC (ASCII)
Circumflex (^)
Enables you to insert any character from the DEC Multinational character set into your text, using the character's decimal equivalent value (see Appendix B). The circumflex (^) works only for characters with decimal values 0 to 31.

9.8.4 Deleting and Restoring Text

The following table describes commands and keys that can be used to delete and restore text:
Keypad Mode Line Mode Nokeypad Mode Description
Ctrl/U   DBL Deletes everything from the character to the left of the cursor to the beginning of the line.
  DELETE D Deletes a line or group of lines, depending on the range that you specify. If you do not specify a buffer or a range, EDT deletes the current line. If you specify a buffer but not a range, EDT moves to that buffer and deletes its entire contents.
DEL C DELETE DC Deletes the character on which the cursor is positioned.
    D-C Deletes the character to the left of the cursor.
    D+C Deletes the character to the right of the cursor.
DEL EOL DELETE DEL Deletes everything on a line from the current cursor position up to, but not including, the line terminator.
DEL L DELETE D+NL Deletes everything on a line from the current cursor position up to and including the line terminator.
DEL W DELETE DEW Deletes words or parts of words.
LINEFEED   DBW Deletes the word or characters in a word to the left of the cursor up to the beginning of the previous word.
REPLACE REPLACE R (Replace) In keypad mode, deletes text in the select range and replaces it with the contents of the PASTE buffer. In line and nokeypad mode, deletes the lines specified by range from the current or specified buffer and replaces the deleted lines with text that you enter at the terminal.
UND C   UNDC Inserts the current contents of the delete character buffer into text to the left of the cursor.
UND L   UNDL Inserts the current contents of the delete line buffer into text to the left of the cursor.
UND W   UNDW Inserts the current contents of the delete word buffer into text to the left of the cursor.

9.8.5 Locating Text

The following table describes commands and keys that can be used to locate text:
Keypad Mode Line Mode Nokeypad Mode Description
ADVANCE   ADV Sets the direction for subsequent editing work to forward (to the right of the cursor and down toward the end of the buffer).
BACKUP   BACK Sets the direction for subsequent editing work to backward (to the left of the cursor and toward the beginning of the buffer).
    CLSS Clears the text string currently in the search buffer.
FIND FIND "string"
^@.
Searches for specified text.
FNDNXT FIND "" "" Searches for the next occurrence of a string defined by the FIND command.
RESET   RESET Cancels the active select range, sets the direction to advance, and sets EDT to the DMOV (default move) state.
    DESEL Cancels the active select range.
    TGSEL Combines the SEL and DESEL commands. When there is an active select range, the TGSEL command cancels it, performing the same function as the DESEL command. When there is no active select range, TGSEL initiates the process of creating a select range, just as the SEL command does.
SELECT   SEL Sets up a select range for use with keypad functions such as APPEND, CHNGCASE, CUT, FILL, REPLACE, SUBS, and Ctrl/T.
    SSEL Finds a string and designates it as a select range.
  SET SEARCH   Determines how EDT locates strings during your editing sessions.
  SHOW SEARCH   Indicates the search parameters EDT uses to locate strings in text.

9.8.6 Substituting Text

The following table describes commands and keys that can be used to substitute text:
Keypad Mode Line Mode Nokeypad Mode Description
SUBS SUBSTITUTE S In keypad mode, replaces the current search string with the contents of the PASTE buffer. In line and nokeypad mode, replaces one string with another throughout the specified range.
  SUBSTITUTE NEXT SN Searches for the next occurrence of a string and replaces it with another string. This command uses strings that have been stored in the search buffer and in the substitute buffer.

9.8.7 Moving Text

The following table describes commands and keys that can be used to move text:
Keypad Mode Line Mode Nokeypad Mode Description
APPEND   APPEND Deletes the select range (keypad mode) or specified entity (nokeypad mode) from the current buffer and adds it to the end of either the PASTE buffer (the default) or the specified buffer.
  COPY   Copies the specified text to the specified location. You can copy a range of text from one location to another within the same buffer, or you can copy to and from different buffers, creating new buffers as appropriate. No text is deleted. The /DUPLICATE qualifier enables you to copy the specified text n times.
CUT   CUT In keypad mode, removes the active select range from the current buffer and stores it in the PASTE buffer. In nokeypad mode, removes the specified entity from the text buffer and stores it in another specified buffer.
CUT + PASTE MOVE CUT + PASTE Moves lines from one location to another within the current buffer or from one buffer to another. The lines are deleted from their original position and are inserted at the new location.
PASTE COPY
MOVE
PASTE Copies or moves text within a buffer. In keypad mode, PASTE copies the PASTE buffer contents into the current buffer. In nokeypad mode, PASTE copies the contents of any buffer into the current buffer.

9.8.8 Indenting Text

The following table describes commands and keys that can be used to indent text:
Keypad Mode Line Mode Nokeypad Mode Description
Ctrl/A   TC (Tab Compute) Establishes a tab position and resets the indentation level. The indentation level is the number of columns, starting at the left of the screen, that you want to leave blank before beginning a line of text. To use this command, the current cursor position must be a multiple of the SET TAB value.
Ctrl/D   TD (Tab Decrement) Decreases the current indentation level count by one setting. The indentation level count is generally set by the Ctrl/A or TC (Tab Compute) command.
Ctrl/E   TI (Tab Increment) Increases the current indentation level count by one setting. The indentation level count is generally set by the Ctrl/A or TC (Tab Compute) command.
Ctrl/T TAB ADJUST TADJ (Tab Adjust) Uses the value established by the line-mode SET TAB command to indent lines of text in a select range. Requires SET TAB to be in effect.
  SET TAB
SHOW TAB
  Establishes the SET TAB value for the various tabbing functions (tab compute, tab adjust, tab increment, and tab decrement). SHOW TAB indicates the SET TAB value and the tab indentation level count.
    SHL (Shift Left) Moves the entire buffer text eight characters (one tab stop) to the left.
    SHR (Shift Right) Moves the entire buffer text eight characters (one tab stop) to the right.
TAB
Ctrl/I
  TAB Moves text to the right, regardless of whether ADVANCE or BACKUP are in effect. The number of column positions that the text moves depends on the cursor position, the value set by the SET TAB command (if one is in effect), and the indentation level count (if one is in effect).

9.8.9 Changing the Case of Text

The following table describes commands and keys that can be used to change the case of text:
Keypad Mode Line Mode Nokeypad Mode Description
CHNGCASE   CHGC Changes the case of letters in your text. Uppercase letters become lowercase; lowercase letters become uppercase.
    CHGL Changes all uppercase letters within the specified entity to be lowercase. Letters that are already lowercase remain unchanged.
    CHGU Changes all lowercase letters within the specified entity to be uppercase. Letters that are already uppercase remain unchanged.
    DLWC Changes uppercase letters to lowercase wherever the cursor is moved.
    DUPC Changes lowercase letters to uppercase wherever the cursor is moved.
    DMOV Returns the editing session to the default state after you use either DLWC (default lowercase) or DUPC (default uppercase).
  SET CASE
SHOW CASE
  Uses flags to distinguish uppercase and lowercase letters at a single-case terminal. SHOW CASE indicates which case (upper, lower, or none) has been established by the SET CASE command.

9.8.10 Using Multiple Buffers

The following table describes commands and keys that can be used when using multiple buffers:
Keypad Mode Line Mode Nokeypad Mode Description
  CLEAR   Deletes the contents of the specified buffer.
  SHOW BUFFER   Lists all accessible buffers currently in your EDT session.


Previous Next Contents Index

[Site home] [Send comments] [Help with this site] [How to order documentation] [OpenVMS site] [Compaq site]
[OpenVMS documentation]

Copyright © Compaq Computer Corporation 1998. All rights reserved.

Legal
6489PRO_020.HTML