BSD Ports

editors/teco 0398_2 DragonFly

Powerful and compact editor with nongraphical user interface

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
editors
Package size
200.0 KiB, 814.9 KiB installed

Description

TECO is the grand old text editor. It is a powerful and compact precursor to EMACS, and has a completely nongraphical user interface. It is very fast (probably the fastest editor in the world) and has a macro language. TECO was written by Dan Murphy (http://www.opost.com/dlm) at Digital Equipment Corporation in 1962. This is based on Pete Siemsen's TECOC implementation, and comes with a copy of the original's DECUS TECO documentation.

In the other systems

SystemPortVersion
DragonFlyeditors/teco0398_2
FreeBSDeditors/teco0398_2
NetBSDwip/teco0398
HardenedBSDeditors/teco0398_2
GhostBSDeditors/teco0398_2

Install

Binary package:

pkg install teco

From DPorts:

cd /usr/dports/editors/teco && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Powerful and compact editor with nongraphical user interface

The FreeBSD port implements pretty well all that the Linux version does.

There is now a manual page; note carefully that the name of the
executable file is 'tecoc', and that it takes a first argument
specifying how it is to run. The manual page has many more details.

Most users will want to set up aliases for using the program; this is
not done by the port to avoid unnecessary namespace pollution. There is
also the issue that the conventional command for creating a new file
with teco is 'make' - it is suggested that a capitalised version,
'Make', is used instead. However, users can choose any name they like.

An example set of aliases for csh might be:

        alias Make 'tecoc make'
        alias teco 'tecoc teco'
        alias mung 'tecoc mung'
        alias inspect 'tecoc teco -inspect'

For bash, they might be:

        alias Make='tecoc make'
        alias teco='tecoc teco'
        alias mung='tecoc mung'
        alias inspect='tecoc teco -inspect'


If the port is built with the DOCS option set to ON, then documentation
will be installed into %%DOCSDIR%%. This will include
a large teco manual named 'teco.doc', and a quick reference 'wall chart'
named 'wchart.txt'. Other documents located there are outdated and/or
inconsistent, and thus of limited use.

Before starting to use tecoc, see the sections "DESCRIPTION/Command
names" and "SEE ALSO" in the manual page.