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:

    Sight is the least sensual of all the senses. And we strain ourselves to see, see, see—everything, everything through the eye, in one mode of objective curiosity.
    —D.H. (David Herbert)

    Eclecticism is the degree zero of contemporary general culture: one listens to reggae, watches a western, eats McDonald’s food for lunch and local cuisine for dinner, wears Paris perfume in Tokyo and “retro” clothes in Hong Kong; knowledge is a matter for TV games. It is easy to find a public for eclectic works.
    Jean François Lyotard (b. 1924)

    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)