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
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 Spacekey) – Delete one character to the left of the cursor.
Ctrl-U– Delete the entire command line without submitting it.
:b] – Delete line a (through line b).
E– Save file and return to EXEC.
EQ– Discard unsaved changes and return to EXEC.
Ia – Insert mode after line a. End with
:b] – Print line a (through line b) on terminal.
Ra – Replace line a
Esca – Substitute text t2 for text t1 on line a.