c肽高说明什么| 昆山有什么好玩的地方| 拉美人是什么人种| 什么是肝脏纤维化| 喉结肿大是什么原因| 毛重是什么| 前列腺炎吃什么食物好| 弥勒佛为什么是未来佛| 为什么会做梦中梦| 老年人吃什么奶粉好| 牵牛花像什么| 什么是半衰期| 砭石是什么东西| 流产挂什么科| 飞机打多了会有什么后果| 茉莉什么时候开花| 支付宝提现是什么意思| 1800年是什么朝代| 充电玩手机有什么危害| nmd是什么的缩写| crh是什么意思| 要强的女人是什么性格| 请佛容易送佛难什么意思| 月经量少是什么原因| 右肩膀疼是什么原因| 绿卡有什么用| 枫叶的花语是什么| 呆若木鸡的意思是什么| 孕期用什么护肤品| 猫屎为什么那么臭| 有什么办法让男人死精| 杏花代表什么生肖| 藏在我回忆里的那个人什么歌| 阿玛尼是什么意思| item是什么意思| 为什么有钱人不去植发| 吗啡是什么药| 脚面疼是什么原因引起的| 孕妇感冒可以吃什么感冒药| 大小脸去医院挂什么科| 梦见婆婆去世预示什么| 酉读什么| 中国精神是什么| 阳虚吃什么中成药| 我战胜了什么| 门对门风水有什么说法| 肌肉拉伤吃什么药| 腹水是什么| 什么食物可以降血糖| 多囊是什么原因造成的| mews评分是什么意思| 下饭是什么意思| 减肥为什么让早上空腹喝咖啡| 川崎病是什么原因引起的| 端午节在什么时候| cordura是什么面料| 珍珠有什么功效| 苏字五行属什么| 阳虚吃什么中成药| 六子是什么意思| 惺惺相惜什么意思| 做梦梦见屎是什么意思| 女人脸色发黄吃什么补得最快| 胡言乱语是什么意思| 低密度脂蛋白高是什么意思| 梦见父亲去世预示什么| 解落三秋叶的解是什么意思| 腰椎间盘膨出是什么意思| 肠鸣是什么原因引起的| 梦见跟别人打架是什么意思| 05是什么生肖| 肠粉是用什么材料做的| kim是什么意思| 普洱茶是属于什么茶| 羊肉不能和什么水果一起吃| 淋巴细胞百分比偏低是什么原因| 省政府秘书长什么级别| 维生素e吃多了有什么副作用| 三只手是什么意思| 什么是气胸| 降结肠在什么位置| 内心孤独的人缺少什么| 荧光黄是什么颜色| 谷氨酸钠是什么| 头陀是什么意思| 熊吃什么食物| 什么病会引起恶心| 喝酒前吃什么| 家庭主妇是什么意思| 乳房胀痛吃什么药| 胰岛素有什么副作用| 心有灵犀是什么意思| 钧鉴是什么意思| 什么是血液病| 杨梅用什么酒泡最好| 三顾茅庐是什么意思| 大连是什么海| 女性尿血挂什么科| 11月27是什么星座| 犀利什么意思| 手为什么会长水泡| 洗衣机脱水是什么意思| 点痣用什么方法最好| 梭子蟹什么季节吃最好| 空代表什么生肖| rsa是什么意思| 吃什么才能减肥最快| 自缢是什么意思| 血管瘤是什么引起的| 耳道炎用什么药最有效| ts是什么品牌| 幼儿园什么时候开学| 廓清是什么意思| 嘴馋是什么意思| 血糖挂什么科| 背胀是什么原因| 黄痰吃什么药| 五常大米是什么意思| 颌下淋巴结肿大吃什么药| 山东特产是什么| 来大姨妈吃什么对身体好| 飘雪是什么茶| 食道肿瘤有什么症状| 受委屈是什么意思| 沉稳是什么意思| 大姨妈发黑是什么原因| 1987是什么年| 石榴花是什么季节开的| 吃黄精有什么好处| 扇子骨是什么肉| 外阴瘙痒涂什么药膏| 关羽的刀叫什么名字| 举世无双是什么意思| 大雄宝殿是什么意思| 前三个月怀孕注意什么| 榨菜炒什么好吃| 左眼跳女人是什么预兆| 蹄花是什么| 拍身份证照片穿什么衣服| 痔核是什么样子图片| 左眼皮老是跳是什么原因| 卵黄囊是什么意思| 黄精和什么泡水喝最好| 盖碗适合泡什么茶| 英红九号红茶什么档次| 大姨妈一个月来两次是什么原因| 严重失眠挂什么科| rash什么意思| 这个季节吃什么菜好| 12月20日是什么星座| 海带补什么| 战五渣是什么意思| 知己什么意思| 肺气肿什么症状| 金鸡独立是什么意思| 乳果糖什么时候吃效果更佳| 老年人脚肿是什么原因| 7.1是什么日子| 康复科是主要治疗什么| mdr是什么意思| 属马与什么属相最配| 口幼读什么| 植脂末是什么东西| 人少了一魄什么反应| 54年属什么| 富屋贫人是什么意思| 肚子疼应该吃什么药| 乳房有硬块是什么原因| 梦见很多棺材是什么征兆| 亲子鉴定需要什么样本| 看灰指甲挂什么科| 什么是蝴蝶效应| 硫酸镁注射有什么作用| 以纯属于什么档次| 湿气重去医院挂什么科| 14年婚姻是什么婚| rn是什么意思| 脸部肿胀是什么原因| 军分区司令是什么级别| 龟苓膏有什么作用| 转基因是什么意思| 口水歌是什么意思| 早上起床眼屎多是什么原因| 磁共振平扫检查什么| 神经病和精神病有什么区别| 生殖器疱疹是什么| 九月十九是什么星座| 4月29号是什么星座| 种草什么意思| c3是什么| 泰山石敢当是什么意思| 冤亲债主是什么意思| 肛门下坠感是什么原因| 疮痈是什么意思| 颈部淋巴结肿大挂什么科| 低血压和低血糖有什么区别| 血气是什么意思| id医学上是什么意思| 什么叫个人修养| 展开的近义词是什么| mafia是什么意思| 2月13号是什么星座| 张宇的老婆叫什么名字| 什么月| 152是什么意思| 姓氏是什么意思| 儿童缺铁吃什么补得快| 地贫有什么症状| der是什么意思| jio是什么意思| 张予曦为什么像混血| 饭前吃药和饭后吃药有什么区别| 同归于尽是什么意思| 什么不生四字成语| 双绉是什么面料| 小鹿乱撞是什么意思| 腊月初七是什么星座| 做健身教练有什么要求| 犹太人割礼是什么意思| 什么的地方| 94岁属什么| 红和绿混合是什么颜色| 农历9月17日是什么星座| 来月经前有什么症状| 女生被操是什么感觉| 身上长肉疙瘩是什么原因| 血钾低吃什么| 骨折什么感觉| 大便次数多是什么原因| polo衫配什么裤子好看| 月下老人什么意思| 萎缩性胃炎什么症状| 1942年属什么生肖| 为什么不建议做冠脉cta检查| 小便尿出乳白色液体是什么问题| 姚晨为什么不红了| 医学上ca是什么意思| 唐僧姓什么| 蛇五行属什么| 脾肾阳虚是什么意思| 卉字五行属什么| tao是什么意思| 脑震荡有什么症状| 卡点是什么意思| 吃什么东西对心脏好| 搭桥香是什么意思| 外公的妈妈叫什么| 到底是什么| 莜面是什么面| 广东属于什么气候| 95年的属什么生肖| 怎么是什么意思| 孕期感冒可以吃什么药| 吃什么卵泡长得快又好| 目瞪口呆是什么生肖| 船舷是什么意思| 牛头马面指什么生肖| 怀孕前三个月不能吃什么| 吃完螃蟹不能吃什么| 什么是世界观| 脾气暴躁易怒是什么病| 面试要准备什么东西| 银梳子梳头有什么好处| 什么情况做肠镜| 百度Jump to content

同样是考二建,为什么别人复习时间比你少却考得

From Wikipedia, the free encyclopedia
(Redirected from Terminal emulation)
xterm, a terminal emulator designed for the X Window System
Windows Terminal, an open-source terminal emulator for Windows 10 and Windows 11
百度 ”意思是说:我们追求的道,就是返璞归真;我们追求的理,不用加任何装饰。

A terminal emulator, or terminal application, is a computer program that emulates a video terminal within another 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, dial-up, or over a direct 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 position, etc. Examples include the family of terminal control sequence standards that includes ECMA-48, ANSI X3.64, and ISO/IEC 6429.

Background

[edit]

In the early days of computing, with the advent of interactive computing, the prevailing model involved a central computer connected to multiple terminals.[1] This configuration, known as the centralized or mainframe model, featured a powerful central computer that performed all the processing tasks, while terminals served as input/output devices for users to interact with the system. These systems were initially character based.

Character-oriented terminals

[edit]
A Televideo ASCII character mode terminal

A character-oriented terminal is a type of computer terminal that communicates with its host one character at a time, as opposed to a block-oriented terminal that communicates in blocks of data. It is the most common type of data terminal, because it is easy to implement and program. Connection to the mainframe computer or terminal server is achieved via RS-232 serial links, Ethernet or other proprietary protocols.

Character-oriented terminals can be "dumb" or "smart". Dumb terminals[2] are those that can interpret a limited number of control codes (CR, LF, etc.) but do not have the ability to process special escape sequences that perform functions such as clearing a line, clearing the screen, or controlling cursor position. In this context dumb terminals are sometimes dubbed glass Teletypes, for they essentially have the same limited functionality as does a mechanical Teletype. This type of dumb terminal is still supported on modern Unix-like systems by setting the environment variable TERM to dumb. Smart or intelligent terminals are those that also have the ability to process escape sequences, in particular the VT52, VT100 or ANSI escape sequences.

Emulators

[edit]

When personal computers became ubiquitous in the 1980s, they offered the option of running software on the user's personal computer, providing an opportunity to replace the expensive and space consuming hardware terminals with something that had additional functions.[3] 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.[4]

Workstations, 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.

During the 1990s, new operating systems like Windows and OS/2 arrived, providing the technical background for more terminal emulators like Telix for Windows, ZOC for OS/2, or PuTTY, which was initially released for Windows in 1998 and which (together with its derivates) is still one a very popular choice to this day.[5]

Through the success of Linux, especially running on data centers and cloud servers,[6] the necessity of accessing remote computers through character based terminals remains. This is evident in the fact, that today lists of terminal emulators that could serve as alternative to the aforementioned PuTTY offers over 100 alternatives.[7][dubiousdiscuss]

Examples of terminals emulated

[edit]

Many terminal emulators have been developed for physical hardware terminals such as VT52, 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, AT386, Siemens Nixdorf (SNI) 97801, Televideo 925, and Wyse 50/60.

Some terminal emulators, such as xterm, implement additional features not present in the emulated terminal.[8]

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 codes.

Such programs are available on many platforms, including DOS, Unix-like systems including Linux and macOS, Windows, and embedded operating systems found in cellphones and industrial hardware.

Implementation details

[edit]

Unix-like systems

[edit]

In the past, Unix and Unix-like systems used serial port devices such as RS-232 ports, and provided /dev/* device files for them.[9]

With terminal emulators these device files are themselves emulated by a pair of pseudoterminal devices. These in turn emulate a physical port/connection to the host computing endpoint – hardware provided by operating system APIs, or software such as rlogin, telnet or SSH, among others.[10] In Linux systems, for example, these would be /dev/ptyp0 (for the master side) and /dev/ttyp0 (for the slave side) pseudoterminal devices respectively.

There are also special virtual console files like /dev/console. 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 text terminals, there are also special escape sequences, control characters and functions that a program can use, most easily via a library such as ncurses. For more complex operations, the programs can use console and terminal special ioctl system calls. One can compare devices using the patterns vcs ("virtual console screen") and vcsa ("virtual console screen with attributes") such as /dev/vcs1 and /dev/vcsa1.[11]

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 /etc/inittab read by init—typically it starts the text mode login process getty for several virtual consoles. X Window System can be configured in /etc/inittab or by an X display manager. A number of Linux distributions use systemd instead of init, which also allows virtual console configuration.

CLI tools

[edit]

Typical Linux system programs used to access the virtual consoles include:

  • chvt to switch the current virtual console
  • openvt to run a program on a new virtual console
  • deallocvt to close a currently unused virtual console

Local echo

[edit]

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).[12][13][14][15]

Line-at-a-time mode/Local editing

[edit]

Terminal emulators may implement local editing, also known as "line-at-a-time mode". This is also mistakenly referred to as "half-duplex".[citation needed] 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.[12][16] 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).[17]

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

Synchronous terminals

[edit]

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.

Virtual consoles

[edit]

Virtual consoles, also called virtual terminals, are emulated text terminals, using the keyboard and monitor of a personal computer or workstation. The word "text" is key since virtual consoles are not GUI terminals and they do not run inside a graphical interface. Virtual consoles are found on most Unix-like systems. They are primarily used to access and interact with servers, without using a graphical desktop environment.

See also

[edit]

Notes

[edit]
  1. ^ FU Berlin, 3. Minicomputer architecture
  2. ^ "What is dumb terminal? definition and meaning". BusinessDictionary.com. Archived from the original on August 13, 2020. Retrieved March 13, 2019.
  3. ^ "Emulating a Terminal on Personal Computers".
  4. ^ "Telemate Wiki".
  5. ^ "SSH Clients for Windows".
  6. ^ "Powering Linux in the Data-Center". [dead link]
  7. ^ "Alternatives to Putty".
  8. ^ Thomas E. Dickey. "XTerm - Frequently Asked Questions (FAQ)". Why a VT220?.
  9. ^ "A Brief History of Terminal Emulation | Turbosoft". www.ttwin.com. Retrieved 2025-08-06.
  10. ^ "Ubuntu Manpage: tty — general terminal interface". manpages.ubuntu.com. Retrieved 2025-08-06.
  11. ^ "Screen dumps". The Linux keyboard and console HOWTO. The Linux Documentation Project. Retrieved 2025-08-06. The current contents of the screen of /dev/ttyN can be accessed using the device /dev/vcsN (where `vcs' stands for `virtual console screen'). [...] From a program it is usually better to use /dev/vcsaN (`virtual console screen with attributes') instead - it starts with a header giving the number of rows and columns and the location of the cursor. See vcs(4).
  12. ^ a b Daintith 2004, p. 171.
  13. ^ Weik 2000, "echo" p. 478.
  14. ^ Weik 2000, "echoplex" p. 479.
  15. ^ Weik 2000, "echoplex mode" p. 479.
  16. ^ Bangia 2010, p. 324.
  17. ^ Stevens & Wright 1994, p. 413.
  18. ^ Miller 2009, p. 590, 591.

References

[edit]
[edit]
牡丹什么意思 灵芝长在什么地方 什么叫负氧离子 洗面奶是什么意思 王允和貂蝉什么关系
傻白甜的意思是什么 无下限是什么意思 牙膏什么牌子最好 零和游戏是什么意思 半月板后角变性什么意思
黄龙玉产地在什么地方 双肺纹理增强是什么意思 财代表什么生肖 势利眼的人有什么特征 close是什么意思
七月十三日是什么日子 漏尿吃什么药 基因突变发生在什么时期 鼻息肉是什么样的图片 南什么北什么的成语
乳岩是什么病hcv9jop4ns0r.cn 倒嗓是什么意思hcv8jop1ns8r.cn 阳历7月15日是什么星座hcv9jop7ns5r.cn 妹汁是什么意思hcv7jop7ns1r.cn 嗔心是什么意思hcv8jop1ns7r.cn
肾小球滤过率偏高说明什么hcv8jop7ns3r.cn pcr检测是什么hcv7jop9ns9r.cn 伥鬼是什么意思hcv9jop3ns4r.cn ost是什么意思hcv9jop3ns7r.cn 蛞蝓是什么动物hcv8jop9ns3r.cn
甲状腺结节有什么症状表现hcv8jop7ns1r.cn 炙是什么意思xinmaowt.com 鲸鱼属于什么类动物hcv7jop7ns2r.cn 脂肪有什么作用hcv9jop4ns0r.cn 吃什么降血糖hcv8jop4ns8r.cn
na是什么inbungee.com 手机是什么意思hcv9jop5ns5r.cn 蓝色预警是什么级别clwhiglsz.com 悦是什么意思mmeoe.com 一片狼藉是什么意思zsyouku.com
百度