Translating between nonprintable characters and printable escape sequences is an important of any program that tries to be comprehensible by human readers. This module pulls these functions into a reusable module, although the conversion rules probably need to be more configurable. In the DOS version, this function strove to reduce the gap between the shell provided by DOS and the shell functionality in Unix systems; this need has been eliminated by the port to GNU/Linux. The main use for this module now is that it helps TblDisp report the state table contents in a precise but readable fashion.

Public routines:

Init -- Prepare module for operation

Decode -- Convert text containing \ escapes to binary

EncodeByte -- Provide printable encoding for byte

DecodeLine -- Edit line to replace escape seq's