TECO Editor for *nix

栏目: IT技术 · 发布时间: 6年前

内容简介:Teco is a text editor written by Dan Murphy in 1962. It differs from other editors in several ways as follows:Vi and Emacs are screen oriented editors. You view the text on the whole window or screen, and you edit the text right where you see it. Change

TECOC - TECO Editor

Teco is a text editor written by Dan Murphy in 1962. It differs from other editors in several ways as follows:

Character oriented

Vi and Emacs are screen oriented editors. You view the text on the whole window or screen, and you edit the text right where you see it. Changes take affect immediately.

ed, ex, edlin are line oriented editors. Edited text is viewed, referenced, and edited by line.

Teco is character oriented. This means the unit of reference is a single character. On one hand, this may make teco cumbersome to use, but on the other hand, it gives teco very fine control over what is happening.

Teco does have a video mode, however text is still edited with commands on a character basis. The screen is simply updated once a command is completed to give the user a visual representation of where they are. Text is not edited in the screen view area.

Macros

In general, vi, ed, and edlin are not programmable. This means you have the functions the editor provides and that is all you can do. However, teco is highly programmable. Programs that you write are called macros. In fact, the original version of Emacs was written as teco macros. Also, "emacs" actually means "Editing Macros".

TECOC

The original versions of Teco were written in the machine languages of the machines they operated on. As newer machines and editors arose, teco fell into increasing disuse and obscurity.

In the early '80's Pete Siemsen, a long-time teco user, created a portable version of Teco in the C language called "tecoc". Rather than create a new editor, Pete's goal was to duplicate the original teco as closely as possible.

As time wore on, Tom Almy, Blake McBride, and others increasingly assisted in tecoc's maintenance (porting, bug fixes, etc.). Eventually, tecoc found a new home and principal support at Tom Almy's home page where Tom kept up with ports to Windows, Mac, and Linux.

Most recently, Blake McBride:

  1. Merged Tom Almy's various ports along with work done by Blake
  2. renewed the Windows, Mac, and Linux ports
  3. re-enabled video support (on Mac & Linux)
  4. bug fixes and speed improvements
  5. tested on 64 bit machines

This latest work is available on github at:

https://github.com/blakemcbride/TECOC

Other documents in the "doc" directory provide complete documentation. See the following files in the "doc" directory:

File Description
BUILD.txt Build and setup instructions
INTRO.txt Introduction to using tecoc
teco-manual.txt Complete manual

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

安全之美

安全之美

Andy Oram、John Viega / 徐 波、沈晓斌 / 机械工业出版社华章公司 / 2011-4-28 / 65.00元

“这本深思熟虑的论文集(《安全之美》)帮助读者摆脱安全领域闪烁着欺骗光芒的心理恐惧,转而欣赏安全的微妙美感。本书描述了安全的阴和阳,以及引人注目的破坏性和闪亮光辉的建设者之间剑拔弩张的气氛。” ——Gary McGraw,Cigital公司CTO,《Software Security》及其他9本书的作者 大多数人不会太关注安全问题,直到他们的个人或商业系统受到攻击。这种发人深省的现象证......一起来看看 《安全之美》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换