Escape Sequence - Control Characters

Control Characters

A control character is a character that, in isolation, has some control function, such as carriage return (CR). Escape sequences, by contrast, consist of an escape character or sequence which changes the interpretation of following characters.

A common use of escape sequences is in fact to remove control characters found in a binary data stream so that they will not cause their control function by mistake. In this case, the control character is replaced by a defined "escape character" (which need not be the US-ASCII Escape Character) and another character; after exiting the context where the control character would have caused an action, the sequence is recognized and replaced by the removed character. To transmit the "escape character" itself, two copies are sent.

The earlier VT52 terminal used simple digraph commands like escape-A: in isolation, "A" simply meant the letter "A", but as part of the escape sequence "escape-A", it had a different meaning. The VT52 also supported parameters: it was not a straightforward control language encoded as substitution.

Read more about this topic:  Escape Sequence

Famous quotes containing the words control and/or characters:

    Religion differs from magic in that it is not concerned with control or manipulation of the powers confronted. Rather it means submission to, trust in, and adoration of, what is apprehended as the divine nature of ultimate reality.
    Joachim Wach (1898–1955)

    Of all the characters I have known, perhaps Walden wears best, and best preserves its purity. Many men have been likened to it, but few deserve that honor. Though the woodchoppers have laid bare first this shore and then that, and the Irish have built their sties by it, and the railroad has infringed on its border, and the ice-men have skimmed it once, it is itself unchanged, the same water which my youthful eyes fell on; all the change is in me.
    Henry David Thoreau (1817–1862)