-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
teco.scroll
48 lines (41 loc) · 1.65 KB
/
teco.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import ../code/conceptPage.scroll
id teco
name TECO
appeared 1963
tags pl
standsFor Text editor character oriented
fileType text
rosettaCode http://www.rosettacode.org/wiki/Category:Teco
centralPackageRepositoryCount 0
country United States
projectEuler TECO
memberCount
2019 7
2022 8
helloWorldCollection Text editor character oriented
!Hello World in TECO
!The $ symbol below wouldn't actually be a printing character -
!it's the [escape] character, \u001b!
FTHello World$
rijuRepl https://riju.codes/teco
example
IHello, world!
$HT$$
wikipedia https://en.wikipedia.org/wiki/TECO_(text_editor)
example
0uz ! clear repeat flag !
<j 0aua l ! load 1st char into register A !
<0aub ! load 1st char of next line into B !
qa-qb"g xa k -l ga -1uz ' ! if A>B, switch lines and set flag !
qbua ! load B into A !
l .-z;> ! loop back if another line in buffer !
qz;> ! repeat if a switch was made last pass !
related emacs-editor unix isbn
summary TECO (; originally an acronym for [paper] Tape editor and corrector, but later Text editor and corrector, then Text editor character oriented) is a text editor originally developed at the Massachusetts Institute of Technology (MIT) in the 1960s, after which it was modified by many other people. TECO was a direct ancestor of Emacs, which was originally implemented in TECO macros.
pageId 30449
dailyPageViews 43
created 2001
backlinksCount 24
revisionCount 331
appeared 1962
hopl https://hopl.info/showlanguage.prx?exp=2563