User Tools

Site Tools


survival_teco_2.0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
survival_teco_2.0 [2022/04/26 19:38] – [Q-Registers Commands] hc9survival_teco_2.0 [2022/11/17 04:45] (current) – [TECO on SDF] hc9
Line 29: Line 29:
  
   * SDF cluster   * SDF cluster
-    * TE is a port of the Ultrix version of TECO. It is actually a visual editor that displays file contents around pointer after commands are submitted, so you won't need to use type/display commands as much (TE automatic display sometimes gets a little wonky, so you occasionally need a T or a V as a last resort). TE takes a file name as a command line argument, so you don't need ER/EW/EB commands.+    * TE is a port of the Ultrix version of TECO. It is actually a visual editor that displays file contents around pointer after commands′ are submitted, so you won't need to use type/display commands as much (TE automatic display sometimes gets a little wonky, so you occasionally need a T or a V as a last resort). 
 +    * TE takes a file name as a command line argument, so you don't need ER/EW/EB commands
 +    * ''TECOC'' is a port originally for VMS. There are four subcommands: ''make'', ''teco'', ''mung'', and ''inspect''.
   * TWENEX   * TWENEX
     * TECO on the TOPS-20 system at twenex.org is one of the original implementations of the editor. No command line arguments, so read and write your file with commands ER and EW. And no wimpy visual stuff, so enter your own display commands if you can't remember where you left pointer.     * TECO on the TOPS-20 system at twenex.org is one of the original implementations of the editor. No command line arguments, so read and write your file with commands ER and EW. And no wimpy visual stuff, so enter your own display commands if you can't remember where you left pointer.
Line 38: Line 40:
  
 This is for those use TECO as a programming language. Q-Registers are like registers in assembly, and have hold a string and a number at the same time. This is for those use TECO as a programming language. Q-Registers are like registers in assembly, and have hold a string and a number at the same time.
-| 1. |nU//q//  | Save number //n// to register //q// | 2. |n%//q//  | Increment //q// by //n//, default is 1 |+| 1. |nU//q//  | Save number //n// to register //q// | 2. |n//%q//  | Increment //q// by //n//, default is 1 |
 | 3. | %%^%%U//q//''string''**$** | Save string to //q//, the original content would be lost | 4. |:%%^%%U//q//''string''**$**  | Append string to //q// | | 3. | %%^%%U//q//''string''**$** | Save string to //q//, the original content would be lost | 4. |:%%^%%U//q//''string''**$**  | Append string to //q// |
 | 5. |Q//q//  | Fetch the number from register | 6. |nQ//q//  | ASCII value of (n+1)th character in the string | | 5. |Q//q//  | Fetch the number from register | 6. |nQ//q//  | ASCII value of (n+1)th character in the string |
Line 47: Line 49:
 The previous version of this tutorial is available [[survival_teco|here]]. The previous version of this tutorial is available [[survival_teco|here]].
  
-//"You can hack anything you want with TECO ..."// [[http://sdf.org/?tutorials/survival-teco-2.0|Survival TECO, Version 2.0]] - traditional link (using [[wp>Revision_Control_System|RCS]])+//"You can hack anything you want with TECO ..."//
  
 +[[http://sdf.org/?tutorials/survival-teco-2.0|Survival TECO, Version 2.0]] - traditional link (using [[wp>Revision_Control_System|RCS]])
  
survival_teco_2.0.1651001912.txt.gz · Last modified: 2022/04/26 19:38 by hc9