1 KEYPAD
Enter the keypad editor through the CHANGE command with the keypad
option set (see SET KEYPAD command).  See HELP CHANGE KEYPAD for more
information.
2 VT100
[H[J)0lqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqk      lqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqk
x   ^    x  Down  x[7mFind Nxt[mx[7m  Swap  [mx      x[7m        [mx        x[7m Und W  [mx[7m Und C  [mx
x   x    x   x    x <qqqqq x qqqqq> x      x[7m  Gold  [mx        x        x        x
x   Up   x   v    x  Left  x  Right x      x[7m        [mx  Page  x Del W  x Del C  x
mqqqqqqqqvqqqqqqqqvqqqqqqqqvqqqqqqqqj      tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqqu
[7m   [m for GOLD key sequence, [4m   [m for CTRL/keyx        x        x[7mUnd Line[mx[7m Append [mx
                                           x        x        x        x        x
[7m B [m Bottom of buffer  [7m M [m Goto MAIN buffer x  Sent  xMove 8 CxDel Linex   Cut  x
[7m D [m Dead key	      [7m N [m New page mark	   tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqqu
[7m F [m Finish edit	      [7mO,W[m Write a file	   x[7mSpec Ins[mx[7mWrap Par[mx        x[7mReplace [mx
[7mI,R[m Input a file      [7m S [m Global substitutex        x        x        x        x
[7mK,Q[m Abort edit	      [7m T [m Top of buffer	   x  Word  x  Para  x        x  Paste x
[7m L [m Goto last buffer  [7m V [m Select buffer	   tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqqu
                                           x[7mPrev Scn[mx[7mDel EOL [mx[7m L Case [mx        x
[4m B [m Back a word	      [4m J [m Delete prev. wordx        x        x        x[7m  Swap  [mx
[4m D [m Back a character  [4m M [m Open a line	   x  Back  x  Line  xUpper C x        x
[4m E [m End of line	      [4m P [m Cut to buffer    tqqqqqqqqvqqqqqqqqnqqqqqqqqu        x
[4m F [m Forward a char    [4mR,W[m Repaint screen   x[7m   Next Screen   [mx[7m  Reset [mx        x
[4m G [m Paste from buffer [7;4m W [m Flip screen widthx                 x        x   <>   x
[4m H [m Back a line	      [4m Z [m Goto line mode   x     Advance     x Select x        x
                                           mqqqqqqqqqqqqqqqqqvqqqqqqqqvqqqqqqqqj
[1mType a key for help on that key; space bar exits; DO gets function key help.[m[22H
3 002
[7mGO BACK A WORD - (CTRL/B)[m

The CTRL/B key will move the cursor backward a word.

[7mGO BACK TO END OF WORD - (GOLD CTRL/B)[m

Similar to go back a word, but goes back one more character to the end of the 
previous word.
3 004
[7mGO BACK A CHARACTER - (CTRL/D)[m

This key moves the cursor backward one character.
3 005
[7mEND OF LINE - (CTRL/E)[m

The end of line key moves the cursor to the end of the current line, either 
forward or backward depending on the direction pointer.
3 006
[7mFORWARD CHARACTER - (CTRL/F)[m

This key will move the cursor forward one character.

[7mFORWARD TO END OF WORD - (GOLD CTRL/F)[m

Typing this key will move the cursor forward a word and back a character to 
the word's end.
3 007
[7mPASTE FROM BUFFER - (CTRL/G)[m

This command will insert at the cursor position the contents of a buffer 
entered from the keyboard. For a list of current buffers, hit the DO key and 
enter SHOW BUFFERS.

[7mREPLACE WITH BUFFER - (GOLD CTRL/G)[m

This command will replace a selected region of text with the contents of a 
buffer entered by the user from the keyboard.
3 008
[7mGO BACK A LINE - (CTRL/H)[m

The go back a line will move the cursor backward to the previous line.
3 009
[7mTAB INSERT - (CTRL/I or TAB)[m

Moves the cursor in one of two ways:

    1.  If the tab size has not been set with SET TAB or using the RULER or if
	the cursor is not at the beginning of the line, a tab character is
	inserted at the cursor position.

    2.  If the tab size has been set with SET TAB or using the RULER and if the
	cursor is at the beginning of the line, a number of tab characters and
	spaces are inserted to move the cursor to the column position that is
	equal to the SET TAB value times the indentation level count.

[7mADVANCE EIGHT CHARACTERS - (GOLD CTRL/I or GOLD TAB)[m

Moves the cursor eight characters depending on the direction flag.
3 010
[7mDELETE TO BEGINNING OF WORD - (CTRL/J or LINEFEED)[m

Used to delete all characters from the cursor position to the beginning of the
word containing the cursor.  If the cursor is on the first character of a word,
the previous word is deleted.

[7mDELETE TO BEGINNING OF SENTENCE - (GOLD CTRL/J or GOLD LINEFEED)[m

Used to delete all characters from the cursor position to the beginning of the
sentence containing the cursor.  If the cursor is on the first character of a
sentence, the previous sentence is deleted.
3 011
[7mDEFINE KEY - (GOLD CTRL/K)[m

Use this key to define a key in EDT.
3 012
[7mINSERT A FORM-FEED - (CTRL/L)[m

Inserts a form-feed (<FF>) into the text.

[7mCHANGE TEXT TO LOWER CASE - (GOLD CTRL/L)[m

Changes the selected region of text to lower case.
3 013
[7mRETURN or (CTRL/M)[m

Inserts a <CR> into the text.

[7mOPEN A LINE - GOLD RETURN or (GOLD CTRL/M)[m

This key sequence inserts a carriage return after the cursor into the text.
3 016
[7mCUT TO BUFFER - (CTRL/P)[m

Removes the selected text to a buffer named by the user.

[7mCOPY TO BUFFER - (GOLD CTRL/P)[m

Makes a copy of the selected text and places it in a buffer named by the user.
3 018
[7mREFRESH - (CTRL/R)[m

Refreshes the screen display.  The screen becomes blank and then the characters
in the buffer reappear, minus extraneous characters, such as system messages.
The cursor remains in the same location.
3 021
[7mDELETE TO BEGINNING OF LINE - (CTRL/U)[m

Deletes from the cursor position to the beginning of the current line, placing 
the line segment in the deleted line buffer.

[7mCHANGE REGION TO UPPER CASE - (GOLD CTRL/U)[m

Changes the selected region of text to all upper case.
3 023
[7mREFRESH - (CTRL/W)[m

Refreshes the screen display.  The screen becomes blank and then the characters
in the buffer reappear, minus extraneous characters, such as system messages.
The cursor remains in the same location.

[7mTOGGLE SCREEN WIDTH - (GOLD CTRL/W)[m

Toggles the width of the terminal between 80 and 132 columns; each time the 
opposite of the current width.
3 026
[7mGO TO LINE MODE - (CTRL/Z)[m

Leaves screen-based screen mode to run in EDT line mode.

[7mFINISH EDIT - (GOLD CTRL/Z)[m

Completes the editing session and writes out the modified file.
3 034
[7mREPLACE TEXT - (GOLD ")[m

Replaces the selected range of text with the contents of the paste buffer. The 
contents of the paste buffer is not changed.
3 039
[7mREPLACE TEXT - (GOLD ')[m

Replaces the selected range of text with the contents of the paste buffer. The 
contents of the paste buffer is not changed.
3 044
[7mSEARCH - (GOLD ,)[m

Allows entry of a text string to find in the current buffer. Use the advance 
key (keypad-0) for a forward search, backward key (keypad-1) for a reverse 
search.
3 046
[7mCONTINUE SEARCH - (GOLD .)[m

Does another search for the text entered with the last search command.
3 047
[7mCONTINUE SEARCH AND SELECT - (GOLD /)[m

Does another search for the current search string, and selects the string if 
found.
3 059
[7mGLOBAL REPLACE - (GOLD ;)[m

Allows replacement of all occurances of one text string for another in a 
buffer.
3 066
[7mBOTTOM OF DOCUMENT - (GOLD B)[m

Moves the cursor to the bottom of the document being edited.
3 068
[7mDEAD KEY - (GOLD D)[m

Has no definition, allowing completion of unwanted GOLD-key sequences.
3 070
[7mFILE DOCUMENT - (GOLD F)[m

Files the edited document, and ends the editing session.
3 072
[7mHELP - (GOLD H)[m

Accesses the HELP file that you are now viewing.
3 073
[7mINPUT FILE - (GOLD I)[m

Brings in a file to a buffer entered by the user.
3 075
[7mKILL - (GOLD K)[m

Prompts you to confirm that you wish to discard the current modified copy of the
document you are editing and to end the editing session.
3 076
[7mLAST BUFFER - (GOLD L)[m

Switches the screen back to the last buffer accessed.
3 077
[7mMAIN BUFFER - (GOLD M)[m

Switches the screen to the MAIN editing buffer.
3 078
[7mNEW PAGE - (GOLD N)[m

Inserts a -New Page- mark into the text.  This is a "permanent" page marker that
will not be removed by the automatic pagination function.
3 079
[7mOUTPUT FILE - (GOLD O)[m

Writes out to a file from a buffer selected by the user.
3 080
[7mPAGE MARKER - (GOLD P)[m

Inserts a -Page Marker- into the text.  This is a "temporary" page marker that
will be removed by the pagination function if it occurs before a full page of
text has been scanned.  When the pagination function counts 54 text lines
without encountering a page marker, it will insert this page marker after
the 54th line.
3 081
[7mQUIT - (GOLD Q)[m

Prompts you to confirm that you wish to discard the current modified copy of the
document you are editing and to end the editing session.
3 082
[7mREAD FILE - (GOLD R)[m

Brings in a file to a buffer entered by the user.
3 084
[7mTOP OF DOCUMENT - (GOLD T)[m

Moves the cursor to the top of the document being edited.
3 087
[7mWRITE FILE - (GOLD W)[m

Writes out to a file from a buffer selected by the user.
3 091
[7mENTER COMMAND - (GOLD [)[m

Gets the "EDT Command: " prompt to allow entry of an EDT line mode command.
3 092
[7mINSERT DATE AND TIME - (GOLD \)[m

Inserts at the current cursor position a date and time stamp.
3 093
[7mNO CASE CONVERSION - (GOLD ])[m

Cancels the effect of case conversion on cursor movement enabled by GOLD ^
(select uppercase) or GOLD _ (select lowercase).
3 094
[7mSELECT UPPERCASE - (GOLD ^)[m

In this mode, all text that the cursor passes over is converted to upper case.
3 095
[7mSELECT LOWERCASE - (GOLD _)[m

In this mode, all text that the cursor passes over is converted to lower case.
3 123
[7mENTER COMMAND - (GOLD {)[m

Gets the "EDT Command: " prompt to allow entry of an EDT line mode command.
3 124
[7mINSERT DATE AND TIME - (GOLD |)[m

Inserts at the current cursor position a date and time stamp.
3 127
[7mRUBOUT CHAR - (DELETE)[m

Deletes the character preceding the cursor and stores it in the delete character
buffer.  When the cursor is at the leftmost character position on a line, the
line terminator to the left is deleted and the text on that line is moved to the
right of the text in the line above.

[7mRUBOUT LINE - (GOLD DELETE)[m

Deletes the text to the left of the cursor and stores it in the delete line
buffer.  When the cursor is at the leftmost character position on a line, the
previous line is deleted.
3 300
[7mADVANCE - (0)[m

Sets the current direction to advance for the WORD, LINE, PARAGRAPH, PAGE,
SEARCH, CONT. SEARCH, REPLACE and CONT. SEARCH AND SELECT keys.  Advance means
the movement will occur in the direction toward the end of the file, that is,
to the right and down. 

[7mNEXT SCREEN - (GOLD 0)[m

Moves the cursor 21 lines forward, placing the text that was on the last line
of the screen on the first line of the screen.
3 301
[7mBACKUP - (1)[m

Sets the current direction to backup for the WORD, LINE, PARAGRAPH, PAGE,
SEARCH, CONT. SEARCH, REPLACE and CONT. SEARCH AND SELECT keys. Backup means
cursor movement will occur in the direction of the beginning of the file, that
is, to the left and up. 

[7mPREVIOUS SCREEN - (GOLD 1)[m

Moves the cursor 21 lines back, placing the text that was on the first line of
the screen on the last line of the screen.
3 302
[7mLINE - (2)[m

Moves the cursor forward or backward to the nearest end of line, depending on
current direction (see ADVANCE and BACKUP).

[7mDELETE TO END OF LINE- (GOLD 2)[m

Deletes from the cursor to the end of the line, placing the deleted line 
segment in the deleted line buffer.
3 303
[7mUPPER CASE - (3)[m

Changes the character under the cursor to Upper Case.  If the WORD, PARAGRAPH,
LINE, SENTENCE, PAGE, GOLD T or GOLD B keys are pressed, all the characters in
the selected entities will be changed to Upper Case until a non-entity key
(suggest ADVANCE or BACKUP) is pressed.  If a range of characters is first
selected, this key applies Upper Case to all of the characters in the selected
range.

[7mLOWER CASE - (GOLD 3)[m

Functions exactly as UPPER CASE except that affected characters will be changed
to lower case.
3 304
[7mWORD - (4)[m

Moves the cursor forward or backward by a word (see ADVANCE and BACKUP). 

[7mSPECIAL INSERT - GOLD (4)[m

The special insert key inserts at the current cursor position the ASCII value 
of the repeat count entered. For example, to enter an escape character (ASCII 
27), enter GOLD 27 GOLD keypad-4.
3 305
[7mPARA - (5)[m 

Moves the cursor forward or backward to the beginning of the next paragraph.
A paragraph is defined by a delimiter string, which can be set by the SET
ENTITY command.  The default paragraph delimiter is two carriage return
characters together, indicating a blank line.

[7mWRAP PARA  - (GOLD 5)[m

Cause the paragraph containing the cursor to be word wrapped again as if the
paragraph had been SELECTed and then GOLD W had been typed.
3 307
[7mSENTENCE - (7)[m

Moves the cursor forward or backward to the beginning of the next sentence.  A
sentence is defined by a delimiter string, which can be set by the SET ENTITY
command.  The default sentence delimiters are the form feed character, the
period, the colon and the semicolon. 
3 308
[7mMOVE 8 CHARACTERS - (8)[m

Moves the cursor forward or backward eight characters.
3 309
[7mDELETE LINE - (9)[m

Deletes from the cursor to the end of the line along with the line's carriage 
return. The deleted line is stored in the deleted line buffer.

[7mUNDELETE LINE - (GOLD 9)[m

Restores the line segment stored in the deleted line buffer at the current 
cursor position.
3 310
[7mPAGE - (PF2)[m

Moves the cursor forwards or backwards to the next occurrence of a -Page Marker-
or a -New Page-.

[7mAUTO PAGE - (GOLD PF2)[m

Causes pagination to take place.  The cursor moves backward to the first
occurrence of a -Page Marker- or a -New Page- or the beginning of the document.
It then moves forward until it passes over 54 lines of text or until it
encounters a -New Page-, removing any -Page Marker-s it finds as it moves.  If
movement stops because of line count then a -Page Marker- will be inserted into
the document at that point.
3 311
[7mDELETE WORD - (PF3)[m 

Deletes text from the cursor to the beginning of the next word, storing the
text in the delete word buffer.   

[7mUNDELETE WORD - (GOLD PF3)[m

Inserts the contents of the delete word buffer to the left of the cursor.   
3 312
[7mUP-ARROW[m

The ^ (up-arrow) key moves the cursor to the character above, in the same 
column or to the end of the line above.

[7mLAST BUFFER - GOLD UP-ARROW[m

Moves the cursor to the previously selected editing buffer.
3 313
[7mDOWN-ARROW[m

The v (down-arrow) key moves the cursor to the character below, in the same
column or to the end of the line below.

[7mLAST BUFFER - GOLD DOWN-ARROW[m

Moves the cursor to the previously selected editing buffer.
3 314
[7mRIGHT-ARROW[m

The --> (right-arrow) key moves the cursor to the next character.

[7mSWAP - (GOLD RIGHT-ARROW)[m

Swaps the position of the character the cursor is on and the character
immediately following the cursor.  If you type "teh", place the cursor on the
"e", and press SWAP, the result will be "the".
3 315
[7mLEFT-ARROW[m

The <-- (left-arrow) key moves the cursor to the preceding character.

[7mSEARCH AGAIN - (GOLD LEFT-ARROW)[m

Searches again for last entered search string.
3 316
[7mSELECT - (.)[m

Marks one end of a select range.  A select range is a block of text on which
various operations (such as CUT, APPEND, or FILL) can be performed.  To create a
select range:

    1.  Move the cursor to either the beginning or end of the text you
        wish to select.
    2.  Press the SELECT key.
    3.  Move the cursor to the opposite end of the text.

You can then perform the desired operation on the range.

[7mRESET - (GOLD .)[m

Cancels the effect of the GOLD key if it was pressed by mistake, cancels a
select range, or cancels any partly entered command string.  Also sets the
current direction to forward.
3 317
[7mDELETE CHARACTER - (PF4)[m

Deletes the character on which the cursor is positioned and saves it in the
delete character buffer.

[7mUNDELETE CHARACTER - (GOLD PF4)[m

Inserts the contents of the delete character buffer to the left of the cursor.  
3 318
[7mCUT - (-)[m

Deletes the select range, storing it in a paste buffer.  The select range is
all the text between the selected position (see SELECT) and the current cursor
position.  If you have not selected a range and the cursor is positioned on the
current search  string, that string is cut.  The previous content of the paste
buffer is lost. 

[7mAPPEND - (GOLD -)[m

Appends the select range to the contents of the paste buffer. The select range
is all the text between the selected position (see SELECT) and the current
cursor position. If you have not selected a range and the cursor is positioned
on the current search string, that string is cut. 
3 319
[7mPASTE - (,)[m

Inserts the contents of a paste buffer to the left of the cursor position. 

[7mREPLACE - GOLD (,)[m

Replaces the selected range of text with the contents of the paste buffer. The 
contents of the paste buffer is not changed.
3 320
[7mGOLD - (PF1)[m

Lets you use the lower (alternate) function of the editing keys. Press the GOLD
key, then the key you wish to use.

You can also use the GOLD key to enter counts or alternate buffer numbers for
the CUT, APPEND, and PASTE functions.  Press GOLD and then the main keyboard
numeric keys, followed by the key to which the count should apply.  The DELETE
key and CTRL/U can be used to edit the number, and thus cannot have a count
applied to them in this manner.  The SPECINS key treats the count as the code
for a character to be inserted.

The GOLD key is used with main keyboard keys for additional editing functions.
For help on "GOLD character" (for example, GOLD A), press the character's key on
the main keyboard.
3 321
[7m<> - (ENTER)[m

Searches for the next occurrence of a ">" character.  The cursor is positioned
the character after the ">".

[7mSWAP - (GOLD ENTER)[m

Swaps the position of the character the cursor is on and the character
immediately following the cursor.  If you type "teh", place the cursor on the
"e", and press SWAP, the result will be "the".
3 401
[7mFIND[m

Searches for an occurrence of a string.  Press the FIND key and then enter the
string using the main keyboard.  End the string by pressing either the ADVANCE
or BACKUP key to set the direction of the search.

[7mSUBSTITUTE AND SEARCH - (GOLD FIND)[m

Replaces the currently found string with the contents of the paste buffer, and 
searches for another occurance.
3 402
[7mINSERT HERE[m

Inserts the contents of a paste buffer to the left of the cursor position. 

[7mINSERT MARK - (GOLD INSERT-HERE)[m

Inserts a file marker that may be found again later with GOLD REMOVE.
3 403
[7mREMOVE[m

Deletes the select range, storing it in a paste buffer.  The select range is
all the text between the selected position (see SELECT) and the current cursor
position.  If you have not selected a range and the cursor is positioned on the
current search  string, that string is cut.  The previous content of the paste
buffer is lost. 

[7mFIND MARK - (GOLD REMOVE)[m

Finds and removes a file mark inserted with GOLD INSERT-HERE. Obeys the 
direction flag set by BACK and ADVANCE.
3 404
[7mSELECT[m

Marks one end of a select range.  A select range is a block of text on which
various operations (such as REMOVE, APPEND, or FILL) can be performed.  To
create a select range:

    1.  Move the cursor to either the beginning or end of the text you
        wish to select.
    2.  Press the SELECT key.
    3.  Move the cursor to the opposite end of the text.

You can then perform the desired operation on the range.

[7mSELECT BUFFER - (GOLD SELECT)[m

Asks for a buffer to display on the screen and become the current editing 
buffer.
3 405
[7mPREVIOUS SCREEN[m

Moves the cursor 16 lines (one section) backward.  The cursor is moved to the
beginning of the appropriate line.

[7mTOP OF BUFFER - (GOLD PREVIOUS-SCREEN)[m

GOLD PREV-SCREEN key moves the cursor to the top of the current buffer.
3 406
[7mNEXT SCREEN[m

Moves the cursor 16 lines (one section) forward.  The cursor is moved to the
beginning of the appropriate line.

[7mEND OF BUFFER - (GOLD NEXT-SCREEN)[m

Moves the cursor to the bottom of the current buffer. 
3 419
[7mQUIT - (F8)[m

Prompts you to confirm that you wish to discard the current modified copy of the
document you are editing and to end the editing session.
3 420
[7mMAIN BUFFER - (F9)[m

Switches the screen to the MAIN editing buffer.
3 421
[7mFINISH EDIT - (F10)[m

Completes the editing session and leaves EDT.
3 424
[7mGO BACK A LINE - (F12)[m

The go back a line will move the cursor backward to the previous line.
3 425
[7mDELETE TO BEGINNING OF WORD - (F13)[m

Used to delete all characters from the cursor position to the beginning of the
word containing the cursor.  If the cursor is on the first character of a word,
the previous word is deleted.

[7mDELETE TO BEGINNING OF SENTENCE - (GOLD F13)[m

Used to delete all characters from the cursor position to the beginning of the
sentence containing the cursor.  If the cursor is on the first character of a
sentence, the previous sentence is deleted.
3 428
[7mHELP [m

Use the HELP key to obtain help on the editing keypad.
3 429
[H[J)0   (F6)     (F7)     (F8)     (F9)     (F10)
lqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqk    lqqqqqqqqwqqqqqqqqqqqqqqqqqk
x        x        x        x        x        x    x        x                 x
x        x        x        x        x        x    x        x                 x
x        x        x  Quit  xMain Scnx  Exit  x    x  Help  x Do EDT Command  x
mqqqqqqqqvqqqqqqqqvqqqqqqqqvqqqqqqqqvqqqqqqqqj    mqqqqqqqqvqqqqqqqqqqqqqqqqqj
   (F11)    (F12)    (F13)    (F14)
lqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqk		  lqqqqqqqqwqqqqqqqqwqqqqqqqqk
x        x        x[7mDelBSent[mx        x		  x[7mSub&Srch[mx[7mSet Mark[mx[7mGet Mark[mx
x        x        x        x        x		  x        x        x        x
x        xBackLinexDelBWordx        x		  x  Find  x Insert x Remove x
mqqqqqqqqvqqqqqqqqvqqqqqqqqvqqqqqqqqj		  tqqqqqqqqnqqqqqqqqnqqqqqqqqu
   (F17)    (F18)    (F19)    (F20)		  x[7mGet Bufr[mx[7mTop Bufr[mx[7mEnd Bufr[mx
lqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqk		  x        x        x        x
x[7mNextChar[mx[7mNextWord[mx[7mNextLine[mx[7mNextPara[mx		  x Select xPrev ScnxNext Scnx
x        x        x        x        x		  mqqqqqqqqvqqqqqqqqvqqqqqqqqj
xSwapCharxSwapWordxSwapLinexSwapParax
mqqqqqqqqvqqqqqqqqvqqqqqqqqvqqqqqqqqj[m
3 431
[7mSWAP PREVIOUS CHARACTERS - (F17)[m

Swaps the two characters to the left of the cursor.

[7mSWAP NEXT CHARACTERS - (GOLD F17)[m

Swaps the two characters to the right of the cursor.
3 432
[7mSWAP PREVIOUS WORDS - (F18)[m

Swaps the two words to the left of the cursor.

[7mSWAP NEXT WORDS - (GOLD F18)[m

Swaps the two words to the right of the cursor.
3 433
[7mSWAP PREVIOUS LINES - (F19)[m

Swaps the two lines to the left of the cursor.

[7mSWAP NEXT LINES - (GOLD F19)[m

Swaps the two lines to the right of the cursor.
3 434
[7mSWAP PREVIOUS PARAGRAPHS - (F20)[m

Swaps the two paragraphs to the left of the cursor.

[7mSWAP NEXT PARAGRAPHS - (GOLD F20)[m

Swaps the two paragraphs to the right of the cursor.
2 /QUERY
Format: /QUERY

When you use the QUERY (abbreviated /Q) qualifier, EDT prompts you with
a question mark (?) to verify each line to be moved.

Responses are:

    Y   Yes, move this line.
    N   No, do not move this line.
    Q   Quit, do not move any of the remaining lines in the range
    A   All, move all the rest of the lines.
1 CHANGE
The CHANGE command puts EDT in change mode.  Use change mode to edit at
the character level rather than the line level.

Format: CHANGE [range] [;nokeypad command(s)]

The optional range specifies the cursor position when you enter change
mode.  If you omit range, the current position is used.

There are three sub-modes of change mode.  Which sub-mode you use depends
on the type of terminal you are using and whether or not you wish to use
the auxiliary (numeric) keypad for editing commands.  These modes are:

    1.  Hardcopy mode
    2.  Keypad mode
    3.  Nokeypad mode

If the CHANGE command contains a semicolon (;) it may be followed by
nokeypad commands.  If the last nokeypad command is EX, EDT returns to
line mode for the next command line.  This is the only form of the
CHANGE command that may be used in a startup command file or macro.
2 ENTITIES
Entities are used in nokeypad mode commands to specify the text on
which a command will operate.  Each entity represents a portion of
text, which may be anything from a single character to an entire text
buffer.  Most entities can be preceded by a count, which indicates the
number of entities to be affected.
3 CHARACTER
The character entity is specified by the letter C.  It selects a single
character of text.
3 WORD
A word consists of a string of characters terminated by a set of
delimiter characters.  The default delimiter characters are spaces,
tabs, carriage returns, line terminators, line feeds, formfeeds, and
vertical tabs. Spaces are handled in a special way:  all spaces
following a word up to the first non-space character are considered part
of a word.  Other delimiters are not considered  part of the word they
terminate.  Rather, they are considered to be words by themselves,
unless SET WORD NODELIMITER in in effect. If SET WORD NODELIMITER is in
effect, delimiters are not considered words by themselves but are
considered part of the word they terminate. The three word entities are:

    W   Specifies the entire word in which the cursor is positioned.
    BW  Specifies all characters preceding the cursor up to the beginning
        of the word.
    EW  Specifies all characters from the cursor through the end of the
        word.

You can change the word delimiters with the SET ENTITY command.
3 LINE
The line entities are:

    L   Specifies the entire line in which the cursor is positioned.
    BL  Specifies all characters preceding the cursor up to the beginning
        of a line.  (When the cursor is positioned at the beginning of a
        line, the BL entity selects the entire previous line.)
    EL  Specifies all characters from the cursor to the end of a line,
        including the character on which the cursor is positioned.
        (If the cursor is on a line terminator, the entire next line is
        selected.)
    NL  Specifies all characters from the cursor to the beginning of the
        next line, including the character on which the cursor is
        positioned.
3 RANGE
The range entities specify all text in the buffer either before or after
the cursor.  The two range entities are:

    BR  Specifies the text from the cursor position to the beginning of
        the buffer.
    ER  Specifies the text from the cursor position to the end of the
        buffer.
3 SENTENCE
A sentence consists of a string of characters terminated by one of a set
of single character delimiters.  The default sentence delimiters are:
period (.), question mark (?), and exclamation point (!).  A sentence
delimiter is considered to be a delimiter only if it is at the end of a
line or if it is followed by a space.  The line terminator or trailing
spaces are considered a part of the sentence.  There are three sentence
entities:

    SEN   Specifies the entire sentence in which the cursor is positioned,
          including the delimiter and trailing spaces or line terminator.
    BSEN  Specifies all characters preceding the cursor in the current
          sentence.
    ESEN  Specifies all characters in the current sentence from the cursor
          to (but not including) the delimiter character.

The sentence delimiters can be changed by the SET ENTITY command.
3 PAGE
A page consists of all the text between two page delimiters, whether 
-New Page- or -Page Marker-.

    PAGE  Specifies all of the current page.
    BPAGE Specifies all characters in the current page from the character
          preceding the cursor to the beginning of the page.
    EPAGE Specifies all characters in the current page from the cursor to
          (but not including) the page delimiter.

3 PARAGRAPH
A paragraph consists of all the text between two paragraph delimiters,
including the trailing paragraph delimiter, and if SET PARAGRAPH WPS is
in effect, any adjacent delimiters. The default paragraph delimiter is
two consecutive line terminators. The three paragraph entities are:

    PAR   Specifies all of the current paragraph.
    BPAR  Specifies all characters in the current paragraph from the
          character preceding the cursor to the beginning of the paragraph.
    EPAR  Specifies all characters in the current paragraph from the cursor
          to (but not including) the paragraph delimiter.

You can change the paragraph delimiter with the SET ENTITY command.
3 SELECT
The select entity consists of all characters between the cursor and the
select mark.  The select mark must have been specified previously by a
SEL command.  The select range entity is specified by SR.  Some commands
use the search string when the SR entity is specified but no select
range has been created.
3 VERTICAL
The vertical entity is the same as the line entity, except that with the
V entity, the cursor stays in the same column.  You specify the vertical
entity with V.
3 STRING
The string entity consists of all the characters between the cursor and
the next occurrence of a specified search string.  Specify the string
entity by enclosing the desired search string in single or double
quotation marks. If the string is null (specified by '' or ""), the
previous search string is used again.

For key definitions, you may use the null character (character code 0)
in place of the quotation marks to avoid conflicts with the search
string.
2 HARDCOPY
On a hardcopy terminal, change mode operates this way:

When you enter change mode, EDT displays the current line on the
terminal. The cursor position is marked by bracketing the character on
which the cursor is positioned.  EDT will then prompt with the
characters:

    C*

In response, you type a series of nokeypad mode commands terminated by
pressing return.  EDT will execute the commands and type the current
line.
2 KEYPAD
You enter the keypad mode of change mode when your terminal is a
VT100 type or VT52 and the keypad option is set.  (This option is set by
default for these terminals.)  In this mode the terminal screen is used
to view the text buffer.  Characters typed using the main keyboard are
inserted into the buffer at the cursor position.  You enter editing
commands by using keys on the auxiliary keypad, function keys, or
control keys on the main keyboard.

For more help on keypad mode, type CHANGE to enter that mode.  Use the
keypad HELP facility as follows:

    1.  If your terminal is a VT100-type, press the keypad key marked PF2.
    2.  If your terminal is a VT52, press the red keypad key.
    3.  If your terminal has function keys, press the function key marked
        HELP.
2 NOKEYPAD
You enter the nokeypad mode of change mode if your terminal is a
VT100-type or VT52 and the SET NOKEYPAD command has been used to turn
off the keypad option.  The screen is used as a window into the text
buffer. You type nokeypad mode commands at the keyboard; they echo on
the bottom line of the screen.  EDT executes the commands and updates
the text on the screen whenever you press return.
2 SUBCOMMANDS
When EDT is in change mode and SET NOKEYPAD is in effect or your
terminal is set to HARDCOPY, EDT accepts a distinct set of commands
called the nokeypad mode commands.  You may concatenate a string of
these commands with or without spaces separating them.

Nokeypad commands take one of the following forms, depending on the
particular command:

    1.  command
    2.  [+|-][count]command
    3.  [+|-][count][command][+|-][count][+|-]entity[=buffer]

Whenever a sign can appear in more than one place, the last sign
specified determines the direction.
3 ADV
The ADV (advance) command sets the cursor direction to advance.  Many
nokeypad commands use the current direction to determine whether
entities to the left or to the right of the cursor are to be affected.
When the direction is forward, nokeypad commands affect the cursor
character and characters to the right.

Format: ADV
3 APPEND
The APPEND command works in the same way as the CUT command (see CUT)
except that it adds the new text to the end of the alternate buffer
instead of replacing its contents.

Format: [buf_no]APPEND[+|-][count][+|-]entity[=buffer]
3 ASC
The ASC nokeypad command inserts a specified character into the buffer
at the cursor position.  Use the count field to indicate the decimal
code of the character you want to insert.  Characters are coded using
the DEC Multinational Character Set; codes 0 to 127 are the same as
ASCII.

Format: [count]ASC

The ASC command is the only way to insert a carriage return into the
middle of a line of text; otherwise, insert commands always treat the
carriage return as a line terminator.  The following command would
insert a carriage return:

    13ASC   (13 is the code for carriage return)
3 BACK
The BACK command sets the cursor direction to backward.  Many nokeypad
commands use the current direction to determine whether entities to the
left or to the right of the cursor are to be affected.  When the
direction is backward, nokeypad commands affect characters to the left
of the cursor.

Format: BACK
3 BELL
The BELL command rings the bell on the terminal.  There is no effect on
the text buffer.

Format: BELL
3 CHGC
The CHGC command changes the case of every letter in the specified
number of entities: lowercase letters become uppercase and uppercase
become lowercase.

Format: [+|-][count]CHGC[+|-][count][+|-]entity

CHGCSR (change case of select region) works differently:  If there is no
select range, then if the current direction is forwards, the case of the
current character is changed, and the cursor is advanced one character.
If the current direction is backwards, then the cursor is moved back one
character before changing the case of the new character under the cursor.
If the [count] field is two or more, CHGCSR ignores the search string
condition.
3 CHGL
The CHGL command forces every letter in the specified range to
lowercase.

Format: [+|-][count]CHGL[+|-][count][+|-]entity

CHGLSR has the same special contingencies as CHGCSR, except that if there
is no select range, the default verb is also set to DLWC.
3 CHGU
The CHGU command forces every letter in the specified range to
uppercase.

Format: [+|-][count]CHGU[+|-][count][+|-]entity

CHGUSR has the same special contingencies as CHGCSR, except that if there
is no select range, the default verb is also set to DUPC.
3 CLSS
The CLSS command clears the search string buffer.
Format: CLSS
3 COPY
The COPY command copies a specified number of entities to an alternate text
buffer.  

Format: [buf_no]CUT[+|-][count][+|-]entity[=buffer]

If you do not specify a buffer, then paste buffer 0 is used.  A buffer can
be specified either by using the name of an alternate buffer, or preceding
the CUT command with the number of a paste buffer.
3 CUT
The CUT command deletes a specified number of entities and saves all the
deleted text in an alternate text buffer.  The command works exactly
like the DELETE command except that the text is saved in a paste buffer.

Format: [buf_no]CUT[+|-][count][+|-]entity[=buffer]

If you do not specify a buffer, then paste buffer 0 is used.  A buffer can
be specified either by using the name of an alternate buffer, or preceding
the CUT command with the number of a paste buffer.

Ex: CUTSR   Cut the selected range
    CUTPAGE Cut the current page of text
3 D
The D nokeypad command deletes a specified number of entities.

Format: [+|-][count]D[+|-][count][+|-]entity

If the entity is C, W, BW, EW, L, BL, EL, or NL, the last entity deleted
by the command is saved in the delete buffer associated with the entity
and can be restored with the UNDC, UNDW, or UNDL nokeypad command.

Ex: D15C    Deletes 15 characters in the current direction.
    DSR     Deletes the select range.
    DBR     Deletes to the beginning of the buffer.
3 DATE
The DATE command inserts the current date and time string into the
buffer at the current cursor position.

The form of the string is:  dd-MMM-yyyy hh:mm:ss .  Note the trailing
space.  Before the tenth of the month the dd is a space followed by a
single digit.  If you prefer the month abbreviation to be in lower case,
you can change it by backing up to the month and using CHGL.  This
command always uses the English abbreviations for month names.

Format: DATE
3 DEFK
The DEFK command can be used to reassign the define key function to
another re-definable keypad mode function key.
Format: DEFK
3 DESEL
The DESEL command cancels the current select range if one is active.  If
no select range is active the command has no effect.

Format: DESEL
3 DLWC
The DLWC (default lowercase) command sets the motion state to lowercase.
With this as the motion state moving the cursor over a lower case letter
changes it to upper case.  See DLWC and DMOV.

Format: DLWC
3 DMOV
The DMOV command returns the default motion state to unchanged.  With
this as the motion state moving the cursor over a letter does not change
its case.  See DLWC and DUPC.

Format: DMOV
3 DUPC
The DUPC (default uppercase) command sets the motion state to uppercase.
With this as the motion state moving the cursor over a lower case letter
changes it to upper case.  See DMOV and DLWC.

Format: DUPC
3 EX
The EX (exit) command exits from change mode to line mode.

Format: EX
3 EXT
The EXT (extend) command executes a line mode command while you are in
change mode.  EDT interprets the remainder of the command line as a line
mode command, executes the command, and re-enters change mode
automatically. The EXT command may not be used inside parentheses.

Format: EXT line mode command
3 FILL
The FILL command reformats a block of text so that as many complete
words as possible are placed on each line without exceeding the right
margin.  It sets the right margin to the terminal width minus 1
character by default.  

Format: [+|-][count]FILL[+|-][count][+|-]entity
3 FNDA
The FNDA command searches for the next ">" in the current direction,
positioning the cursor on the character after the ">".
Format: [+|-][count]FNDA
3 HELP
The HELP command can be used to reassign the help function to another
re-definable keypad mode function key.
3 I
The I command inserts new text into the buffer at the current cursor
position.

Format: Itext to be inserted^Z
    or: I
	text to be inserted
	^Z

If you plan to insert only a few characters, use the first form of the I
command.  If you plan to insert several lines use the second form.  With
the second form you can insert lines until you type control Z.  On
VT100-type terminals the I command remains at the bottom of the screen
to remind you that you are inserting text.  Only the first form of the I
command can be used in a key definition or after C; in a macro or
startup command file.

3 KS
The KS command modifies the cursor position after a PASTE command.

After a PASTE command, the cursor is on the character to the right of
the pasted text.  If PASTE is followed by KS, however, the cursor moves
to the last pasted character if the current direction is forward and to
the first pasted character if the direction is backward.  You should
only use the KS command immediately after a PASTE command.

Format: PASTE KS

Such cursor positioning affects a subsequent string search.  KS is used
in the definition of the keypad SUBS function so that the character that
follows the pasted text in the current direction is included in the next
string search.
3 MOVE
The "MOVE" command moves the cursor a specified number of entities. If
DLWC is in effect, all letters encountered are forced to lowercase. If
DUPC is in effect, all letters encountered are forced to uppercase. If
DMOV is in effect, no text is changed.  The "MOVE" command uses no
command word.

Format: [+|-][count][+|-]entity

If you use an explicit sign, the direction of the move is determined by
that sign (+ for forward, - for backward); otherwise, the current
direction mode (set by the ADV or BACK command) is used to determine the
direction.

Ex: +3W     Moves the cursor 3 words forward.
    L       Moves the cursor 1 line in the current direction.
    -PAGE   Moves the cursor backward to a page delimiter.
3 PASTE
The PASTE command copies the contents of an alternate buffer into the
current buffer at the cursor position.

Format: [buf_no]PASTE[=buffer]

If you do not specify a buffer, then paste buffer 0 is used.  A buffer can
be specified either by using the name of an alternate buffer, or preceding
the CUT command with the number of a paste buffer.
3 QUIT
The QUIT nokeypad command leaves the editor without saving any text buffers.
You will first be asked to confirm that you really do wish to leave the editor.
Pressing Y in reply will exit, whilst any other character will return you to
editor.  This will cause you to lose any editing you have done in this session
unless you used the WRITE command to save the text before quitting.

Format: QUIT
3 R
The R (replace) command deletes the specified entities and leaves you in
the insert state so you can enter the text that you want to replace the
deleted text with.

Format: [+|-][count]R[+|-][count][+|-]entity
3 REF
The REF command refreshes the screen.

Format: REF
3 S
The S command replaces occurrences of one string of characters with
another.

Format: [+|-][count]S/string-1/string-2/

The slashes represent any non-alphanumeric character used to delimit the
two strings.  S searches in the specified direction from the cursor and
finds an occurrence of string-1.  It deletes string-1 and inserts
string-2 in its place.

Ex: S/1988/1989/
3 SEL
The SEL command marks a portion of text that will be one end of a select
range. You create a select range by positioning to one end of the
desired text (either end will do), executing the SEL command, moving to
the other end of the desired text, and performing an operation on the SR
(select range) entity.  On VT100-type terminals the select range is
displayed in reverse video.

Format: SEL
3 SHIFT
Use the SHL (shift left) and SHR (shift right) commands to alter the
left margin when in change mode.  The left margin is the position of the
first character in each line on the screen.  Normally, the left margin
is 0, which means all characters are displayed.  If you use a SHL
command, the left margin can be changed by an integral number of tab
stops (8 characters).  If SHL is used once, the first 8 columns will not
be displayed on the screen.  This shifts the screen window horizontally.

Format: countSHL  (Shift left by count tab stops)
        countSHR  (Shift right by count tab stops)
3 SSEL
The SSEL (search and select) command searches for the occurrence of a
string and places the string in the select range.  The cursor remains at
the far end of the string.

Format: SSEL"string"
3 SN
The SN (substitute next) command performs a substitution using the same
search and replacement strings as the previous substitute command.

Format: [+|-][count]SN
3 TAB
Use the TAB nokeypad command when the line mode SET TAB command is in
effect.  The TAB command inserts the correct number of tabs and blanks
to position the cursor to the current tab level.  When SET NOTAB is in
effect, or when the cursor is not at the beginning of a line, this
command inserts an HT character, thus positioning the cursor to the next
tab stop.  Tab stops are every eight columns.

Format: TAB
3 TADJ
The TADJ command adjusts the tab level for the specified range of text.
The SET TAB value determines the tab size. The tab level is adjusted by
the value of count; it is incremented for a positive count and
decremented for a negative count.  A count not preceded by + or - is
assumed positive.  The TADJ tab setting is the product of the tab size
and the count.

Format: [+|-][count]TADJ[+|-][count]entity

Note that the + or - that precedes the first count is not used to modify
the direction of entity selection.  Its function in this command differs
in this way from all other nokeypad commands that use a similar format.
3 TC
The TC nokeypad command computes the tab level from the current cursor
position.  This command has meaning only if SET TAB is in effect.

Format: TC
3 TD
The TD nokeypad command decreases the tab level count.  This command has
meaning only if SET TAB is in effect.

Format: TD
3 TGSEL
The TGSEL command allows you to toggle select.  When the select range is
active, TGSEL will cancel it, and when no select range is active, TGSEL
will enable it, acting like the SEL command.

Format: TGSEL
3 TI
The TI nokeypad command increases the tab level counter.  This command
has meaning only if SET TAB is in effect.

Format: TI
3 TOP
The TOP command forces the line on which the cursor is positioned to the
top of the screen.  If there is less than a full screen of lines between
the current line and the end of the buffer, TOP has no effect. 

Format: TOP
3 UNDELETE
The UNDELETE commands restore the last entity deleted by a delete
command.

Format: UNDC  (undelete character)
        UNDW  (undelete word)
        UNDL  (undelete line)
3 ()
A sequence of nokeypad commands can also be enclosed in parentheses to
form a single unit.  A number preceding the left parenthesis indicates
the number of times to repeat the entire sequence.  The EXT nokeypad
command cannot appear inside parentheses.
3 ^
This command provides for the insertion of control characters in text.
EDT accepts a circumflex (^) followed by a letter from A to Z, an @, [,
\, ], ^ or _.  Each of these 32 characters is transformed into a control
character by subtracting 32 from its ASCII code, thus ^@ becomes NUL, ^A
becomes SOH, etc.

Format: [count]^[character]
1 CLEAR
The CLEAR (abbreviated CL) command deletes a buffer.

Format: CLEAR buffer

The buffer no longer appears on the list printed by SHOW BUFFER.  If the
buffer was a macro, it is no longer a macro.  If the buffer contained any
text, that text is deleted.  If that buffer was the current buffer, the
current buffer becomes MAIN.  There are two exceptions to these rules: the
buffers PASTE and MAIN.  The CLEAR command does not delete these buffers but
just deletes their text.  Note that the argument is a buffer name, not a range
specification:  CLEAR PASTE is valid, while CLEAR =PASTE and CLEAR BUFFER
PASTE are not.
1 COPY
The COPY (abbreviated CO) command copies text from one location to
another within a buffer or between buffers.  When text is copied, the
source text remains intact.

Format: COPY [range-1] TO [range-2] [/QUERY] [/DUPLICATE:n]

The lines specified by range-1 are copied above the first line specified
by range-2.  Either range defaults to the current line. Either range may
include a buffer specification.

If the destination is not the current buffer, put the name of the
receiving buffer immediately after TO (=buffer). Give the full name of
the buffer.  To copy text from an external file, see INCLUDE.
2 /DUPLICATE
Format: /DUPLICATE:n

When you use the /DUPLICATE (abbreviated /DUP) qualifier, the lines
specified by range-1 are duplicated n times.
2 /QUERY
Format: /QUERY

When you use the /QUERY (abbreviated /Q) qualifier, EDT prompts you with
a question mark (?) to verify each line to be copied.

Responses are:

    Y   Yes, copy this line
    N   No, do not copy this line
    Q   Quit, do not copy any of the remaining lines in the range
    A   All, copy all the rest of the lines
1 DEFINE
The DEFINE command (abbreviated DEF) defines either editing keys for
keypad mode or macros for line mode.
2 KEY
The DEFINE KEY (abbreviated DEF K) command creates definitions for
editing keys for use in keypad mode.  You can redefine keypad keys,
control key sequences and GOLD control key sequences.  You can also
define function keys, for terminals that have them.

Format: DEFINE KEY key-name AS 'string'
3 KEY-NAME
Format: DEFINE KEY key-name AS 'string'

Key-name is one of the following:

    [GOLD] [FUNCTION] number
    [GOLD] CONTROL character
    [GOLD] CONTROL "character"
    [GOLD] CONTROL 'character'
    [GOLD] DELETE
     GOLD  character
     GOLD  "character"
     GOLD  'character'

Number refers to keypad and function keys.  CONTROL character names
specific control keys (upper- and lowercase letters are considered
equivalent).  A character following CONTROL is limited to @, A to Z, [,
\, ], ^ and _.  DELETE refers to the delete key, which is not a control
character.  Character not following CONTROL can be any keyboard key
except 0-9, though - is not useful.  Characters !, %, ', and " must be
enclosed in quotation marks; other characters can be.
3 STRING

Format: DEFINE KEY key-name AS 'string'

The string is a string of nokeypad mode commands that define the
function of the key.  If you want the command to be executed when the
key is struck, the definition must end with a period. Otherwise, EDT
will accumulate definitions until the user types a key whose definition
ends with a period, and then execute them all together.
4 ?
You can use a question mark (?) or question mark and asterisk (?*), in
key definitions to prompt the user for input.  The ? is replaced by the
characters read from the terminal before the command is executed.  A
prompt string enclosed in single quotation marks may follow the ?.  A
response to an input request generated by a ? must be terminated by
pressing a keypad or function key, whereas a response to a ?* can be
terminated by pressing a keypad key, a function key or the return key.
4 RESET
If you define a key as 'RESET' (must be exactly five characters) the
key will perform the RESET keypad function.  RESET is not a nokeypad
command.  Do not put a period at the end of the definition.
4 GOLD
If you define a key as 'GOLD' the key will perform the GOLD keypad
function.  GOLD is not a nokeypad command.  Do not put a period at the
end of the definition.
3 EXAMPLES
To define the key CTRL/A to move 3 lines, use the following command:

  DEFINE KEY CONTROL A AS '3L.'

To define the GOLDed function of the up-arrow key to mean "go to top of
buffer," use the following command:

  DEFINE KEY GOLD 12 AS 'BR.'

To define the key CTRL/D to write your COBOL identification division
header for you, use the following command:

  DEFINE KEY CONTROL D AS 'iIDENTIFICATION DIVISION.^Z^MiPROGRAM-ID. ?^Z.'

(After pressing the key, type the program name.)

To define the CTRL/R  key to prompt for the name of a BLISS routine,
which it will then find, use the following command:

  DEFINE KEY CONTROL R AS "BR ADV 'ROUTINE ?'Routine name: ''."
3 VT100
+-------+-------+-------+-------+       +-------+-------+-------+-------+
|       |       |       |       |       |       |       |       |       |
|   12  |   13  |   15  |   14  |       |  20   |   10  |   11  |   17  |
|       |       |       |       |       |       |       |       |       |
+-------+-------+-------+-------+       +-------+-------+-------+-------+
                                        |       |       |       |       |
The diagram to the right shows the      |   7   |   8   |   9   |   18  |
numbers of the keypad keys on VT100     |       |       |       |       |
terminals for use in the DEFINE KEY     +-------+-------+-------+-------+
command.  Above are the numbers for     |       |       |       |       |
the arrow keys, for terminals that      |   4   |   5   |   6   |   19  |
do not have function keys.              |       |       |       |       |
                                        +-------+-------+-------+-------+
                                        |       |       |       |       |
                                        |   1   |   2   |   3   |       |
                                        |       |       |       |       |
                                        +-------+-------+-------+   21  |
                                        |               |       |       |
                                        |       0       |   16  |       |
                                        |               |       |       |
                                        +---------------+-------+-------+
3 FUNCTION-KEYS
               +--+--+--+--+--+--+--+--+--+--+--+--+-----+--+--+--+--+--+
               |17|18|19|20|21|  |23|24|25|26|  |28|  29 |  |31|32|33|34|
               +--+--+--+--+--+--+--+--+--+--+--+--+-----+--+--+--+--+--+

The diagram above and right shows the numbers   +--+--+--+
of the function keys.  When used with the       | 1| 2| 3|
DEFINE KEY command these numbers must be        +--+--+--+
preceded by the word FUNCTION.                  | 4| 5| 6|
                                                +--+--+--+
The diagram to the right shows how the arrow       +--+
keys are numbered on terminals which have          |12|
function keys.  These keys do not use the word  +--+--+--+
FUNCTION when defined using the DEFINE KEY      |15|13|14|
command.                                        +--+--+--+

2 MACRO
The DEFINE MACRO (abbreviated DEF M) command defines a line mode macro
command.

Format: DEFINE MACRO name

The name is the name of the text buffer in which the macro is stored.
The macro itself is a series of EDT line mode commands.  You invoke the
macro by giving its name in response to the line mode prompt.
1 DELETE
The DELETE (abbreviated D) command deletes the lines specified by the range.

Format: DELETE [range] [/QUERY]

If you do not specify the range, the default is the current line.
2 /QUERY
Format: /QUERY

When you use the QUERY (abbreviated /Q) qualifier, EDT prompts you with a
question mark (?) to verify each line to be deleted.

Responses are:

    Y   Yes, delete this line
    N   No, do not delete this line
    Q   Quit, do not delete any of the remaining lines in the range
    A   All, delete all the rest of the lines
1 EXIT
The EXIT (abbreviated EX) command terminates all action in the editor
and saves a copy of the MAIN text buffer in the output file.

Format: EXIT [file-spec] [/SEQUENCE:[init:incr]] [/SAVE]

If you omit the file specification, the output file name from the
command line that invoked EDT is used.  If no output file name has been
specified, and if /READ_ONLY and /NOOUTPUT have not been specified, then
the input file name is used.
2 /SAVE
When you use the /SAVE qualifier, the journal file is saved.  The
journal file is called 'name.JOU', where name is the output file name
from the command line. For information about the journal facility, see
HELP JOURNAL.
2 /SEQUENCE
Format: /SEQUENCE[:init:incr]

When you use the /SEQUENCE option, the output file is in VFC (variable
with fixed control) format, and line numbers are written in the control
field. The values of both 'init' and 'incr' must be less than 65536.

If you set init and incr, the file is renumbered starting with the number
you choose for init, and the lines are incremented by the number you
choose for incr.  Otherwise, the line numbers assigned by EDT are written.
These line numbers are truncated to integers and taken modulo 100000,
with a maximum value of 65535.
1 FILL
The FILL (abbreviated FIL) command reformats a block of text so that
there are as many full words on a line as possible without exceeding the
right margin.

Format: FILL [range]

The lines in the range must be contiguous.  If you omit the range, the
select range is assumed.
1 FIND
The FIND (abbreviated F) command places the cursor at the first line
specified by range.

Format: FIND [range]

The located line is not displayed.  To find and display a line, use the
TYPE command.

Ex: F=X.   Returns EDT to buffer X, to the line EDT was on when you last
           left buffer X.  Note the dot (.) after the buffer name.  This
           specifies the line that EDT was on when you last left buffer
           X.
1 HELP
You can get help on a topic by typing:

    HELP topic subtopic subsubtopic...

A topic can have one of the following forms:

    1. An alphanumeric string (e.g. a command name, option, etc.)
    2. The match-all or wildcard symbol (*)

Examples: HELP SUBSTITUTE NEXT
          HELP CHANGE SUBCOMMAND
          HELP CH

If a topic is abbreviated, HELP displays the text for all topics that
match the abbreviation.
1 INCLUDE
The INCLUDE (abbreviated INC) command copies external files into text
buffers.

Format: INCLUDE file-spec [range]

The specified file is copied to the location before the first line of
the range. Note that range specifies the position to which the file will
be copied; it does not restrict the portion of the file which will be
included.  To include part of a file, first INCLUDE the file into a
buffer; then COPY the desired portion of the included text into the
appropriate buffer.
1 INSERT
The INSERT (abbreviated I) command inserts new text into a text
buffer.

Format: INSERT [range] ;line to be inserted
    Or: INSERT [range]
        text to be inserted
        ^Z

The new text is inserted above the first line specified by range.  If
you omit range, new text is inserted above the current line.

If you choose the first form of the INSERT command, the text on the line
following the semicolon is inserted and the editor does not enter insert
mode.  This is the only form of the INSERT command that should be used
in a startup command file or macro.

If you choose the second form, EDT enters insert mode.  In insert mode,
you can enter as many lines of text as you wish, terminating each line
by pressing return.  Terminate insert mode by pressing CTRL/Z.

The line following the last line inserted becomes the current line.
1 JOURNAL
EDT saves all input from the terminal during an editing session in a
file called the journal file.   The journal file is deleted when you
exit the editor with an EXIT or QUIT command (without the /SAVE option).
If the editor is left involuntarily, the journal file is saved.

The journal file can be used to redo all the operations of an editing
session. The edited file is thereby recreated.  Type the same command
line used previously with the addition of the /RECOVER qualifier.  All
input files used in the original session must be available under the
same names as when they were first read.

Unless explicitly overridden by the /JOURNAL qualifier on the command
line, the journal file will have the same name as the output file,
except that the file type will be JOU and the file will be written in
the current default directory.
1 PRINT
The PRINT (abbreviated P) command creates a listing file with the
specified file name.

Format: PRINT file-spec [range]

The lines selected by range are written to a listing format file with
page headers.  If the NUMBERS option is set (see SET NUMBERS), the EDT
line numbers will appear on the listing.  If you omit range, the entire
current buffer is printed.  Print does not alter the current line.  Use
PRINT only to create a listing.  If you wish to create a file, use the
WRITE command.
1 QUIT
The QUIT command exits the editor without saving the contents of the
MAIN buffer.

Format: QUIT [/SAVE]

Use the QUIT command only if you have made no changes to the buffer you
are editing or if you have decided you do not wish to save the changes
you have made.  All edits will be discarded when you QUIT from the
editor.
2 /SAVE
The SAVE qualifier specifies that the journal file should be saved.
Normally, the journal file is deleted when you QUIT.
1 RANGE
Range specifications select the exact lines of text on which the line
editing command will operate.

There are several general classes of range specifications:

    1.  Single line ranges specify a single line of text.
    2.  Multiple line ranges specify blocks of text, such as an entire buffer
        or all lines from the current line to the end of the buffer.
    3.  Compound ranges combine single line ranges with operators to specify
        multiple lines of text.
    4.  Noncontiguous ranges specify multiple lines that are not necessarily
        adjacent to one another.
2 ALL
The ALL range further refines a general range specification.

Format: [range] ALL 'string'

While range can be a single, multiple, or compound range, the command
being performed will only apply to those lines of text containing the
given string. This string can be enclosed in single or double quotation
marks.

Ex: TYPE ALL 'EDT'          When ALL is used, the default for range is
                            WHOLE.  This command will type all the lines
                            in the current buffer containing the string
                            'EDT'.

    SUBS/A/B/50:100 ALL '1' Substitute B for A in all lines from 50 to
                            100 which include the string 1.
2 AND
The AND range selects a group of single lines.

Format: range-1 AND range-2 AND range3 ...
    Or: range-1 , range-2 , range3 ...

Each of the ranges must be a single line range.  Each of the single
lines is operated on.

Ex: TYPE 4 AND 7     Lines 4 and 7 are displayed on the terminal

    TYPE BEGIN,END-1 The first and last lines are displayed on the
                     terminal
2 BEGIN
The BEGIN range (abbreviated B) is a single line range that specifies
the first line in the buffer.
2 BEFORE
The BEFORE range (abbreviated BEF) is a multiple line range that
specifies all the lines in the buffer preceding the current line.
2 BUFFER
The BUFFER (abbreviated BU) specification may precede any other range
specification and indicates that the range is to be applied to a named
buffer.

Format: BUFFER name [range]
    Or: =name [range]

The two forms are equivalent.  Name is the name of the buffer in which
the text resides.  If you leave out the range, the entire buffer is
selected.
2 DOT
The dot (.) is a single line range that refers to the current line of
text. For many commands, dot is the default range.  See the help text
for a command if you are unsure of the default.

Ex: TYPE .    Display the current line.
2 END
The END (abbreviated E) range specifies an imaginary line following the
last line in the buffer.  END does not specify the last line in the
buffer.  The last line can be referred to by E-1 (that is, the line
preceding END).  When the END line is typed, it looks like:

[EOB]
2 FOR
The FOR range is a multiple line range that selects a specified number
of lines starting at a specified location.

Format: [range] FOR n
    Or: [range] # n

The two forms are equivalent.  Range is a single line range that
specifies the starting position, and n is an integer number.  If range
is omitted, the current line is the starting position.

Ex: TYPE . FOR 5      Display 5 lines, starting with the current line

    TYPE #5           Equivalent to the previous example

    TYPE BEGIN FOR 10 Display the first 10 lines in the buffer
2 LAST
The LAST (abbreviated L) range is a single line range that refers to the
line in the previous buffer which was the current line when you switched
to the current buffer.
2 MINUS
The minus sign (-) in ranges selects a single line that is a specified
number of lines before a specified line.

Format: [range] - [n]

Range is a single line range, and n is an integer.  The line selected is
the line that is n lines before the line specified by range.  If you
omit range, the current line is used; if you omit n, 1 is used.

Ex: TYPE 15 - 3     Display the third line before the line numbered 15.

    TYPE END -1     Display the last line in the buffer.

    TYPE -          Display the previous line.
2 NUMBER
A line number is a single line range that refers to the line having the
specified number.  The line number may contain a decimal point.

Ex: TYPE 10     Display line number 10.

    INSERT 65.3 Insert above line 65.3.

The maximum allowable line number is 2814749767.  A line number may have
up to five digits to the right of the decimal point.

You can change the line number with the RESEQUENCE command.  In
addition, the INSERT and INCLUDE commands will automatically change the
numbers of existing lines if necessary to make each line in a buffer to
have a line number larger than the previous line.

When lines are read from the primary input file and that file has
sequence numbers, the line number assigned is the sequence number from
the file, plus N*100000, where N is large enough to ensure that each
line in the buffer has a line number larger than the previous line.
File sequence numbers range in value from 0 to 65535.
2 PLUS
The plus sign selects, in ranges, a single line that is a specified
number of lines after a specified line.

Format: [range] + [n]

Range is a single line range, and n is an integer.  The line selected is
the line that is n lines after the line specified by range.  If you omit
range, the current line is used.  If you omit n, 1 is used.

Ex: TYPE 15 + 3     Display the third line after the line numbered 15.

    TYPE BEGIN +1   Display the second line in the buffer.

    TYPE +          Display the line following the current line.

    TYPE 'string'+2 Display the second line following the next line
                    containing 'string'.
2 REST
The REST (abbreviated R) range is a multiple line range that refers to
the current line and all lines following in the buffer.
2 SELECT
The SELECT range is a multiple line range that contains all lines
between the current line and the SELECT mark.  The SELECT mark is set by
the change mode SEL nokeypad command or the keypad SELECT function.
2 STRING
A quoted string specifies a single line that contains the  specified
string. You can enclose the string in either single or double quotation
marks (' or ").  When you use a string as a range, EDT will search
forward, starting with the current line, until it locates a line with
the specified string.  If a minus sign (-) precedes the string, the
search will be backward.

Ex: TYPE 'abc'  Locate and display the first line forward that contains
                the string 'abc'.

    TYPE -"abc" Same, except the search will be backward.
2 THRU
The THRU range is a compound range that specifies all lines between two
single line ranges.

Format: range-1 THRU range-2
    Or: range-1 : range-2

Both forms are equivalent.  Starting with range-1, EDT selects all the
lines up to and including the line specified by range-2.

Ex: TYPE 15:30       Display all lines with numbers between 15 and 30.

    TYPE 'glorp':END Display all lines from the first line forward
                     containing 'glorp' to the end.
2 WHOLE
The WHOLE (abbreviated W) range refers to the entire text buffer.
1 REPLACE
The REPLACE (abbreviated R) command deletes the specified range of lines
and then places EDT in INSERT mode.

Format: REPLACE [range] ;text to insert
    Or: REPLACE [range]
        text to insert
        ^Z

When you do not specify a range, replace deletes the current line and
inserts the new text at that location.

If you use the first form of the REPLACE command, EDT inserts the text
in the command line following the semicolon and the editor does not
enter insert mode.  This is the only form of the REPLACE command that
should be used in startup command files and macros.

If you use the second form, EDT enters insert mode.  In insert mode you
can enter as many lines of text as you wish, terminating each line with
a carriage return.  You terminate insert mode by pressing CTRL/Z.

The line following the last line inserted becomes the current line.
1 RESEQUENCE
The RESEQUENCE (abbreviated RES) command assigns new line numbers to a
range of lines.

Format: RESEQUENCE [range] [/SEQUENCE:init:incr]

The specified range of lines must be contiguous. When you do not specify
a range, all lines in the  current buffer are resequenced.  If the new
numbers assigned would cause duplicate or non-sequential line numbers,
EDT will either disallow the command or renumber lines beyond the
specified range.

Note that the total count of lines resequenced (which is displayed upon
completion of the command), may differ from the number of lines
originally specified in the range, due to the possibility of extra
renumbering.
2 /SEQUENCE
The SEQUENCE (abbreviated /SEQ) qualifier specifies the sequence of
numbers to be assigned.  The init parameter specifies the initial
number, and incr specifies the number by which the lines are
incremented.  If you do not use the SEQUENCE qualifier, init and incr
both default to 1.

The maximum allowable line number is 2814749767.  If, during
resequencing, a line number plus 'incr' would exceed this value, that
line and all remaining lines will be numbered 2814749767.  You should
correct this immediately by resequencing with a different 'init' and/or
smaller 'incr'.
1 SET
The SET (abbreviated SE) command sets options that control other editor
operations. Once set, these options are in effect throughout the rest of
the edit session or until changed by the SET command.
2 AUTOREPEAT
The SET AUTOREPEAT (abbreviated SE AUTOREPEAT) command enables EDT's use
of the DECARM VT100 control sequence to prevent keypad, function and
arrow keys from repeating faster than EDT can update the screen.  If you
do not want EDT to manipulate the VT100's autorepeat feature, use SET
NOAUTOREPEAT (abbreviated SE NOAUTOREPEAT).  On some VT100-class
terminals, SET AUTOREPEAT can cause the arrow keys to repeat at the rate
of 2 per second rather than the usual 30 per second.  With SET
NOAUTOREPEAT the arrow keys repeat faster, but the screen is not updated
for each repeat of the arrow key, since EDT skips intermediate updates
if it gets behind.

Format: SET [NO]AUTOREPEAT
2 CASE
Format: SET CASE { UPPER | LOWER | NONE }

Use the SET CASE (abbreviated SE CA) command on terminals which are
capable of displaying uppercase characters only.  SET CASE instructs EDT
to flag with a preceding apostrophe either the uppercase characters, the
lowercase characters, or neither.  The default for SET CASE is NONE,
which means no characters are flagged.

You can abbreviate the keywords as follows:

    CASE    CA
    UPPER   U
    LOWER   L
    NONE    N
2 COMMAND
Format: SET COMMAND file-specification

The SET COMMAND (abbreviated SE COMMAND) command is used in a startup
command file to specify the name of the next startup command file to
read.  EDT provides a default file type of ".EDT".  If the file is not
present this command does nothing; otherwise it causes the current
command file to be abandoned and the new one to be read in its place.
3 STARTUP
When EDT starts up, it reads the installation default startup command
file, SYS$LIBRARY:EDTSYS.EDT.

When opening the file, EDT combines the name and the default name
together into a complete file specification.  Therefore, if the logical
name EDTSYS is defined, EDT will read from it rather than from
SYS$LIBRARY:EDTSYS.EDT.

The installation default startup command file should have SET COMMAND
EDTINI at its end, so that the user's initialization file will be read
after the installation default initialization file.   If EDTSYS is not
found, EDT will try again using the name EDTINI, so there is no need for
an installation-default initialization file that just contains SET
COMMAND EDTINI.
2 CURSOR
Format: SET CURSOR top:bottom

The SET CURSOR (abbreviated SE CU) command, used with screen editing,
sets the limits within which the cursor is allowed to move without
scrolling the screen.

Top and bottom are the line numbers at the top of the screen and the
bottom of the screen.  The line numbers must be in the range of 0 to 21,
with 0 specifying the top of the screen and 21 the bottom.  The default
setting is 7:14, allowing the cursor to move within the middle third of
the screen.  If SET LINES is used to decrease the number of lines shown
on the screen, the top and bottom of the cursor limits must be within
the number of lines on the screen.
2 ENTITY
Format: SET ENTITY entity-type 'delimiter string'

Where entity-type is one of the following:

    WORD        (abbreviated W)
    SENTENCE    (abbreviated S)
    PAGE        (abbreviated PAG)
    PARAGRAPH   (abbreviated PAR)

The SET ENTITY (abbreviated SE EN) command sets the delimiters for the
user-defined change mode entities.  For the WORD and SENTENCE entities,
the delimiter string is a set of single character delimiters.  For PAGE
and PARAGRAPH, the delimiter is a character string that delimits the
entity.  See HELP CHANGE ENTITIES for explanations of the entities.
2 FNF
Format: SET [NO]FNF

The SET FNF option controls whether or not an informative message is
displayed when you attempt to edit a non-existing file.  NOFNF opens a
new file but gives no message.
2 HELP
Format: SET HELP [file-specification]

The SET HELP (abbreviated SE H) option lets you define which help file
will be accessed when you either give the HELP command or press the HELP
key in keypad mode.  The default device and directory are always as
specified below unless overridden by an explicit device and directory.  SET
HELP without a file specification returns you to the original default
help file.

The default help file is SYS$HELP:EDTHELP.HLB.

2 KEYPAD
Format: SET [NO]KEYPAD

The SET KEYPAD (abbreviated SE K) option controls whether or not the
editing keypad is to be used when you are in CHANGE mode.  KEYPAD is set
by default for VT100 and VT52 terminals, which means the alternate
keypad is used to enter change mode commands.  For terminals with
function keys, the function keys can also be used in KEYPAD mode.
2 LINES
The SET LINES (abbreviated SE L) command controls the number of screen
lines used in either of the screen versions of change mode.  Use this
option to reduce the time it takes to refresh the screen image when
editing on slow terminals.

Format: SET LINES n

where n is the number of lines to use.  n must be between 1 and 22.  By
default, n is set to 22 lines.  If the cursor limits are larger than n-1
they are reduced to n-1.  See SET CURSOR.
2 MODE
The SET MODE (abbreviated SE M) command determines which mode of editing
should be entered after all initial processing is complete.  This
command is useful only in the startup command file.

Format: SET MODE { LINE | CHANGE }

By default, EDT enters change mode when the startup processing is
complete, if using a terminal with DEC_CRT.
2 NUMBERS
Format: SET [NO]NUMBERS

The SET NUMBERS (abbreviated SE NU) command controls the display of line
numbers on the terminal.  Numbers are set off by default.  If you want to
enable numbers, use SET NUMBERS.
2 PARAGRAPH
Format: SET PARAGRAPH [NO]WPS

The SET PARAGRAPH (abbreviated SE PARA) command specifies a paragraph as
the text between two delimiters and including any adjacent delimiters
(WPS), or the text between two delimiters (NOWPS).
2 PROMPT
Format: SET PROMPT prompt-type 'string'

Where prompt-type is either LINE, KEYPAD, NOKEYPAD, HCCHANGE, INSERT,
INSERTN, or QUERY.

The SET PROMPT command allows redefinition of the prompt string that is
displayed in line mode, in keypad mode, in nokeypad mode, in hardcopy
change mode, in line mode when inserting, in line mode when inserting
with NONUMBERS, and with the /QUERY qualifier.

EDT will become confused if the new string for the keypad or nokeypad
prompt causes a net motion of the cursor.  If a <CR><LF> pair is not
included in the new string for any prompt which has it in the default
prompt, these characters will be inserted at the beginning of the new
string.
2 QUIET
The SET QUIET (abbreviated SE Q) command controls whether or not the
bell will sound when an error is made in change mode.

Format: SET [NO]QUIET

The quiet option is off (meaning the bell will sound) by default.
2 REPEAT
The SET REPEAT (abbreviated SE REP) command enables you to use the GOLD
key followed by digits to represent a count.  If you do not want the
ability to use counts, use SET NOREPEAT (abbreviated SE NOREP).  A
warning bell sounds if you attempt to use counts with NOREPEAT set.

Format: SET [NO]REPEAT

By default, REPEAT is enabled.
2 SCREEN
The SET SCREEN (abbreviated SE SC) command specifies the width of your
terminal.

Format: SET SCREEN w

where w is the width of the screen line.  By default, the screen width
is set to the terminal's width, as reported to EDT by the operating
system.  On VT100-type terminals you can set the width to 80 or 132, and
EDT will adjust the terminal appropriately.  On other CRT terminals you
should only use the terminal's fixed width: 80 for VT52s and 84 for
VK100s.
2 SEARCH
The SET SEARCH (abbreviated SE SE) command controls several options
related to string searching.

Format: SET SEARCH { GENERAL | EXACT | WPS |
                     CASE INSENSITIVE | CI |
                     DIACRITICAL INSENSITIVE | DI }
                   { [UN]BOUNDED }
                   { BEGIN | END }
3 GENERAL
The GENERAL option will cause the case of letters and the presence or
absence of diacritical marks to be ignored in search strings.
3 EXACT
The EXACT option will require all characters to match exactly, including
the case of letters and the presence of diacritical marks, in search
strings.
3 WPS
The WPS option will cause a case-independent string match for lowercase
letters in the search string, and a case-dependent match for uppercase
letters in the search string.  WPS is the default.
3 CI
The CI option will cause the case of letters to be ignored in search
strings, but not the presence of diacritical marks.  CI is an
abbreviation for CASE INSENSITIVE.
3 DI
The DI option will cause diacritical marks on letters to be ignored in
string searches, but not the case of the letters.  DI is an abbreviation
for DIACRITICAL INSENSITIVE.
3 BOUNDED
The BOUNDED (abbreviated BO) option will cause the search to be bounded
by a page delimiter.  By default, the search is unbounded, which means
that the entire buffer will be searched.  This option has effect only in
change mode.

The UNBOUNDED (abbreviated U) option causes the search not to be bounded
by a page delimiter, which means that the entire buffer will be
searched.  This is the default.  This option has effect only in change
mode.
3 BEGIN
The BEGIN (abbreviated B) option causes the cursor to be left at the
beginning of the search string when it is found. This is the default.
This option has effect only in change mode.
3 END
The END (abbreviated E) option causes the cursor to be left at the end
of the search string when it is found. By default, the cursor is left at
the beginning. This option has effect only in change mode.
2 SUMMARY
The SET [NO]SUMMARY command controls whether or not summary information
about a file written with the WRITE or EXIT commands will be typed out.
The default is NOSUMMARY, which means that no summary information is typed.

Format: SET [NO]SUMMARY

2 TAB
The SET TAB (abbreviated SE TA) command enables the structured tab
feature and sets the logical tab size.

Format: SET [NO]TAB n

where n is the number of columns in a logical tab stop.

With the structured tab feature, EDT keeps a counter of the tab level,
which is set to 1 when the SET TAB command is issued. When you use the
tab key in change mode at the beginning of a line, EDT inserts enough
tabs and spaces to move the cursor to the column defined by the level n
times the tab size.  Change mode nokeypad commands can alter the tab level.
The structured tab feature is disabled by default.

The tab size set by the tab command is also used by the TABS ADJUST
command.
2 TERMINAL
Format: SET TERMINAL { HCPY | VT100 | VT52 }
                     { SCROLL | NOSCROLL }
                     { EDIT | NOEDIT }
                     { EIGHTBIT | NOEIGHTBIT }

The SET TERMINAL (abbreviated SE TE) command identifies to EDT the type
of terminal you are using.  Normally, EDT will set the terminal type by
asking the operating system what type it is.  If it does not appear to
have set the type correctly, you can use the SHOW TERMINAL command to
see what EDT thinks your terminal is and the SET TERMINAL command to
correct it if necessary.  If your terminal is not a VT100 or a VT52, it
should be set to HCPY (hardcopy).
3 HCPY
HCPY stands for hardcopy.  EDT considers a terminal hardcopy if it is
not a VT100 or a VT52.  On such terminals change mode does not use the
screen as a window onto your buffer, but instead shows you the current
line with the cursor position indicated.  You type NOKEYPAD commands and
EDT will keep you informed by printing the current line after each
command.
3 VT100
The VT100 is a family of terminals, all based on the original VT100
terminal. This class of terminals includes the VT101, VT102, VT125,
VT131 and VT132.
3 VT52
The VT52 terminal is the predecessor of the VT100 family.  It does not
have reverse video, and has fewer keys in its keypad.
3 SCROLL
This option indicates that your terminal has scrolling regions and EDT
may use them.  This is the default for most VT100 terminals.
3 NOSCROLL
This option indicates that either your terminal does not have scrolling
regions or EDT should not use them.  This is the default for VT52
terminals.
3 EDIT
This option indicates that your terminal has the screen editing features
of the VT102.  These are IL (insert line), DL (delete line), ICM (insert
character mode) and DCH (delete characters).
3 NOEDIT
This option indicates that your terminal does not have the screen
editing features of the VT102.
3 EIGHTBIT
This option indicates that your terminal contains the DEC Multinational
Character Set, which extends ASCII to include letters with diacritical
marks and other characters used in Europe.
3 NOEIGHTBIT
This option indicates that your terminal does not contain the DEC
Multinational character set.  On such a terminal characters which cannot
be displayed directly are displayed using <>.
2 TEXT
Format:  SET TEXT text-type 'string'

Text-type is one of the following:

    MARK
    PAGE
    END

The SET TEXT command allows you to define the displayed string to
indicate a new page (SET TEXT PAGE), a page marker (SET TEXT PAGE) and
end of the buffer (SET TEXT END).  The string can not contain control
or escape characters.
2 TRUNCATE
The SET TRUNCATE (abbreviated SE TR) command controls the handling of
long lines in change mode.

Format: SET [NO]TRUNCATE

By default, truncate mode is set, which means long lines will be
truncated on the display (the actual text is not altered).  If you turn
off truncate mode by using SET NOTRUNCATE, long lines will be wrapped to
as many screen lines as are necessary to display the entire line.
2 VERIFY
The SET VERIFY (abbreviated SE V) command controls the listing of
commands that are executed from the startup command file or from a
macro.

Format: SET [NO]VERIFY

Verify is off by default, which means the lines are not typed.  If you
turn it on, each command line is typed as it is executed.
2 WORD
Format: SET WORD [NO]DELIMITER

The SET WORD (abbreviated SE W) command enables you to specify that the
word delimiters be considered words by themselves (DELIMITER), or
considered as part of the word they delimit (NODELIMITER).  The default
is NODELIMITER.

2 WRAP
Format: SET [NO]WRAP n

The SET WRAP (abbreviated SE W) command enables word wrapping and
specifies the right margin.  Word wrapping is a feature of EDT that
automatically insert carriage returns when the text you are typing
exceeds the right margin.  Word wrapping is in effect in change mode
only and only if you have used the SET WRAP command.

The SET WRAP command also sets the right margin for the nokeypad mode
FILL command.

SET NOWRAP (abbreviated SE NOW) disables the word wrapping feature.
1 SHOW
Format: SHOW parameter

The SHOW (abbreviated SH) command displays selected information on the
current state of the editor.  Parameter is one of the additional topics
listed below.
2 AUTOREPEAT
Format: SHOW AUTOREPEAT

The SHOW AUTOREPEAT command displays whether EDT is allowed to
manipulate the Autorepeat feature of VT100-type terminals or not.  See
SET AUTOREPEAT for more information.
2 BUFFER
Format: SHOW BUFFER

The SHOW BUFFER (abbreviated SH BU) command lists the buffers being used
during the edit session, including the number of lines of text in each
buffer. The current  buffer is marked by an  equal sign (=) before the
name.  If an asterisk follows the number of lines, it indicates that an
input file is connected to the buffer and that there are more lines to
be read from the file. Thus, the line count is not accurate.
2 CASE
Format: SHOW CASE

The SHOW CASE (abbreviated SH CA) command shows the current case setting
(upper, lower, or none).
2 COMMAND
Format: SHOW COMMAND

The SHOW COMMAND (abbreviated SH COMMAND) command shows the name of the
last specified startup command file.  For more information see
HELP SET COMMAND.
2 CURSOR
Format: SHOW CURSOR

The SHOW CURSOR (abbreviated SH CU) command shows the current setting of
the cursor region.  EDT will respond with:

t:b

where t and b are integer numbers indicating the top and bottom of the
cursor region.  See HELP SET CURSOR for an explanation of the cursor
region.
2 ENTITY
Format: SHOW ENTITY entity-type

where entity-type is one of the following:

    WORD      (abbreviated W)
    SENTENCE  (abbreviated S)
    PAGE      (abbreviated PAG)
    PARAGRAPH (abbreviated PAR)

The SHOW ENTITY (abbreviated SH EN) command displays the current
delimiter string for the specified entity.
2 FILES
Format: SHOW FILES

The SHOW FILES (abbreviated SH FI) command displays the name of the
input and output files which were specified in the EDT command line.  If
no output file was specified, then the input file name is also used as
the output file name.  If /NOOUTPUT or /READ_ONLY was specified in the
command line, then this will be indicated in place of the output file
name.
2 FNF
Format: SHOW FNF

The SHOW FNF command displays whether the file not found message is
enabled or disabled.
2 HELP
Format:  SHOW HELP

The SHOW HELP (abbreviated SH H) command shows the currently active
default help file specification and help file name.  Use the SET HELP
command to redefine the help file name.
2 KEY
The SHOW KEY (abbreviated SH K) command displays the current definition
of a keypad, function or control key.

Format: SHOW KEY key-name

Where key-name is one of the following: (alternatives separated by "|")

[GOLD] number |[GOLD] CONTROL char |[GOLD] CONTROL "char"
[GOLD] CONTROL 'char' |GOLD character |GOLD "character"
GOLD 'character' |[GOLD] DELETE  |[GOLD] FUNCTION number

Number refers to keypad and function keys and CONTROL char names
specific control keys Char is limited to @, A to Z, [, \, ], ^ and _,
but the case of letters is ignored. DELETE refers to the delete
character, which is not a control character.  Character refers to any
keyboard key except 0-9, though - is not useful.  Upper and lower case
letters are considered equivalent. Characters !, %, ', and " must be
enclosed in quotation marks.

For the meaning of the string printed by the SHOW KEY command, see HELP
DEFINE KEY.
2 KEYPAD
Format: SHOW KEYPAD

The SHOW KEYPAD (abbreviated SH KEYP) command shows the current setting
for the option of using keypad editing when you are in change mode.
KEYPAD is the default for VT100 and VT52 terminals, which means that the
alternate keypad is used to enter change mode commands.  The option can
be changed by using the SET [NO]KEYPAD command.
2 LINES
Format: SHOW LINES

The SHOW LINES (abbreviated SH L) command shows the current number of
screen lines displayed in change mode.  Use the SET LINES command to
modify this setting.
2 MODE
Format: SHOW MODE

The SHOW MODE (abbreviated SH M) command shows the current setting of
the default editing mode.  It indicates the editing mode that is entered
after all startup processing.
2 NUMBERS
Format: SHOW NUMBERS

The SHOW NUMBERS (abbreviated SH NU) command shows the current setting
for the option of displaying line numbers on the terminal.  Numbers are
not displayed by default.  Use SET NUMBERS to enable line numbers.
2 PARAGRAPH
Format: SHOW PARAGRAPH

The SHOW PARAGRAPH (abbreviated SH PARA) command shows the current
setting for delimiting paragraphs.  By default a new paragraph begins
after two successive linefeeds.  Use SET PARAGRAPH WPS to indicate that
a new paragraph begins at the first non-linefeed character after two
successive linefeeds.
2 PROMPT
Format: SHOW PROMPT prompt-type

Where prompt-type is one of: LINE, KEYPAD, NOKEYPAD, HCCHANGE, INSERT,
INSERTN, or QUERY.

The SHOW PROMPT command shows the current string to be used when
prompting in line mode, in keypad change mode, in nokeypad change mode,
in hardcopy change mode, in line mode when inserting, in line mode when
inserting with NONUMBERS, and in response to /QUERY, respectively.
2 QUIET
Format: SHOW QUIET

The SHOW QUIET (abbreviated SH Q) command shows the current setting of
the option that controls whether or not the bell sounds when you make an
error in change mode.  You can change this option with the SET [NO]QUIET
command.
2 REPEAT
Format: SHOW REPEAT

The SHOW REPEAT (abbreviated SH REP) command shows whether or not counts
are allowed.  The default is to allow counts.  To disable counts use SET
NOREPEAT.
2 SCREEN
Format: SHOW SCREEN

The SHOW SCREEN (abbreviated SH SC) command shows the current setting
for the maximum length of a line EDT displays.
2 SEARCH
Format: SHOW SEARCH

The SHOW SEARCH (abbreviated SH SE) command shows the current search
parameters. See HELP SET SEARCH for a description of search options.
2 SUMMARY
Format: SHOW SUMMARY

The SHOW SUMMARY command shows whether the file summary on WRITE and
EXIT is enabled or disabled.
2 TAB
Format: SHOW TAB

The SHOW TAB (abbreviated SH TA) command shows the current settings for
the structured tab feature.  If structured tabs are enabled, the tab
size and indentation level are displayed.

For additional information on the structured tab feature, see HELP SET
TAB and HELP TAB.
2 TERMINAL
Format: SHOW TERMINAL

The SHOW TERMINAL (abbreviated SH TE) command shows your terminal type:
VT100, VT52 or Hardcopy.  It also shows whether or not your terminal has
scrolling regions, eight-bit graphics and the advanced screen editing
features.  See SET TERMINAL for more information.
2 TEXT
Format: SHOW TEXT text-type

where text-type is one of the following:

    MARK
    PAGE
    END

The SHOW TEXT command shows the current string to be used for displaying
new pages, page markers or the end of buffer.
2 TRUNCATE
Format: SHOW TRUNCATE

The SHOW TRUNCATE (abbreviated SH TR) command shows the current setting
of the option for displaying long lines in change mode.  The default is
TRUNCATE, which means that lines longer than the screen width are
truncated on the display (the actual text is not altered).  If you turn
off this option by entering SET NOTRUNCATE, long lines are wrapped to as
many screen lines as are necessary to display the entire screen.
2 VERIFY
Format: SHOW VERIFY

The SHOW VERIFY (abbreviated SH VERI) command displays the current
setting of the option to list commands that are executed from the
startup command file or a macro. By default, verify is off, which means
that the lines are not typed.  If you turn it on, each such command is
typed as it is executed.
2 VERSION
Format: SHOW VERSION

The SHOW VERSION (abbreviated SH VE) command displays the version number
and copyright statement of EDT.  You should write the full text of the
version number on any EDT SPR.   The copyright statement appears as

    COPYRIGHT © DIGITAL EQUIPMENT CORPORATION 1983

on terminals that have the international copyright symbol.
2 WORD
Format: SHOW WORD

The SHOW WORD (abbreviated SH WO) command shows the current setting for
the handling of word delimiters.  The default is to consider all
delimiters as part of the word they delimit.  To make EDT consider the
delimiters (with the exception of a space) themselves as words, use
SET WORD DELIMITER.
2 WRAP
Format: SHOW WRAP

The SHOW WRAP (abbreviated SH W) command shows the current setting of
the right margin for word wrapping.

Word wrapping is a feature of EDT that automatically inserts carriage
returns when the text you are typing exceeds the right margin.  The same
margin is used for the nokeypad mode FILL command.  Word wrapping is in
effect in change mode only and only, if you have used the SET WRAP
command.
1 SUBSTITUTE
The SUBSTITUTE (abbreviated S) command replaces occurrences of one
string of characters with another string.

Format: SUBSTITUTE/string-1/string-2/ [range] [/BRIEF[:n]] [/QUERY] [/NOTYPE]

Any non-alphanumeric character except % can be used as string delimiters.

All occurrences of string-1 within the specified range are replaced with
string-2.  If you do not specify range, a single occurrence in the
current line is substituted.  The line in which the substitution
occurred is typed after each substitution.
2 /BRIEF[:n]
When you select the /BRIEF (abbreviated /BR) option, only the first n
characters of the line are displayed.  If you omit n, the default is 10.
2 /NOTYPE
When you specify /NOTYPE (abbreviated /NOT) the lines in which
substitutions occurred are not typed.
2 NEXT
The SUBSTITUTE NEXT (abbreviated N) command replaces the next occurrence
of string-1 with string-2.

Format: [SUBSTITUTE] NEXT [/string-1/string-2/]

The search for string-1 is made forward from the current location. When
a substitution is made, the line where the substitution occurs becomes
the current line.  When the optional strings are omitted, the strings
used in the last SUBSTITUTE or SUBSTITUTE NEXT command are used.
2 /QUERY
Format: /QUERY

When you use the QUERY (abbreviated /Q) qualifier, EDT prompts you with
a question mark (?) to verify each substitution.

Responses are:

    Y   Yes, do the substitution.
    N   No, do not do the substitution.
    Q   Quit, terminate the command.
    A   All, do the rest of the substitutions without query.
1 TAB
The TAB ADJUST (abbreviated TA A) command shifts each of a range of
lines a specified number of logical tab stops.

Format: TAB ADJUST [-] n [range]

where n is the number of tab stops to shift.  You must use the SET TAB
command to set the logical tab size in order for this command  to work.
If you omit range, the select range is assumed.  If a minus sign (-)
precedes the count n, the text shifts to the left.  Otherwise, it shifts
to the right.
1 TYPE
The TYPE (abbreviated T) command displays the specified range of lines
on the terminal.

Format: TYPE [range] [/BRIEF[:n]] [/STAY]

The first line in the specified range becomes the current line.

If the range specification starts with a non-alphabetic character, the
keyword TYPE may be omitted completely.
2 /BRIEF
Format: /BRIEF[:n]

When you select the /BRIEF (abbreviated /BR) option, only the first n
characters of the  line are displayed.  If you omit n, the default
is 10.
2 /STAY
Format: /STAY

When you select the /STAY (abbreviated /ST) option, the cursor position
is not changed by the TYPE command.  This enables you to look at text
elsewhere in the buffer (or in another buffer) without losing your
position.
1 WRITE
The WRITE (abbreviated WR) command creates a file from a specified range
of lines.

Format: WRITE file-spec [range] [/SEQUENCE[:init:incr]]

When you specify a range, the text contained in that range becomes the
file. When you do not specify a range, the contents of the current text
buffer becomes the new file.  The cursor position is not affected by the
WRITE command.
2 /SEQUENCE
Format: /SEQUENCE[:init:incr]

When you use the /SEQUENCE option, the output file is in VFC (variable
with fixed control) format, and line numbers are written in the control
field. The values of both 'init' and 'incr' must be less than 65536.

If you set init and incr, the file is renumbered starting with the number
you choose for init, and the lines are incremented by the number you
choose for incr.  Otherwise, the line numbers assigned by EDT are written.
These line numbers are truncated to integers and taken modulo 100000,
with a maximum value of 65535.
