Terminal Emulator - Line-at-a-time Mode/Local Editing

Line-at-a-time Mode/Local Editing

Terminal emulators may implement local editing, also known as "line-at-a-time mode". This is also mistakenly referred to as "half-duplex". In this mode, the terminal emulator only sends complete lines of input to the host system. The user enters and edits a line, but it is held locally within the terminal emulator as it is being edited and not transmitted until the user signals (usually with the ↵ Enter key on the keyboard or a "send" button of some sort on the user interface) the completion of the line. At that point the entire line is transmitted. Of course, line-at-a-time mode implies local echo, since otherwise the user will not be able to see the line as it is being edited and constructed. However, line-at-a-time mode is independent of echo mode and does not require local echo. When entering a password, for example, line-at-a-time entry with local editing is possible, but local echo is turned off (otherwise the password would be displayed).

The complexities of line-at-a-time mode are exemplified by the line-at-a-time mode option in the TELNET protocol. To implement it correctly, the Network Virtual Terminal implementation provided by the terminal emulator program must be capable of recognizing and properly dealing with "interrupt" and "abort" events that arrive in the middle of locally editing a line.

Read more about this topic:  Terminal Emulator

Famous quotes containing the words mode, local and/or editing:

    If Thought is capable of being classed with Electricity, or Will with chemical affinity, as a mode of motion, it seems necessary to fall at once under the second law of thermodynamics as one of the energies which most easily degrades itself, and, if not carefully guarded, returns bodily to the cheaper form called Heat. Of all possible theories, this is likely to prove the most fatal to Professors of History.
    Henry Brooks Adams (1838–1918)

    Surely there must be some way to find a husband or, for that matter, merely an escort, without sacrificing one’s privacy, self-respect, and interior decorating scheme. For example, men could be imported from the developing countries, many parts of which are suffering from a man excess, at least in relation to local food supply.
    Barbara Ehrenreich (b. 1941)

    In this century the writer has carried on a conversation with madness. We might almost say of the twentieth-century writer that he aspires to madness. Some have made it, of course, and they hold special places in our regard. To a writer, madness is a final distillation of self, a final editing down. It’s the drowning out of false voices.
    Don Delillo (b. 1926)