请输入您要查询的百科知识:

 

词条 Xterm
释义

  1. Features

     Terminal emulation  Customization  Protocols 

  2. See also

  3. References

  4. External links

{{short description|standard terminal emulator for the X Window system}}{{lowercase}}{{distinguish|text=X terminal display/input terminal hardware}}{{Infobox software
|name = xterm
|screenshot =
|caption = A sample xterm, running the Bash shell, showing a listing of /etc.
|author = Mark Vandevoorde
|developer = Thomas Dickey
|released = {{Start date and age|1984}}
|genre = Terminal emulator
|license = MIT/X Consortium License
|website = {{URL|https://invisible-island.net/xterm/}}
|latest_release_version = Patch #331
|latest_release_date = {{start date and age|2017|12|30}}[1]
|operating_system = X Window System

In computing, xterm is the standard terminal emulator for the X Window System. A user can have many different invocations of xterm running at once on the same display, each of which provides independent input/output for the process running in it (normally the process is a Unix shell).[2][3]

Xterm originated prior to the X Window System. It was originally written as a stand-alone terminal emulator for the VAXStation 100 (VS100) by Mark Vandevoorde, a student of Jim Gettys, in the summer of 1984, when work on X started. It rapidly became clear that it would be more useful as part of X than as a standalone program, so it was retargeted to X. As Gettys tells the story, "part of why xterm's internals are so horrifying is that it was originally intended that a single process be able to drive multiple VS100 displays."[4]

After many years as part of the X reference implementation, around 1996 the main line of development then shifted to XFree86 (which itself forked from X11R6.3), and it is now maintained by Thomas Dickey.

Many xterm variants are also available.[5] Most terminal emulators for X started as variations on xterm.

Features

Terminal emulation

Early versions emulated the VT102 and Tektronix 4014.[6] Later versions added control sequences for DEC and other terminals such as:

  • VT220: Added in patch 24.[7]
  • VT320: Added in patch 24.[7]
  • VT420: DECSTR (soft terminal reset) was added in patch 34.[8]
  • VT520: Although not officially emulated, parts of VT520 features were implemented.[9] Controls DECSMBV and DECSWBV for setting the margin- and warning-bell volume was added in patch 254.[10]

Customization

As with most X applications, xterm can be customized via global X resources files (e.g. /usr/lib/X11/app-defaults/XTerm), per-user resource files (e.g. ~/XTerm, ~/.Xresources), or command-line arguments. Most of the command-line options correspond to resource settings, as noted in the manual page.

While the name of the program is xterm, the X resource class is XTerm. The uxterm script overrides this, using the UXTerm resource class.

Xterm normally does not have a menu bar. To access xterm's three menus, users hold the control key and press the left, middle, or right mouse button. Support for a "toolbar" can be compiled-in, which invokes the same menus.

Protocols

Supported terminal control functions include:

  • ANSI X3.64
  • Digital Equipment Corporation VT family:
  • VT52
  • VT102
  • VT220
  • Tektronix family:
  • Tektronix 4014

In addition to protocols used in commercially available terminal machines, xterm added a few protocols that have been adopted by other terminal emulators, such as:

  • Mouse tracking: Support for buttons 4 and 5 was added in patch 120.[11]
  • 16-colour terminal protocol: Added in patch 39.[12]
  • 256 colors terminal protocol: Added in patch 111.[13]
  • 88-colour terminal protocol: Added in patch 115.[14]
  • Custom colour palette: Ability to specifying the RGB values for palette entries was added in patch 111.[13]
{{clearleft}}

See also

{{Portal|Free and open-source software}}
  • Comparison of terminal emulators
  • luit, a character set converter invoked automatically by xterm when necessary
  • Vttest, vt100/vt220/xterm test utility

References

1. ^{{cite web |url=https://invisible-island.net/xterm/xterm.log.html |title=XTERM – Change Log |first=Thomas E. |last=Dickey |publisher=Thomas E. Dickey |accessdate=2018-01-04 |archive-url=https://web.archive.org/web/20171229222002/http://invisible-island.net/xterm/xterm.log.html |archive-date=2017-12-29 |dead-url=no |df= }}
2. ^{{cite book|isbn=978-0596555191|title=Mac OS X for Unix Geeks (Leopard): Demistifying the Geekier Side of Mac OS X|last1=Rothman|first1=Ernest E|last2=Jepson|first2=Brian|last3=Rosen|first3=Rich|date=2008-09-18}}
3. ^{{cite book|isbn=978-0789718051|title=The Complete Idiot's Guide to UNIX|last1=Wagner|first1=Bill|year=1998}}
4. ^{{cite web |url = https://invisible-island.net/xterm/xterm.faq.html#who_did_it |title = XTerm – Frequently Asked Questions (FAQ), Who wrote XTerm? |author = Thomas E. Dickey |access-date = 2018-06-04 |archive-url = https://web.archive.org/web/20180624104926/https://invisible-island.net/xterm/xterm.faq.html#who_did_it |archive-date = 2018-06-24 |dead-url = no |df = }}
5. ^{{cite web |url = https://invisible-island.net/xterm/xterm.faq.html#other_versions |title = XTerm – Frequently Asked Questions (FAQ), What versions are available? |author = Thomas E. Dickey |access-date = 2018-06-04 |archive-url = https://web.archive.org/web/20180624104926/https://invisible-island.net/xterm/xterm.faq.html#other_versions |archive-date = 2018-06-24 |dead-url = no |df = }}
6. ^{{cite web|url=https://invisible-island.net/xterm/xterm.faq.html#what_is_it|title=What is XTerm?|author=Thomas E. Dickey|access-date=2018-06-04|archive-url=https://web.archive.org/web/20180624104926/https://invisible-island.net/xterm/xterm.faq.html#what_is_it|archive-date=2018-06-24|dead-url=no|df=}}
7. ^{{Cite web |url=http://invisible-island.net/xterm/xterm.log.html#xterm_24 |title=Patch #24 - 1996/8/11 - XFree86 3.1.2Ee |access-date=2008-02-25 |archive-url=https://web.archive.org/web/20011222194057/http://invisible-island.net/xterm/xterm.log.html#xterm_24 |archive-date=2001-12-22 |dead-url=no |df= }}
8. ^{{Cite web |url=http://invisible-island.net/xterm/xterm.log.html#xterm_34 |title=Patch #34 - 1997/1/5 - XFree86 3.2o |access-date=2008-02-25 |archive-url=https://web.archive.org/web/20011222194057/http://invisible-island.net/xterm/xterm.log.html#xterm_34 |archive-date=2001-12-22 |dead-url=no |df= }}
9. ^{{Cite web |url=http://invisible-island.net/xterm/xterm.faq.html#why_not_vt520 |title=Why not emulate VT520? |access-date=2007-01-06 |archive-url=https://www.webcitation.org/664sHNOIb?url=http://invisible-island.net/xterm/xterm.faq.html#why_not_vt520 |archive-date=2012-03-11 |dead-url=no |df= }}
10. ^{{Cite web |url=http://invisible-island.net/xterm/xterm.log.html#xterm_254 |title=Patch #254 - 2010/1/6 |access-date=2008-02-25 |archive-url=https://web.archive.org/web/20011222194057/http://invisible-island.net/xterm/xterm.log.html#xterm_254 |archive-date=2001-12-22 |dead-url=no |df= }}
11. ^{{Cite web|url=http://invisible-island.net/xterm/xterm.log.html#xterm_120 |title=Patch #120 - 1999/10/28 - XFree86 3.9.16c}}
12. ^{{Cite web|url=http://invisible-island.net/xterm/xterm.log.html#xterm_39 |title=Patch #39 - 1997/5/24 - XFree86 3.2Xl}}
13. ^{{Cite web|url=http://invisible-island.net/xterm/xterm.log.html#xterm_111 |title=Patch #111 - 1999/7/10 - XFree86 3.9Pw}}
14. ^{{Cite web|url=http://invisible-island.net/xterm/xterm.log.html#xterm_115 |title=Patch #115 - 1999/9/18 - XFree86 3.9.16a}}

External links

{{Commons|xterm}}
  • {{Official|https://invisible-island.net/xterm/xterm.html}}
{{Terminal emulator}}{{XWinSys}}{{FOLDOC}}

4 : Free software programmed in C|Free terminal emulators|Software using the MIT license|X Window programs

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 11:48:35