TECO


Also found in: Dictionary, Thesaurus, Medical, Acronyms, Wikipedia.

TECO

(editor, text)
/tee'koh/ (Originally an acronym for "[paper] Tape Editor and COrrector"; later, "Text Editor and COrrector"]) A text editor developed at MIT and modified by just about everybody. With all the dialects included, TECO may have been the most prolific editor in use before Emacs, to which it was directly ancestral. The first Emacs editor was written in TECO.

It was noted for its powerful programming-language-like features and its unspeakably hairy syntax (see write-only language). TECO programs are said to resemble line noise. Every string of characters is a valid TECO program (though probably not a useful one); one common game used to be predict what the TECO commands corresponding to human names did.

As an example of TECO's obscurity, here is a TECO program that takes a list of names such as:

Loser, J. Random Quux, The Great Dick, Moby

sorts them alphabetically according to surname, and then puts the surname last, removing the comma, to produce the following:

Moby Dick J. Random Loser The Great Quux

The program is

[1 J^P$L$$ J <.-Z; .,(S,$ -D .)FX1 @F^B $K :L I $ G1 L>$$

(where ^B means "Control-B" (ASCII 0000010) and $ is actually an alt or escape (ASCII 0011011) character).

In fact, this very program was used to produce the second, sorted list from the first list. The first hack at it had a bug: GLS (the author) had accidentally omitted the "@" in front of "F^B", which as anyone can see is clearly the Wrong Thing. It worked fine the second time. There is no space to describe all the features of TECO, but "^P" means "sort" and "J<.-Z; ... L>" is an idiomatic series of commands for "do once for every line".

By 1991, Emacs had replaced TECO in hacker's affections but descendants of an early (and somewhat lobotomised) version adopted by DEC can still be found lurking on VMS and a couple of crufty PDP-11 operating systems, and ports of the more advanced MIT versions remain the focus of some antiquarian interest.

See also retrocomputing.

ftp://usc.edu/ for VAX/VMS, Unix, MS-DOS, Macintosh, Amiga.

TECO

(Text Editor and COrrector) A text editor written in 1963 by Dan Murphy at MIT for editing paper tape on a Digital PDP-1 computer (it was originally called "Tape Editor and Corrector"). Seeming primeval compared to today's editors, TECO worked on only one page at a time using cryptic one and two-character commands. A macro capability was added to TECO by Richard Stallman, creating the first Emacs editor, which he later rewrote for the GNU Project. See Emacs and TOPS.
References in periodicals archive ?
At the same time, Teco urged the Philippine government to return the favor and grant visa-free treatment to ROC nationals 'on the basis of reciprocity.'
'The Philippines is not only Taiwan's closest neighbor but also a priority partner for Taiwan's 'New Southbound Policy' which aims to build stronger bilateral relations and closer people-to-people connectivity with its neighboring countries in the region,' Teco said.
She also said there was no conflict of interest on her part to issue a Certificate of Registration and Tax Exemption (CRTE) for TECO "since this is a ministerial function and TECO has completed all requirements for the issuance of a CRTE."
Teco's "e-home" products combine resources from Teco and Tecom Co., Ltd., with orders reaching 10,000-20,000 units to NT$500 million (US$16.67 million) from Strait Construction Investment Holdings (SCI).
He added that TECO Middle East currently had a 25% Saudisation plan, and aimed to increase that figure to 40% in the near future.
Al Quraishi expressed delight at Teco becoming the first medium and high voltage electric motors manufacturing facility in Saudi Arabia and the entire Middle East.
Feldman suggests that the new TECO window tinting reward program is easily the Nation's highest per square foot rebate for a window tinting investment.
The report stated that TECO recently imported two Nanos for study purposes, one of which is being kept by TECO Honorary Chairman Huang Mao-hsiung, who was among the first in the company to eye the car's potential.
Teco's mother passed him to another bonobo, who passed him to Savage-Rumbaugh .
Ariz.), was elected as the TECO director to represent Arizona.
TECO Energy Incorporated (TECO) (NYSE: TE), an energy company, has announced its financial results for the fourth quarter of 2009.