User Tools

Site Tools


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.

Command Line Editing

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.


  • Da[: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 Esc key.
  • Pa[:b] – Print line a (through line b) on terminal.
  • Ra – Replace line a
  • StEscuEsca – Substitute text u for text t on line a.


  • (EDIT User's Guide and EDIT Reference Manual were published by DEC as part of the TOPS-20 Software Notebook series, but the author has been unable to locate any printed or electronic copies of either manual.)
tutorials/edit.1471422467.txt.gz · Last modified: 2016/08/17 08:27 by papa