Back in the days of the PDP-8 and other early DEC computers, the editor everyone knew was TECO (Text Editor and COrrector.) These days TECO looks pretty obtuse, just as ED (on CP/M) or EDLIN (on DOS) does to most of us. But then, TECO was as ubiquitous as vi and emacs are in the UNIX/Linux world of today. In fact, emacs is reputed to be a direct descendant of TECO.
Now the TECO editor had an "easter egg" hidden in it. The nature of that egg reveals in part the age of the editor code. As it happens, TECO is still available on all the DEC operating environments, even after they were modified and updated by Compaq and Hewlett-Packard. I thought of that today and went looking for the easter egg. It's still there, though a bit more obtuse than it used to be.
The command to tell TECO to create a new file and begin editing it was 'make filename'. This could be entered on the command line. So, to create a new file called TEST.TXT you could say
TECO MAKE TEST.TXT
The easter egg appears if you tell TECO to 'make love' as in
TECO MAKE LOVE
Unfortunately, in today's OpenVMS, TECO is no longer simply invoked by its name. I tried the
EDIT/TECO MAKE LOVE
that would seem to be required, but it gets a syntax error.
Then I thought of assigning a symbol to abbreviate the command. Sure enough, that works.
So...
TECO :== $SYS$SYSTEM:TECO32_TV.EXE
And then the command gets the traditional response...
TECO MAKE LOVE
Not war?
*
Yep, it's that old. Same vintage as I am.
Back when I was first introduced to the VAX and VMS (in 1986 or thereabouts) we had an outside consultant who was brought in to do some work with the VAX environments. He was interesting, and I thought that in particular because he told me he had a VAX and a PDP-11 running in his basement at home. Back then, that was pretty remarkable even without thinking of the electricity it would consume. A VAX 11/750 was a good sized piece of equipment, in refrigerator sized cabinets, and ate a lot of energy. Werner (that was his name) was always smiling and cheerful, and frequently asked me to go to lunch with him or to go out for drinks. Mostly I declined, since back then work was business to me and not a social affair. I tried, for whatever reason, to keep the two separated.
Our first VAX was an 8200, one of a new line of machines that used a different CPU and microcode setup. The earlier VAXen all had a PDP emulation mode in which they could actually execute PDP-10 or PDP-11 machine code. The 8000 series no longer had that feature unless you installed an enhancement (for a price) to add it back in. Since the TECO editor was still in PDP native code, it would not run on the 8200 even though the executable module was in fact present in the OS. Werner often complained to me about the absence of TECO, his favorite editor. It took me a while to understand why it didn't work, since all the VMS manuals said that it would. (They weren't yet updated to account for the 8000 series.) Finally I had the answer for him, and explained why it wasn't available. He was the first one to tell me about the easter egg.
Now I have my own DEC computer running at home (not in the basement, though, and certainly not a VAX 11/750: a Digital Personal Work Station is only the size of a tower PC, and uses no more power than one.) And I've finally asked the question, and seen it answer just as Werner promised that it would.
Now the TECO editor had an "easter egg" hidden in it. The nature of that egg reveals in part the age of the editor code. As it happens, TECO is still available on all the DEC operating environments, even after they were modified and updated by Compaq and Hewlett-Packard. I thought of that today and went looking for the easter egg. It's still there, though a bit more obtuse than it used to be.
The command to tell TECO to create a new file and begin editing it was 'make filename'. This could be entered on the command line. So, to create a new file called TEST.TXT you could say
TECO MAKE TEST.TXT
The easter egg appears if you tell TECO to 'make love' as in
TECO MAKE LOVE
Unfortunately, in today's OpenVMS, TECO is no longer simply invoked by its name. I tried the
EDIT/TECO MAKE LOVE
that would seem to be required, but it gets a syntax error.
Then I thought of assigning a symbol to abbreviate the command. Sure enough, that works.
So...
TECO :== $SYS$SYSTEM:TECO32_TV.EXE
And then the command gets the traditional response...
TECO MAKE LOVE
Not war?
*
Yep, it's that old. Same vintage as I am.
Back when I was first introduced to the VAX and VMS (in 1986 or thereabouts) we had an outside consultant who was brought in to do some work with the VAX environments. He was interesting, and I thought that in particular because he told me he had a VAX and a PDP-11 running in his basement at home. Back then, that was pretty remarkable even without thinking of the electricity it would consume. A VAX 11/750 was a good sized piece of equipment, in refrigerator sized cabinets, and ate a lot of energy. Werner (that was his name) was always smiling and cheerful, and frequently asked me to go to lunch with him or to go out for drinks. Mostly I declined, since back then work was business to me and not a social affair. I tried, for whatever reason, to keep the two separated.
Our first VAX was an 8200, one of a new line of machines that used a different CPU and microcode setup. The earlier VAXen all had a PDP emulation mode in which they could actually execute PDP-10 or PDP-11 machine code. The 8000 series no longer had that feature unless you installed an enhancement (for a price) to add it back in. Since the TECO editor was still in PDP native code, it would not run on the 8200 even though the executable module was in fact present in the OS. Werner often complained to me about the absence of TECO, his favorite editor. It took me a while to understand why it didn't work, since all the VMS manuals said that it would. (They weren't yet updated to account for the 8000 series.) Finally I had the answer for him, and explained why it wasn't available. He was the first one to tell me about the easter egg.
Now I have my own DEC computer running at home (not in the basement, though, and certainly not a VAX 11/750: a Digital Personal Work Station is only the size of a tower PC, and uses no more power than one.) And I've finally asked the question, and seen it answer just as Werner promised that it would.
no subject
Date: 2010-08-11 09:19 am (UTC)I don't quite remember what the first online editor I ever used* was called, but it was designed to work with a teletype, and it was really quite obtuse. The version that worked on a VDU wasn't much better, but you could at least go back a line...
* in the computer centre at Cambridge, probably some time in late 0'78 or early '79.
no subject
Date: 2010-08-11 02:53 pm (UTC)I never really used TECO, though it has the "advantage" that it works on any kind of terminal. VAX/VMS and its successors have much more advanced editors, but they all require more advanced terminals as well, typically at least a very complete VT100 emulation. Without extensive key redefinitions, they can be really tough to use unless you have a real DEC keyboard too. For DEC, it's had to tell which came first: the extended keyboard or the extended editor. Both seem to have grown up together and are codependent. ;p
no subject
Date: 2010-08-11 03:19 pm (UTC)My first computer job involved an IBM 3031 running MVS with terminals served via TSO, but we had an in-house full-screen editor which beat anything IBM could offer at the time.
...and talking of co-dependence, at one point, for a short while, we had a few APL keyboards...
no subject
Date: 2010-08-11 03:33 pm (UTC)no subject
Date: 2010-08-11 04:56 pm (UTC)no subject
Date: 2010-08-11 07:52 pm (UTC)Yes, I remember the APL keyboard. After I was promoted from applications to systems, they gave me a 3279 color graphics terminal on my desk, and it came with an APL keyboard. I've never learned any APL, and just contemplating all those gibberish symbols was enough to put me off the prospect. Fortunately it worked as a regular keyboard too.
no subject
Date: 2010-08-11 10:19 pm (UTC)...and APL was just... bizarre...
no subject
Date: 2010-08-11 11:00 pm (UTC)no subject
Date: 2010-08-12 07:09 am (UTC)