User Tools

Site Tools


tutorials:edit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
tutorials:edit [2014/01/28 16:28]
papa created
tutorials:edit [2016/08/17 08:27]
papa [References]
Line 1: Line 1:
 **EDIT** is a line-oriented text editor for TOPS-20 on TWENEX.ORG. **EDIT** is a line-oriented text editor for TOPS-20 on TWENEX.ORG.
  
-Since EDIT's executable file name is the same as the EXEC command for invoking the default editor, you must use the following command to start EDIT unless you have set it as your default editor.+===== Invocation =====
  
-<code> +EDIT is usually started with the ''EDIT'' command. However, if you have [[tutorials:editor|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'' 
-@R EDIT + 
-</code>+===== 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. 
 + 
 +===== Commands ===== 
 + 
 +  * ''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 //a// 
 +  * ''S''//t//''Esc''//u//''Esc''//a// -- Substitute text //u// for text //t// on line //a//. 
 + 
 +===== References ===== 
 + 
 +  * [[http://tilt.twenex.org/|TOPS-20 User's Guide]] 
 +  * //(__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.txt · Last modified: 2016/10/20 03:44 by papa