Text Editor and Corrector

related topics
{system, computer, user}
{math, number, function}
{work, book, publish}
{film, series, show}
{language, word, form}
{mi², represent, 1st}
{build, building, house}
{style, bgcolor, rowspan}

TECO (pronounced /ˈtiːkoʊ/; originally an acronym for [paper] Tape Editor and COrrector, but later Text Editor and COrrector) is a text editor originally developed at the Massachusetts Institute of Technology (MIT) in the 1960s, after which it was modified by 'just about everybody'. With all the dialects included, TECO may have been the most popular editor in use before the vi editor (later included with many Unix operating systems)[weasel words], and before the Emacs editor, to which TECO was directly ancestral ('Emacs' originally stood for Editing MACroS running on TECO).

Contents

Description and impact

TECO is not just an editor, but an interpreted programming language for text manipulation. Arbitrary programs (called 'macros') for searching and modifying text give it great power. Unlike regular expressions, however, the language was imperative (though some versions had an 'or' operator in string search).

TECO does not really have syntax; each character in a program is an imperative command, dispatched to its corresponding routine. That routine may read further characters from the program stream (giving the effect of string arguments), change the position of the 'program counter' (giving the effect of control structures), or push values onto a value stack (giving the effect of nested parentheses). But there is nothing to prevent operations like jumping into the middle of a comment, since there is no syntax and no parsing.

A classic essay on computer programming, Real Programmers Don't Use Pascal, suggested that a common game for TECO fans was to enter their name as a command sequence, and then try to work out what would happen. The same essay in describing TECO coined the acronym "YAFIYGI", meaning "You Asked For It You Got It" and thus being the antitheses of WYSIWYG ("What You See Is What You Get").

Full article ▸

related documents
Code division multiple access
Ext3
Erlang (programming language)
Digital filter
Wikipedia:FAQ/Technical
Disk partitioning
MMIX
Integrated development environment
Multiplexer
Shannon–Hartley theorem
Programmer
PostgreSQL
Carbon (API)
Fractal compression
Wikipedia:Free On-line Dictionary of Computing/T - W
X86 memory segmentation
Hyperlink
Portable Executable
REBOL
System call
Intel i860
EDIF
SPARC
Exokernel
Hierarchical File System
Ladder logic
Wikipedia:Database download
L4 microkernel family
Low-pass filter
EDonkey2000