Content deleted Content added
Changed "Putty" links to "PuTTY" (name of the application) |
m copyedit - typo in Emulator section |
||
(40 intermediate revisions by 23 users not shown) | |||
Line 1:
{{short description|Program that emulates a video terminal}}
{{
[[File:Xterm.png|thumb|300px|[[xterm]], a terminal emulator designed for the [[X Window System]]]]
[[File:Windows Terminal v1.0 1138x624.png|thumb|300px|[[Windows Terminal]], an open-source terminal emulator for [[Windows 10]] and [[Windows 11]]]]
A '''terminal emulator''', or '''terminal application''', is a [[Application software|computer program]] that [[Emulator|emulates]] a video [[Computer terminal#Dumb terminals|terminal]] within
A terminal window allows the user access to a text terminal and all its applications such as [[command-line interface]]s (CLI) and [[text user interface]] (TUI) applications. These may be running either on the same machine or on a different one via [[telnet]], [[Secure Shell|ssh]], [[dial-up]], or over a direct [[serial port|serial connection]]. 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 (computers)|cursor]] position, etc. Examples include the family of terminal control sequence standards
== Background ==
In the early days of computing, with the advent of interactive computing, the prevailing model involved a central computer connected to multiple terminals.<ref>[http://www.inf.fu-berlin.de/lehre/SS01/hc/minicomp/ FU Berlin, 3. Minicomputer architecture]</ref> This configuration, known as the centralized or mainframe model, featured a powerful central computer that performed all the processing tasks, while [[Computer terminals|terminals]] served as input/output devices for users to interact with the system. These systems were initially character based.
=== Character
{{Excerpt|Computer_terminal|Character-oriented
== Emulators
When personal computers became ubiquitous in the 1980s, they offered the option of running software on the user's
[[Workstation]]s, usually running versions of [[Unix]], also became common in the 1980s. Unix systems usually provided access to the [[command line]] with locally-attached or dial-up terminals. Unix workstations were designed to be used primarily through a [[graphical user interface]] (GUI); to provide access to the command line, the GUI included terminal emulator applications that behaved like locally-attached terminals.
▲When personal computers became ubiquitous in the 1980s, they offered the option of running software on the user's computer personal computer, providing an opportunity to replace the expensive and space consuming hardware terminals with something that had additional functions<ref>[https://www.emtec.com/zoc/terminal-emulator.html Emulating a Terminal on Personal Computers]</ref>. Immediately software became available, that could emulate the functions of the hardware terminals on a PC. Examples of such software for [[DOS]] were [[Telix]] or Telemate, which was published in 1988 and could emulate a DEC VT102 terminal <ref>[http://www.thealmightyguru.com/Wiki/index.php?title=Telemate Telemate Wiki]</ref>.
During the 1990s, new operating systems like [[Windows]] and [[OS/2]] arrived, providing the technical background for more terminal emulators like [https://winworldpc.com/product/telix/100-for-windows Telix for Windows], [[ZOC (software)|ZOC for OS/2]], or [[PuTTY]], which was initially released for Windows in 1998 and which (together with its derivates)
Through the [[
==Examples of terminals emulated==
Many terminal emulators have been developed for physical hardware terminals such as [[VT52]], [[VT100]], [[VT220]], [[VT320]], [[IBM 3270|IBM 3270/8/9/E]], [[IBM 5250]], [[IBM 3179G]], [[Data General]] D211, [[Hewlett-Packard]] HP700/92, Sperry/Unisys 2000-series [[Uniscope|UTS60]], Burroughs/Unisys A-series T27/TD830/ET1100, [[Applied Digital Data Systems|ADDS]] ViewPoint,
Some terminal emulators, such as [[xterm]], implement additional features not present in the emulated terminal.<ref>{{cite web |url=https://invisible-island.net/xterm/xterm.faq.html#what_vt220 |title=XTerm - Frequently Asked Questions (FAQ) |at=Why a VT220? |author=Thomas E. Dickey}}</ref>
Additionally, programs have been developed to emulate assorted [[system console]] "terminals" such as the [[Sun workstation]] console and the [[Linux console]].
Finally, some emulators simply refer to a set of standards, such as the standards for [[ANSI escape code]]s.
Such programs are available on many platforms, including [[DOS]], [[Unix-like]] systems including [[Linux]] and [[macOS]], [[Microsoft Windows|Windows]], and embedded operating systems found in cellphones and industrial hardware.
== Implementation details ==
Line 34 ⟶ 41:
In the past, [[Unix]] and [[Unix-like]] systems used serial port devices such as [[RS-232]] ports, and provided {{Code|/dev/*|text}} [[device file]]s for them.<ref>{{Cite web|title=A Brief History of Terminal Emulation {{!}} Turbosoft|url=https://www.ttwin.com/blog/270-history-terminal-emulation|access-date=2021-10-04|website=www.ttwin.com}}</ref>
With terminal emulators
There are also special [[virtual console]] files like <code>/dev/console</code>. In text mode, writing to the file displays text on the virtual console and reading from the file returns text the user writes to the virtual console. As with other [[
Some terminal emulators also include escape sequences for configuring the behavior of the terminal to facilitate good interoperation between the terminal and programs running inside of it, for example to configure [[paste bracketing]].
The virtual consoles can be configured in the file <code>/etc/inittab</code> read by ''[[init]]''
==== CLI tools ====
Line 57 ⟶ 64:
{{main|Computer terminal#Modes}}
Terminal emulators may implement local editing, also known as "line-at-a-time mode". This is also mistakenly referred to as "[[half-duplex]]".{{
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.{{sfn|Miller|2009|p=590, 591}}
Line 91 ⟶ 98:
| first = Ramesh
| last = Bangia
| publisher = Laxmi
| year = 2010
| isbn = 978-93-8029-815-3}}
Line 128 ⟶ 135:
| encyclopedia = Computer Science and Communications Dictionary
| volume = 1
| title = terminal emulation | page=1763 |doi=10.1007/1-4020-0613-6_19359
| first = Martin H.
| last = Weik
Line 137 ⟶ 145:
==External links==
{{Commons category|Terminal emulators}}
* [http://www.linfo.org/terminal_window.html Terminal Window Definition] by The Linux Information Project (LINFO)
* [https://invisible-island.net/vttest/ VTTEST – VT100/VT220/XTerm test utility] {{dash}} A terminal test utility by Thomas E. Dickey
{{Terminal emulator}}
|