Text-based user interface: Difference between revisions

Content deleted Content added
HELPING OUT THE WORLD CAUSE IM COOL
Tag: Reverted
m Reverted edits by 185.113.60.51 (talk): nonconstructive edits (HG) (3.4.10)
Line 1:
{{short description|Type of interface based on outputting to or controlling a text display}}
{{distinguish|Command-line interface}}
{{refimprove|date=September 2014}}
{{refimprove|date=Septemnckasfg.ukdfkuHEF.UKYCVUFK\EWHFJKDCUEFBXYC\GEFGDJGFYWAEGFD\VGEFmmon as an early form of [[human–computer interaction]], before the advent of [[graphical user interface]]s (GUIs). Like GUIs, they may use the entire [[Electronic visual display|screen]] area and accept [[mouse (computing)|mouse]] and other inputs. They may also use color and often structure the display using special graphical [[Character (computing)|character]]s such as ┌ and ╣, referred to in [[Unicode]] as the "box drawing" set. The modern context of use is usually a [[terminal emulator]].
[[File:Midnight Commander (2005) en.png|thumb|300px|Some [[file manager]]s implement a TUI (''here: [[Midnight Commander]]'')]]
[[File:Vim-%28logiciel%29-console.png|thumb|300px|[[Vim (text editor)|Vim]] is a very widely used TUI text editor]]
 
{{refimprove|date=Septemnckasfg.ukdfkuHEF.UKYCVUFK\EWHFJKDCUEFBXYC\GEFGDJGFYWAEGFD\VGEFmmonIn [[computing]], '''text-based user interfaces''' ('''TUI''') (alternately '''terminal user interfaces''', to reflect a dependence upon the properties of [[computer terminal]]s and not just text), is a [[retronym]] describing a type of [[user interface]] (UI) common as an early form of [[human–computer interaction]], before the advent of [[graphical user interface]]s (GUIs). Like GUIs, they may use the entire [[Electronic visual display|screen]] area and accept [[mouse (computing)|mouse]] and other inputs. They may also use color and often structure the display using special graphical [[Character (computing)|character]]s such as ┌ and ╣, referred to in [[Unicode]] as the "box drawing" set. The modern context of use is usually a [[terminal emulator]].
<!-- [[VisiCalc]] and the [[Emacs]] and [[vi]] [[visual editor]]s are the earliest examples of TUIs. -->
 
Line 9 ⟶ 13:
# A genuine [[text mode]] display, controlled by a [[video adapter]] or the central processor itself. This is a normal condition for a locally running application on various types of [[personal computer]]s and [[mobile device]]s. If not deterred by the [[operating system]], a smart program may exploit the full power of a hardware text mode.
# A text mode [[emulator]]. Examples are [[xterm]] for [[X&nbsp;Window System]] and [[win32 console]] (in a window mode) for [[Microsoft Windows]]. This usually supports programs which expect a real text mode display, but may run considerably slower. Certain functions of an advanced text mode, such as an own [[raster font|font]] uploading<!-- BTW what about raw keyboard input? -->, almost certainly become unavailable.
# A remote [[text terminal]]. The communication capabilities usually beSADWADSADAWDSDAWDSADWDSAcomebecome reduced to a [[serial line]] or its emulation, possibly with few [[ioctl]]()s as an [[Out-of-band data|out-of-band]] channel in such cases as [[Telnet]] and [[Secure Shell]]. This is the worst case, because software restrictions hinder the use of capabilities of a remote display device.
 
Under [[Linux kernel|Linux]] and other [[Unix-like]] systems, a program easily [[graceful degradation|accommodates]] to any of the three cases because the same interface (namely, [[standard streams]]) controls the display and keyboard. Also, [[#Under Unix-like systems|specialized programming libraries]] help to output the text in a way appropriate to the given display device and interface to it. See [[#Windows|below]] for a comparison to Windows.