Reference articles on history, science, culture and more
Encyclopedia

DEC Text Processing Utility

The DEC Text Processing Utility (or DECTPU) is a dedicated programming language developed by Digital Equipment Corporation (DEC) to easily create multi-functional text editors.

TPU is part of OpenVMS. It can be used on a terminal, a console, or on a graphical system like DECwindows.

01Functionality

TPU provides text buffer management APIs in concert with window management APIs which are targeted for the VT100 line of terminals. This allowed split-screen windows with scrolling and hence multiple views of the same buffer content. There are also key mapping APIs provided, allowing a wide range of functionality for editing text. The keyboard mapping could be easily adapted by the admin or the user.

Users could write their own specific editor, to e.g. translate text or short (error) messages to multiple natural languages in a synchronised small text window. The text editor is callable, so you could have small text editors built into specific applications, e.g. a simple mail client. You might redirect output from applications into a text window, using inter-process communication. Therefore one could call web services to return their results into a text buffer.

02Implementations

  • EVE (Extensible Versatile Editor), the first TPU-based editor, delivered with VAX/VMS by mid-1985.
  • In 1986, DEC developed a new version of EDT written in TPU
  • Language-Sensitive Editor, part of VAXset (software development platform)
  • A version of the vi editor was created by Gregg Wonderly at Oklahoma State University called TPUVI or VITPU. VITPU is still available via the DECUS archives online.
Watch videos about DEC Text Processing UtilityExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article DEC Text Processing Utility, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.