GNU Teseq - Summary
This project is part of the GNU Project.
GNU Teseq is a tool for analyzing files that contain control characters terminal control sequences. It is intended to be useful for diagnosing terminal emulators, and programs that make heavy use of terminal features.
It is primarily targeted at individuals who possess a basic understanding of terminal control sequences, especially CSI sequences; however, by default Teseq will try to identify and describe the sequences that it encounters, and the behavior they might produce in a terminal.
Teseq describes control functions as they are interpreted by VT100-compatible terminals, and/or terminals compliant with the Ecma-48 / ISO/IEC 6429 standard. Teseq does not support describing control functions according to terminal-specific definitions in a database such as termcap or terminfo, though future versions may include limited support for that. Therefore, the descriptions Teseq uses for control functions may not necessarily match their actual interpretation by whatever terminal device the characters were actually intended for.
It takes input like:
And spits out something like:
Note that the special control sequences that tell the terminal to start and stop writing in boldface text are separated out on their own lines (prefixed with a colon ‘:’), and followed by an identification (prefixed with an ampersand ‘&’) and a description of what it does (prefixed with a quote character ‘"’).
The actual text appears in lines bracketed by pipe ‘|’ characters.
The series of single-character backspace controls appear on a line prefixed with a period ‘.’, identified by its identifying acronym (bs for backspace), and its control-key representation (Control-H).
The final word, “earth”, is followed by a period just after the closing pipe symbol; this indicates a following linefeed (or “newline”) character.
The included reseq command may be used to reverse the procedure, accepting the above input and printing out the original set of escape sequences that produced it.
Registration Date: Sun 27 Jul 2008 05:44:22 PM UTC
License: GNU General Public License v3 or later
Development Status: 4 - Beta



