fpjohnston / TECO-64

Enhanced and portable version of TECO text editor in C.
27 stars 6 forks source link
dec digital-equipment-corporation language pipeline-editor teco teco-64 teco-macros teco64

TECO-64 - README

Description

TECO-64 is:

History

TECO (Text Editor and Corrector) was originally developed on the PDP-1 in 1962 by Dan Murphy, and later ported to many other operating systems, especially those using DEC (Digital Equipment Corporation) hardware, notably VMS, RSTS/E, TOPS, RSX-11, and RT-11. All of these implementations were written in hardware-specific assembler language.

TECO C was a version created by Pete Siemsen in 1983, and subsequently developed by him and many others, most recently by Tom Almy and Blake McBride. This implementation made it possible for TECO to be ported to non-DEC operating systems such as Linux and Windows.

And although six decades old, it remains in use today.

Version Numbers

When TECO C was created, other TECOs were still in development on DEC operating systems. Each of these TECOs had their own version numbers, which could be used in macros or indirect command files to determine which TECO features were available. This allowed users to write code that could be used in multiple operating environments. For example, a user could create a macro that would only use a given command if it was determined that the version of TECO in use supported that feature.

In order to avoid any confusion with other TECOs, the baseline version of TECO C was set to 100, and incremented as subsequent versions were released. The highest version of TECO C is currently 147.

For similar reasons, a baseline version number of 200 was chosen for TECO-64. This is the major version. A minor version and patch version also exist, per GitHub's guidelines. Values for all three can be accessed via the EO command, although only the major version is likely to be significant for TECO macros.

Implementation

TECO-64 is written in C, for maximum portability, and was inspired by Pete Siemsen's TECO C. Its command set is backwards-compatible with TECO C, as well as other TECOs. TECO-64 was written from scratch to take full advantage of current features of the C language and run-time library.

System Requirements

Version 200 of TECO-64 was primarily developed on Linux, using the GNU toolchain. It has been also compiled and run on Windows and MacOS.

TECO can be used in a command-line mode, as well as a display mode using ncurses.

The commands that implement backwards paging and searching require virtual memory support, but TECO can be used as a simple pipeline editor on systems without virtual memory.

Doxygen must be installed in order to use the doc target.

PC-lint must be installed in order to use the lint and lobs targets.

Getting Started

TECO is intended to be usable in a variety of operating environments. As the methods for building and starting TECO vary from environment to environment, the specifics for getting set up are described in the following separate sections.

Additional Documentation

TECO-64 Reference Manual - this is a work in progress that has been adapted, corrected, and updated from a user's guide and language reference manual published in May 1990 by Digital Equipment Corporation, Standard TECO Text Editor and Corrector for the VAX, PDP-11, PDP-10, and PDP-8.

Future Directions

The following may be implemented in future versions of TECO.

Contact Information

Any questions or comments, including bug reports and feature requests, may be sent to NowwithTreble@gmail.com.