GNU Teseq

1.1 GPL (GNU General Public License)    
2.8/5 4

  536 downloads

GNU Teseq is an application for analyzing files that contain control characters and terminal control sequences.

description

download

specs

changelog

GNU Teseq is an application for analyzing files that contain control characters and terminal control sequences. It is intended to be useful for diagnosing terminal emulators, and programs that make heavy use of terminal features (such as those based on the Curses library).

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:

^[[1mHi^[[m there, world^H^H^H^H^Hearth

And spits out something like:

: Esc [ 1 m
& SGR: SELECT GRAPHIC RENDITION
" Set bold text.
|Hi|
: Esc [ 0 m
& SGR: SELECT GRAPHIC RENDITION
" Clear graphic rendition to defaults.
| there, world|
. BS/^H BS/^H BS/^H BS/^H BS/^H
|earth|.


The accompanying program `reseq' may then be used to reverse this translated output back into its original form, if desired.
read more   
Last updated on June 13th, 2013
GNU Teseq

0 User reviews so far.

SUBMIT

#file analyzer #control characters #terminal control sequences #Teseq #analyzer #control #characters