Terminal emulator

From Wikipedia, the free encyclopedia
xterm, a popular terminal emulator designed for the X Window System

A terminal emulator, terminal application, term, or tty for short, is a program that emulates a video terminal within some other display architecture. Though typically synonymous with a shell or text terminal, the term terminal covers all remote terminals, including graphical interfaces. A terminal emulator inside a graphical user interface is often called a terminal window.

A terminal window allows the user access to a text terminal and all its applications such as command-line interfaces (CLI) and text user interface (TUI) applications. These may be running either on the same machine or on a different one via telnet, ssh, or dial-up. On Unix-like operating systems, it is common to have one or more terminal windows connected to the local machine.

Terminals usually support a set of escape sequences for controlling color, cursor position, etc. Examples include the family of terminal control sequence standards known as ECMA-48, ANSI X3.64 or ISO/IEC 6429.

Local echo

Terminal emulators may implement a local echo function, which may erroneously be named "half-duplex," or still slightly incorrectly "echoplex" (which is formally an error detection mechanism rather than an input display option).[1][2][3][4]

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. It is not transmitted until the user signals its completion, usually with the ↵ Enter key on the keyboard or a "send" button of some sort in the user interface. At that point the entire line is transmitted. 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.[1][5] 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).[6]

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.[7]

Synchronous terminals

In asynchronous terminals data can flow in any direction at any time. In synchronous terminals a protocol controls who may send data when. IBM 3270-based terminals used with IBM mainframe computers are an example of synchronous terminals. They operate in an essentially "screen-at-a-time" mode (also known as block mode). Users can make numerous changes to a page, before submitting the updated screen to the remote machine as a single action.

Terminal emulators that simulate the 3270 protocol are available for most operating systems, for use both by those administering systems such as the z9, as well as those using the corresponding applications such as CICS.

Other examples of synchronous terminals include the IBM 5250, ICL 7561, Honeywell Bull VIP7800 and Hewlett-Packard 700/92.

Examples of terminals emulated

Many terminal emulators have been developed for terminals such as VT100, VT220, VT320, IBM 3270/8/9/E, IBM 5250, IBM 3179G, Data General D211, Hewlett Packard HP700/92, Sperry/Unisys 2000-series UTS60, Burroughs/Unisys A-series T27/TD830/ET1100, ADDS ViewPoint, Sun console, QNX, AT386, SCO-ANSI, SNI 97801, Televideo, and Wyse 50/60. Additionally, programs have been developed to emulate other terminal emulators such as xterm and assorted console terminals (e.g., for Linux). Finally, some emulators simply refer to a standard, such as ANSI. Such programs are available on many platforms ranging from DOS and Unix to Windows and macOS to embedded operating systems found in cellphones and industrial hardware.

See also


  1. ^ a b Daintith 2004, p. 171.
  2. ^ Weik 2000, "echo" p. 478.
  3. ^ Weik 2000, "echoplex" p.479.
  4. ^ Weik 2000, "echoplex mode" p. 479.
  5. ^ Bangia 2010, p. 324.
  6. ^ Stevens & Wright 1994, p. 413.
  7. ^ Miller 2009, p. 590, 591.


  • Bangia, Ramesh (2010). "line mode terminal". Dictionary of Information Technology. Laxmi Publications, Ltd. ISBN 978-93-8029-815-3. 
  • Daintith, John (2004). "echo". Oxford dictionary of computing (5th ed.). Oxford University Press. ISBN 978-0-19-860877-6. 
  • Miller, Philip M. (2009). TCP/IP – The Ultimate Protocol Guide. 2 – Applications, Access and Data Security. Universal-Publishers. ISBN 978-1-59942-493-4. 
  • Stevens, W. Richard; Wright, Gary R. (1994). TCP/IP illustrated. Addison-Wesley professional computing series. 1: The protocols. Addison-Wesley. ISBN 978-0-201-63346-7. 
  • Weik, Martin H. (2000). Computer Science and Communications Dictionary. 1. Springer. ISBN 978-0-7923-8425-0. 

External links

  • Terminal Emulation at DMOZ
  • Terminal Window Definition by The Linux Information Project (LINFO)
Retrieved from "https://en.wikipedia.org/w/index.php?title=Terminal_emulator&oldid=766964452"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Terminal_emulator
This page is based on the copyrighted Wikipedia article "Terminal emulator"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA