Text User Interface Article Index for
Text
Website Links For
Text
 

Information About

Text User Interface





TUI ON ANSI-COMPATIBLE TERMINALS

.]]

ANSI standard ANSI X3.64 defines a standard set of Escape Sequence s 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

for MS-DOS 6.22.]]
On IBM PC s, 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. Some notable programs of this kind were Microsoft Word , MS-DOS Shell , WordPerfect , Norton Commander , Borland Turbo C (which included the Conio Library ), and many others. Most often those programs used blue background for the main screen, with white or yellow characters. Soon Mouse input was added, providing additional functionality. Later, the interface became deeply influenced by GUI s, adding Pull-down Menu s and Dialog Box es.


TUI UNDER WIN32


user interface on current versions of Windows hasn't changed much since its release for MS-DOS 5.0.]]

Today Microsoft Windows includes Win32 Console as a convenient interface for TUI programs, even though a Public Domain version of Conio exists too. However, most console applications under Win32 are command-line tools. Notable full-screen TUI programs for Win32 are Edit , the plain-text editor originally developed for MS-DOS and the Orthodox File Manager FAR Manager (a clone of Norton Commander ).


TUI UNDER UNIX-LIKE SYSTEMS

to configure the graphical system.]]
In the Unix world, 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 Editor s such as Vi , Mail Clients such as Pine or Mutt , system management tools such as SMIT or SAM , and Web Browser s such as Lynx or W3m .

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.


SEE ALSO