User Tools

Site Tools


survival_teco

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
survival_teco [2017/11/16 08:25]
papa
survival_teco [2017/11/16 09:03]
papa [References]
Line 13: Line 13:
 ===== Commands ===== ===== Commands =====
  
-| 1. | ''ER''//file//**$**//Y//[1| Open file for input and read | 9. | ''J'' | Jump to beginning of file | +| 1. | ''ER''//file//**$**''Y''<sup>1</sup> | Open file for input and read | 9. | ''J'' | Jump to beginning of file | 
-| 2. | ''EW''//file//**$**[1| Open file for output | 10. | ''ZJ'' | Jump to end of file | +| 2. | ''EW''//file//**$**<sup>1</sup> | Open file for output | 10. | ''ZJ'' | Jump to end of file | 
-| 3. | ''EX'' | Save and exit | 11. | ''T''[3| Type from pointer to end of line |+| 3. | ''EX'' | Save and exit | 11. | ''T''<sup>3</sup> | Type from pointer to end of line |
 | 4. | ''^C ^C'' | Exit (no save) | 12. | ''V'' | Type current line | | 4. | ''^C ^C'' | Exit (no save) | 12. | ''V'' | Type current line |
-| 5. | ''C''[2| Move character forward | 13. | ''D''[2| Delete character at pointer | +| 5. | ''C''<sup>2</sup> | Move character forward | 13. | ''D''<sup>2</sup> | Delete character at pointer | 
-| 6. | ''R''[2| Move character backward | 14. | ''K''[3| Delete current line | +| 6. | ''R''<sup>2</sup> | Move character backward | 14. | ''K''<sup>3</sup> | Delete current line | 
-| 7. | ''L''[3| Move to beginning of next line | 15. | ''S''//text//**$** | Search for //text// | +| 7. | ''L''<sup>3</sup> | Move to beginning of next line | 15. | ''S''//text//**$** | Search for //text// | 
 | 8. | ''I''//text//**$** | Insert //text// | 16. | ''FS''//text1//**$**//text2//**$** | Substitute //text2// for //text1// |  | 8. | ''I''//text//**$** | Insert //text// | 16. | ''FS''//text1//**$**//text2//**$** | Substitute //text2// for //text1// | 
  
-Some versions of TECO accept a file name as a command line argument, making 1. and 2. unnecessary. Some versions of TECO have a command EBfile$Y that does the same as 1and 2. in one step.  +==== Notes ==== 
-Numeric prefix: move/delete multiple characters (negative reverses direction)  + 
-Numeric prefix: move/type/delete multiple lines (negative reverses direction); (T, K only) prefix H: type/delete whole file +  - Some versions of TECO accept a file name as a command line argument, making ''ER''... and ''EW''... unnecessary. Some versions of TECO have a command ''EB''//file//**$**''Y'' that does the same as ''ER''... ''EW''... in one step.  
 +  Numeric prefix (''C'', ''R'', ''D''): move/delete multiple characters (negative reverses direction)  
 +  Numeric prefix (''L'', ''T'', ''K''): move/type/delete multiple lines (negative reverses direction); (''T''''K'' only) prefix ''H'': type/delete whole file 
  
 ===== Availability ===== ===== Availability =====
 +
 +You can use TECO on the following LCM+L systems.
 +
 +| dec-10 | DECSYSTEM-2065 | Invoke TECO with ''MAKE'' to create a new file or ''TECO'' to edit an old file. |
  
  
Line 32: Line 38:
 ===== References ===== ===== References =====
  
 +  * Golden, V. Ellen. [[https://web.archive.org/web/20120419073729/http://www.avanthar.com/~healyzh/_info_/its.primer|An Introduction to ITS for the MACSYMA User]]. Massachusetts Institute of Technology Laboratory for Computer Science Mathlab Group. 14 April 1981. Accessed 16 Nov. 2017.
 +  * [[https://web.archive.org/web/20120402215507/http://www.avanthar.com/~healyzh/teco/TecoPocketGuide.html|TECO Pocket Guide]]. Digital Equipment Corporation. 1978. Accessed 16 Nov. 2017.
  
-//"You can hack anything you want with TECO ..."//+//"You can hack anything you want with TECO ..."// — [[https://www.hactrn.net/sra/|sra]]. [[https://www.hactrn.net/sra/alice/alices.pdp10|Alice's PDP-10]]
  
 ---- ----
 //This page is based on [[http://sdf.org/?tutorials/survival-teco-2.0|Survival TECO Version 2.0]] at [[http://sdf.org|SDF]].// //This page is based on [[http://sdf.org/?tutorials/survival-teco-2.0|Survival TECO Version 2.0]] at [[http://sdf.org|SDF]].//
survival_teco.txt · Last modified: 2017/11/16 09:08 by papa