The following information describes the use of LSE commands by task and function.
1 – Edit Sessions
ATTACH
allows you to switch control of your terminal to another
process.
CONTINUE
exits line mode and enters keypad mode.
DCL
executes a DCL command from within your editing session
DO
executes LSE commands or VAXTPU program statements.
EXIT
terminates an edit session, returns to the calling
program, and saves buffers.
GOTO COMMAND
produces the LSE Command> prompt at which LSE or SCA commands
can be issued.
QUIT
terminates an edit session and returns to the calling
program without saving buffers.
REPEAT repeat-count [command]
executes a specified command a specified number of times.
SET DEFAULT_DIRECTORY
changes your default device and directory specifications.
SET FONT
sets the specified fonts for the screen.
SET JOURNALING
enables buffer journaling for the specified buffers.
SET NOJOURNALING
disables buffer journaling for the specified buffers.
SPAWN
suspends the edit session and spawns a subprocess at the
DCL level.
2 – Entering Code
ENTER COMMENT
converts pseudocode into comments.
ENTER PSEUDOCODE
inserts pseudocode placeholder delimiters.
EXPAND
expands the token name at the current cursor position.
ERASE PLACEHOLDER
deletes placeholder text and related punctuation.
GOTO PLACEHOLDER
moves the cursor to a placeholder
MODIFY LANGUAGE
modifies the characteristics of a specified language.
SET AUTO_ERASE
enables automatic erasing of placeholders.
SET LANGUAGE
sets the specified language associated with the specified
buffer
SET NOAUTO_ERASE
disables automatic erasing of placeholders.
SET NOLANGUAGE
disassociates the language associated with the indicated buffer.
UNDO ENTER COMMENT
reverses the effect of the last ENTER COMMENT command.
UNERASE PLACEHOLDER
restores placeholder text to its original postion.
UNEXPAND
reverses the effect of the last EXPAND command.
3 – Text Manipulation
CANCEL SELECT_MARK
cancels the select range of the SET SELECT_MARK command.
CAPITALIZE WORD
capitalizes the first letter of the current word, or words,
in a selected range.
CENTER LINE
centers the current line between the left and right margins.
CHANGE CASE
changes the case (upper/lower) of each letter in the specified
range.
CHANGE DIRECTION
changes the current direction of the current buffer.
CHANGE INDENTATION
adds or deletes leading blanks or tabs in the select range.
CHANGE TEXT_ENTRY_MODE
changes the edit mode (insert/overstrike) of the current buffer.
CUT
deletes and moves text in the select range to the current
buffer.
ENTER LINE
inserts a blank line at the end of a line and repositions the
cursor to it.
ENTER SPACE
inserts a blank character and performs a fill at the current
cursor position.
ENTER SPECIAL [ASCII-code]
inserts a specified ASCII character in decimal at the current
cursor position.
ENTER TAB
inserts tabs and blanks at the current cursor position.
ENTER TEXT quoted-string
inserts a specified string at the current cursor position.
ERASE CHARACTER
deletes a character from the current buffer.
ERASE LINE
deletes a line of text from the current buffer.
ERASE PLACEHOLDER
deletes placeholder text and related punctuation.
ERASE SELECTION
removes the text within the selected range.
ERASE WORD
deletes a word from the current buffer.
EXPAND
replaces placeholders, token, alias, or routine names at the
current cursor position with appropriate text or code.
FILL
fills the line in the select range.
LOWERCASE WORD
changes the letters in the current word to lowercase.
PASTE
copies the contents of the paste buffer to the current
buffer.
QUOTE
enters a control code or other character, either as text in
the buffer you are editing or as a string command
SELECT ALL
selects the entire contents of the current buffer.
SET AUTO_ERASE
enables automatic erasing of placeholders.
SET FORWARD
sets the direction of the current buffer forward.
SET INSERT
sets the text entry mode of the current buffer to insert
mode.
SET NOAUTO_ERASE
disables automatic erasing of placeholders.
SET NOWRAP
disables wrapping in the indicated buffer.
SET OVERSTRIKE
sets the text entry mode of the current buffer to overstrike
mode.
SET REVERSE
sets the direction of the current buffer to reverse.
SET SELECT_MARK
marks a position as one end of a select mark.
SET WRAP
enables wrapping in the indicated buffer.
SPELL
runs DECspell to check the currently selected text or the entire
buffer.
SUBSTITUTE quoted-search-string quoted-replace-string
searches for a specified string and replaces it with a
specified string.
TAB
inserts blanks and tabs to move cursor to current indentation
level or next tab stop.
TOGGLE SELECT_MARK
sets and resets the state of SELECT_MARK.
UNERASE erase-command-option
restores text deleted by an ERASE command option.
UNEXPAND
reverses the effect of the last EXPAND command.
UNTAB
removes blanks and tabs to the left of the cursor moving the
cursor to the previous tab stop.
UPPERCASE WORD
changes the current word to uppercase.
4 – Compile and Review
COMPILE
compiles the contents of a buffer without leaving LSE
END REVIEW
ends an LSE REVIEW session.
GOTO SOURCE
displays the source related to the current diagnostic or
query item.
GOTO REVIEW
moves to the currently active review session.
NEXT ERROR
selects the next diagnostic in the current set.
PREVIOUS ERROR
selects the previous diagnostic in the current set.
REVIEW
selects and displays a set of diagnostic messages resulting
from a compilation.
5 – CMS Interface
CMS [cms-command]
enables the execution of CMS command within
LSE.
GOTO FILE
moves the cursor to the buffer containing the
specified file.
GOTO SOURCE
moves from a dignostic or symbol in a review
or query buffer to the related item in the
associated source buffer.
READ
opens a specified file for input and places
its contents in a specified buffer.
RESERVE [element-name]
Reserves the element specified in your current
CMS library.
REPLACE
Replaces the element (with the same specification
as the input file for your current buffer) into
your current CMS library.
SET CMS
sets the default values for reservations and fetches
that LSE performs.
SET MODIFY
sets buffer status to modifiable.
SET SOURCE_DIRECTORY
specifies a search list of directories for your
CMS source files.
UNRESERVE
unreserves the element specified by the last
RESERVE command.
6 – Indenting Code
CHANGE INDENTATION
adds or deletes leading blanks or tabs in the select
range.
ENTER TAB
inserts indentation at the beginning of a line or a
tab at the cursor position.
SET INDENTATION
changes the inentation level for the buffer.
SET TAB_INCREMENT
specifies the number of columns between tab stops.
TAB
inserts blanks and tabs to move cursor to current indentation
level or next tab stop.
UNTAB
removes blanks and tabs to the left of the cursor moving the
cursor to the previous tab stop.
7 – Cursor Movement
CANCEL MARK
disassociates a mark and deletes the specified name.
CHANGE DIRECTION
changes cursor direction (forward/reverse) through the
current buffer.
GOTO BOTTOM
moves the cursor to the bottom of the current buffer.
GOTO BUFFER
moves to the last cursor position held in the specified
buffer.
GOTO CHARACTER
moves the cursor to the next character.
GOTO FILE file-spec
moves the cursor to the last position held in the buffer
specified by the file-spec.
GOTO LINE
moves the cursor to the next line.
GOTO MARK
moves the cursor to the mark-name specified by the SET MARK
command.
GOTO PAGE
moves the cursor to the next page.
GOTO PLACEHOLDER
moves the cursor to the next placeholder.
GOTO SCREEN
moves the cursor the current direction by the number of
lines in the current window.
GOTO SOURCE
moves to the source associated with the current diagnostic
or query item.
GOTO TOP
moves the cursor to the top of the current buffer.
GOTO WORD
moves the cursor to the next word in the current buffer.
LINE
moves the cursor in the current buffer to the start of the source
line you specify.
NEXT ERROR
selects the next diagnostic in the current set.
PREVIOUS ERROR
selects the previous diagnostic in the current set.
SEARCH quoted-string
moves the cursor to a specified string in the current buffer.
SET CURSOR
selects either bound cursor motion or free cursor motion.
SET FORWARD
sets the current buffer direction forward.
SET MARK
specifies a name at the current cursor position for a GOTO MARK
command.
SET REVERSE
sets the current buffer direction backward.
SET SEARCH
sets text search options.
8 – Screen Control
CHANGE WINDOW_MODE
alters the number of displayed windows.
DELETE WINDOW
deletes the current window.
ENLARGE WINDOW
enlarges the current window.
GOTO BUFFER
moves the cursor to the last position held in
the specified buffer.
GOTO FILE
moves the cursor to a buffer containing the
specified file.
GOTO SCREEN
moves the cursor in the current direction by the
number of lines in the current window.
GOTO SOURCE
uses the current cursor position in the review or query buffer
to select an associated diagnostic or item in the related source
buffer.
NEXT WINDOW
selects the alternate window.
ONE WINDOW
deletes all but the current window.
OTHER WINDOW
moves the cursor from the current window to the next
window if the screen is split into multiple windows
PREVIOUS WINDOW
selects the alternate window.
REFRESH
rewrites the display screen
SET SCREEN
defines the display screen characteristics.
SET SCROLL_MARGINS
delimits the lines at which the cursor triggers
scrolling.
SHIFT
scrolls a window horizontally.
SHRINK WINDOW
shrinks the current window.
SPLIT WINDOW
divides the current window into two or more
windows.
TWO WINDOWS
splits the current window into two windows.
9 – Tailor Environments
CALL
evokes a specified VAXTPU procedure.
DEFINE ALIAS
specifies the alias name to be defined in the specified
language.
DEFINE ADJUSTMENT
defines the behavior of the LSE viewing commands
on individual lines of a source file.
DEFINE COMMAND
specifies a user command or an abbreviation for an LSE
command.
DEFINE KEY
binds an LSE command to a key.
DEFINE KEYWORDS
defines the indicated keyword list.
DEFINE LANGUAGE
specifies the characteristics of a language.
DEFINE PACKAGE
specifies a subroutine package for which call templates
are automaically generated.
DEFINE PARAMETER
specifies a parameter within a specified package.
DEFINE PLACEHOLDER
specifies a placeholder and characteristics for a specified
language.
DEFINE ROUTINE
specifies templates for a routine within a package.
DEFINE TOKEN
specifies a token and characteristics for a specified
language.
DELETE ALIAS
deletes the definition of an alias name.
DELETE ADJUSTMENT
removes a name from the list of adjustments associated
with a language.
DELETE COMMAND
deletes the definition of a user-defined command.
DELETE KEY
deletes the definition of a specified key.
DELETE KEYWORDS
cancels the indicated keywords definition.
DELETE LANGUAGE
deletes the definition of a specified language.
DELETE PACKAGE
deletes the definition of a specified package.
DELETE PARAMETER
deletes the definition of a specified parameter.
DELETE PLACEHOLDER
deletes the definition of a specified placeholder.
DELETE ROUTINE
deletes the definition of a specified routine.
DELETE TOKEN
deletes the definition of a specified token.
DO
executes LSE commands or VAXTPU program statements.
END DEFINE
terminates a DEFINE TOKEN or DEFINE PLACEHOLDER command.
EXTEND
compiles one or more VAXTPU procedures to extend LSE.
EXTRACT ADJUSTMENT
extracts the definition of the named adjustment and formats
the definition as a command.
EXTRACT ALIAS
selects the definition of the alias name and formats
it as a command.
EXTRACT KEYWORDS
extracts the definition of the named keyword list and
formats the definition as a command.
EXTRACT LANGUAGE
selects the definition of the named language and formats it
as a command.
EXTRACT MODULE
extracts specified modules of source analysis data from an
SCA library.
EXTRACT PACKAGE
extracts the definition of the named package and
formats the definition as a command.
EXTRACT PARAMETER
extracts the definition of the named parameter and
formats the definition as a command.
EXTRACT PLACEHOLDER
extracts the definition of the named placeholder and
formats the definition as a command.
EXTRACT ROUTINE
extracts the definition of the named routine and
formats the definition as a command.
EXTRACT TAG
extracts the definition of the named tag and
formats the definition as a command.
EXTRACT TOKEN
extracts the definition of the named token and
formats the definition as a command.
MODIFY LANGUAGE name
modifies the characteristics of a specified language.
SAVE SECTION
writes the binary form of current key definitions, learn
sequences, user-defined commands, mode settings, and VAXTPU
procedures and variables to a section file.
SAVE ENVIRONMENT
writes all user-defined languages, tokens, and placeholders
to a specified file.
SET MODE
changes the setting of the BELL, KEYPAD, and MENU modes.
SET SEARCH
sets text search options.
10 – Files and Buffers
CHANGE TEXT_ENTRY_MODE
switches the text entry mode between insert and overstrike.
CLOSE BUFFER
deletes the current buffer
CUT
moves selected text to a specified buffer.
DELETE BUFFER
deletes a specified buffer.
GOTO BUFFER
moves to the specified buffer.
GOTO FILE
moves to a buffer containing the specified file or reads
the file into a new buffer.
GOTO SOURCE
moves to the source associated with the current diagnostic
message or query item.
INCLUDE
inserts the specified file at the current cursor position.
NEXT BUFFER
moves your next buffer into the current window, returning
to your last position in that buffer.
PASTE
copies the contents of a specified buffer to the current
cursor position in the current buffer.
PREVIOUS BUFFER
moves your previous buffer into the current window,
returning to your last position in that buffer.
READ file-spec
inputs a specified file to the current buffer.
RECOVER BUFFER
reconstructs the contents of a buffer from a buffer change
journal file.
SET DEFAULT_DIRECTORY
changes your default device and directory specifications.
SET DIRECTORY
sets the default read-only/writeable status of files in
a specified directory.
SET FORWARD
sets the direction of the specified buffer to forward.
SET INDENTATION
changes the indentation level for the current buffer.
SET INSERT
sets the text entry mode of the specified buffer to insert
mode.
SET LEFT_MARGIN
specifies the left margin of the current buffer for FILL
and ENTER SPACE commands.
SET MODIFY
sets buffer status to modifiable.
SET NOMODIFY
sets buffer to unmodifiable (display-only).
SET NOSOURCE_DIRECTORY
specifies a directory to be removed from the list of source
directories.
SET OUTPUT_FILE
changes the output file associated with the current buffer.
SET OVERSTRIKE
sets the text entry mode of the specified buffer to overstrike
mode.
SET READ_ONLY
specifies that following a COMPILE command or an exit from
LSE, the buffer not be written to a file.
SET REVERSE
sets the direction of the specified buffer backward.
SET RIGHT_MARGIN
specifies the right margin for FILL and ENTER SPACE commands.
SET SOURCE_DIRECTORY
specifies a search list of source file directories.
SET TAB_INCREMENT
specifies the number of columns between tab stops for the
current buffer.
SET WRAP
enables wrapping in the indicated buffer.
SHOW BUFFER
displays specified buffer characteristics.
WRITE
writes the contents of the specified buffer or select range
to a specified file.
11 – Help and Status
HELP [topic-list]
displays information about a specified topic.
SHOW ADJUSTMENT
displays the characteristics of indicated adjustments.
SHOW ALIAS
displays the characteristics of the specified alias.
SHOW BUFFER
displays the characteristics of the specified buffer.
SHOW CMS
displays the current SET CMS settings.
SHOW DEFAULT_DIRECTORY
displays the current default device and directory.
SHOW COMMAND
displays the characteristics of the specified user-defined
command.
SHOW DIRECTORY
displays the setting of the SET DIRECTORY command.
SHOW KEY
displays the characteristics of the specified keyboard
binding.
SHOW KEYWORDS
displays the characteristics of the specified keyword.
SHOW LANGUAGE
displays the characteristics of the specified language.
SHOW LIBRARY
displays the directory specifications of SCA libraries.
SHOW MARK
displays the setting of the specified mark.
SHOW MODE
Displays the current mode settings.
SHOW MODULE
displays SCA library module information.
SHOW PACKAGE
displays the characteristics of the specified package.
SHOW PARAMETER
displays the characteristics of the specified parameter.
SHOW PLACEHOLDER
displays the characteristics of the specified placeholder.
SHOW QUERY
displays information about current SCA query sessions.
SHOW ROUTINE
displays the characteristics of the specified routine.
SHOW SCREEN
displays information about current SCA query sessions.
SHOW SEARCH
displays the settings of text search options.
SHOW SOURCE_DIRECTORY
displays the directories set by the SET SOURCE_DIRECTORY
command.
SHOW SUMMARY
shows statistics and other information about LSE.
SHOW TAG
displays the characteristics of indicated tags.
SHOW TOKEN
displays the characteristics of the specified token.
SHOW VERSION
displays the current version of LSE and SCA.
WHAT LINE
shows the current line number and total number of lines
in the buffer. Also shows what percentage of the lines
in the buffer are located above the current line.