This is an old revision of the document!
EDIT is a line-oriented text editor for TOPS-20 on TWENEX.ORG.
EDIT is usually started with the EDIT
command. However, if you have customized your default editor, the EDIT
command may invoke a different editor. To run EDIT without disturbing your default editor setting, use the command SYS:EDIT
or R EDIT
.
As a line-oriented editor, all editing tasks are accomplished in EDIT by entering commands at the EDIT command prompt (*
). If you wish to make changes to the current command line before submitting it (by pressing Enter
), you may use the following keys:
Delete
(usually mapped to the Back Space
key) – Delete one character to the left of the cursor.Ctrl-U
– Delete the entire command line without submitting it.D
a[:
b] – Delete line a (through line b).E
– Save file and return to EXEC.EQ
– Discard unsaved changes and return to EXEC.I
a – Insert mode after line a. End with Esc
key.P
a[:
b] – Print line a (through line b) on terminal.R
a – Replace line aS
tEsc
uEsc
a – Substitute text u for text t on line a.