Text user interface

Text user interface

TUI short for: Text User Interface or "Textual User Interface" (and sometimes "Terminal User Interface"), is a retronym that was coined sometime after the invention of graphical user interfaces, to distinguish them from text based user interfaces. TUIs are different from command-line interfaces in that, like GUIs, they use the entire screen area and do not necessarily provide line-by-line output. However, TUIs only use text and symbols available on a typical text terminal, while GUIs typically use high resolution graphics modes.

TUI on ANSI-compatible terminals

ANSI standard ANSI X3.64 defines a standard set of escape sequences that can be used to drive terminals to create TUIs (see ANSI escape code.) However, not all terminals follow this standard, and many non-compatible but functionally equivalent sequences exist.


TUI under MS-DOS and Microsoft Windows

On IBM PCs and compatibles, the BIOS and MS-DOS system calls provide a way of writing text on the screen, and the ANSI.SYS driver could process standard ANSI escape sequences. However, programmers soon learned that writing data directly to the screen buffer was much faster, as well as being much simpler to program and less error-prone. This change in programming technique resulted in a large number of MS-DOS TUI programs.

Most often those programs used blue background for the main screen, with white or yellow characters, although commonly they had also user color customization. Later, the interface became deeply influenced by GUIs, adding pull-down menus and dialog boxes. Soon mouse input was added (even at graphical resolution in some cases thanks to the ability of the EGA and VGA display adapters to redefine the text character shapes by software), providing additional functionality.

Some notable programs of this kind were Microsoft Word, MS-DOS Shell, WordPerfect, Norton Commander, Borland Turbo C (which included the conio library), Lotus 1-2-3 and many others. Some of these interfaces survive even during the Microsoft Windows 3."x" age in the first 1990's; for example, the Microsoft C 6.0 compiler, employed to write true GUI programs under 16-bit MS Windows, still features its own TUI.

Since the beginning, Microsoft Windows includes a console for displaying MS-DOS software. Later versions added the Win32 console as a native interface for command line and TUI programs. The console usually opens in window mode, but it can be switched to full true text mode screen and vice versa by pressing the Alt and Enter keys together.


TUI under Unix-like systems

In Unix-like operating systems, TUIs are often constructed using the terminal control library "curses", or "ncurses", a mostly compatible library.

The advent of the "curses" library with Berkeley Unix created a portable and stable API for which to write TUIs. The ability to talk to various text terminal types using the same interfaces led to more widespread use of "visual" Unix programs, which occupied the entire terminal screen instead of using a simple line interface. This can be seen in text editors such as vi, mail clients such as pine or mutt, system management tools such as SMIT or SAM, and web browsers such as lynx. Some applications, such as w3m, as well as older versions of pine and vi use the less-capable termcap library, performing many of the functions associated with curses within the application.

In addition, the rise in popularity of Linux brought many former MS-DOS users to a Unix-like platform, which has fostered an MS-DOS influence in many TUIs. The program minicom, for example, is modeled after the popular MS-DOS program Telix. Some other TUI programs, such as the Twin desktop, were ported over.

The proprietary Mac OS X text editor BBEdit includes a 'shell worksheet' function that works as a full-screen shell window.

Other TUIs

* The full screen editor of the Commodore 8-bit computers was advanced in its market segment for its time. Users could move the cursor over the entire screen area, entering and editing BASIC program lines, as well as direct mode commands.
* Apple's Macintosh Programmer's Workshop programming environment included Commando, a TUI shell. It was the inspiration for BBEdit's shell worksheet.

ee also

* SMG$
* Text terminal for the computer interface of textual programs
* Text mode
* Text mode demos
* Command-line interface
* Console application
* Turbo Vision
* ncurses
* PDCurses
* Roguelike, a type of game typically using a TUI


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Text User Interface — Tui (Text User Interface) est une bibliothèque graphique utilisant comme composant des caractères ASCII et des couleurs. Installé par défaut sur les environnements Linux, et disponible sous Windows, ce type de programme est très utile lors de… …   Wikipédia en Français

  • Text User Interface — Beispiel für eine MS DOS Anwendung mit zeichenorientierter Benutzerschnittstelle Zeichenorientierte Benutzerschnittstelle (engl. Text User Interface, kurz TUI) ist ein Retronym, welches nach dem Aufkommen der grafischen Benutzeroberflächen… …   Deutsch Wikipedia

  • Text user interface — Beispiel für eine MS DOS Anwendung mit zeichenorientierter Benutzerschnittstelle Zeichenorientierte Benutzerschnittstelle (engl. Text User Interface, kurz TUI) ist ein Retronym, welches nach dem Aufkommen der grafischen Benutzeroberflächen… …   Deutsch Wikipedia

  • User Interface — Dieser Artikel oder Abschnitt bedarf einer Überarbeitung. Näheres ist auf der Diskussionsseite angegeben. Hilf mit, ihn zu verbessern, und entferne anschließend diese Markierung. Hi …   Deutsch Wikipedia

  • User interface — Dieser Artikel oder Abschnitt bedarf einer Überarbeitung. Näheres ist auf der Diskussionsseite angegeben. Hilf mit, ihn zu verbessern, und entferne anschließend diese Markierung. Hi …   Deutsch Wikipedia

  • Graphical user interface — Screenshot of KDE Plasma Desktop GUI. A screenshot of the GNOME Shell GUI …   Wikipedia

  • User interface — The user interface, in the industrial design field of human–machine interaction, is the space where interaction between humans and machines occurs. The goal of interaction between a human and a machine at the user interface is effective operation …   Wikipedia

  • History of the graphical user interface — The graphical user interface, understood as the use of graphic icons and a pointing device to control a computer, has over the last four decades a steady history of incremental refinements built on some constant core principles. Several vendors… …   Wikipedia

  • Aqua (user interface) — Aqua is the graphical user interface and primary visual theme of Apple Inc. s Mac OS X operating system. It is based around the theme of water, as its name suggests,The word aqua is Latin for water.] with droplet like elements and liberal use of… …   Wikipedia

  • Multilingual User Interface — For other localizations, not only Windows specified, see Internationalization and localization. Windows Vista Ultimate Start Menu before Traditional Chinese MUI was applied (left) and after Traditional Chinese MUI was applied (right) Multilingual …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”