Text-based user interface

Some file managers implement a TUI (here: Midnight Commander)
Vim is a very widely used TUI text editor

In computing, text-based user interfaces (TUI) (alternately terminal user interfaces, to reflect a dependence upon the properties of computer terminals 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 bitmapped displays and modern conventional graphical user interfaces (GUIs). Like modern GUIs, they can use the entire screen area and may accept mouse and other inputs. They may also use color and often structure the display using box-drawing characters such as ┌ and ╣. The modern context of use is usually a terminal emulator.

Types of text terminals

From text application's point of view, a text screen (and communications with it) can belong to one of three types (here ordered in order of decreasing accessibility):

  1. 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 computers and mobile devices. If not deterred by the operating system, a smart program may exploit the full power of a hardware text mode.
  2. A text mode emulator. Examples are xterm for X 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 font uploading, almost certainly become unavailable.
  3. A remote text terminal. The communication capabilities usually become reduced to a serial line or its emulation, possibly with few ioctl()s as an 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 and other Unix-like systems, a program easily accommodates to any of the three cases because the same interface (namely, standard streams) controls the display and keyboard. See below for comparison to Windows.

Many TUI programming libraries are available to help developers build TUI applications.

On ANSI-compatible terminals

American National Standards Institute (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). Escape sequences may be supported for all three cases mentioned in the above section, allowing arbitrary cursor movements and color changes. However, not all terminals follow this standard, and many non-compatible but functionally equivalent sequences exist.

Under DOS and Microsoft Windows

The FreeDOS Edit user interface

On IBM Personal Computers and compatibles, the Basic Input Output System (BIOS) and DOS system calls provide a way to write 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 far faster and simpler to program, and less error-prone; see VGA-compatible text mode for details. This change in programming methods resulted in many DOS TUI programs. The Windows console environment is notorious for its emulation of certain EGA/VGA text mode features, particularly random access to the text buffer, even if the application runs in a window. On the other hand, programs running under Windows (both native and DOS applications) have much less control of the display and keyboard than Linux and DOS programs can have, because of aforementioned Windows console layer.

Mouse cursor in Impulse Tracker. A more precise cursor (per-pixel resolution) was achieved by regenerating the glyphs of characters used where the cursor was visible, at each mouse movement in real-time.[citation needed]

Most often those programs used a blue background for the main screen, with white or yellow characters, although commonly they had also user color customization. They often used box-drawing characters in IBM's code page 437. Later, the interface became deeply influenced by graphical user interfaces (GUI), adding pull-down menus, overlapping windows, dialog boxes and GUI widgets operated by mnemonics or keyboard shortcuts. Soon mouse input was added – either at text resolution as a simple colored box or at graphical resolution thanks to the ability of the Enhanced Graphics Adapter (EGA) and Video Graphics Array (VGA) display adapters to redefine the text character shapes by software – providing additional functions.

Some notable programs of this kind were Microsoft Word, DOS Shell, WordPerfect, Norton Commander, Turbo Vision based Borland Turbo Pascal and Turbo C (the latter included the conio library), Lotus 1-2-3 and many others. Some of these interfaces survived even during the Microsoft Windows 3.1x period in the early 1990s. For example, the Microsoft C 6.0 compiler, used to write true GUI programs under 16-bit Windows, still has its own TUI.

Since its start, Microsoft Windows includes a console to display DOS software. Later versions added the Windows console as a native interface for command-line interface 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. Full-screen mode is not available in Windows Vista and later, but may be used with some workarounds.[1]

Windows Terminal is a multi-tabbed terminal emulator that Microsoft has developed for Windows 10 and later[2] as a replacement for Windows Console.

The Windows Subsystem for Linux which was added to Windows by Microsoft in 2019, supports running Linux text-based apps on Windows, within Windows console, Windows Terminal, and other Windows-based terminals.

Under Unix-like systems

Snapshot of 'XFdrake', a TUI used in Mandriva Linux to configure the graphical system
btop - task manager utility for Linux and other unix-like OS

In Unix-like operating systems, TUIs are often constructed using the terminal control library curses, or ncurses (a mostly compatible library), or the alternative S-Lang 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, SAM, FreeBSD's Sysinstall and web browsers such as lynx. Some applications, such as w3m, and older versions of pine and vi use the less-able termcap library, performing many of the functions associated with curses within the application. Custom TUI applications based on widgets can be easily developed using the dialog program (based on ncurses), or the Whiptail program (based on S-Lang).

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

Most Unix-like operating systems (Linux, FreeBSD, etc.) support virtual consoles, typically accessed through a Ctrl-Alt-F key combination. For example, under Linux up to 64 consoles may be accessed (12 via function keys), each displaying in full-screen text mode.

The free software program GNU Screen provides for managing multiple sessions inside a single TUI, and so can be thought of as being like a window manager for text-mode and command-line interfaces. Tmux can also do this.

The proprietary macOS text editor BBEdit includes a shell worksheet function that works as a full-screen shell window. The free Emacs text editor can run a shell inside of one of its buffers to provide similar functionality. There are several shell implementations in Emacs, but only ansi-term is suitable for running TUI programs. The other common shell modes, shell and eshell only emulate command lines and TUI programs will complain "Terminal is not fully functional" or display a garbled interface. The free Vim and Neovim text editors have terminal windows (simulating xterm). The feature is intended for running jobs, parallel builds, or tests, but can also be used (with window splits and tab pages) as a lightweight terminal multiplexer.

OpenVMS

VAX/VMS (later known as OpenVMS) had a similar facility to curses known as the Screen Management facility or SMG. This could be invoked from the command line or called from programs using the SMG$ library.[3]

Oberon

Screenshot of the desktop of an Oberon System showing an image and several text viewers

Another kind of TUI is the primary interface of the Oberon operating system, first released in 1988 and still maintained. Unlike most other text-based user interfaces, Oberon does not use a text-mode console or terminal, but requires a large bit-mapped display, on which text is the primary target for mouse clicks. Analogous to a link in hypertext, a command has the format Module.Procedure parameters ~ and is activated with a mouse middle-click. Text displayed anywhere on the screen can be edited, and if formatted with the required command syntax, can be middle-clicked and executed. Any text file containing suitably-formatted commands can be used as a so-called tool text, thus serving as a user-configurable menu. Even the output of a previous command can be edited and used as a new command. This approach is radically different from both conventional dialogue-oriented console menus or command-line interfaces.

Since it does not use graphical widgets, only plain text, but offers comparable functionality to a GUI with a tiling window manager, it is referred to as a Text User Interface or TUI. For a short introduction, see the 2nd paragraph on page four of the first published Report on the Oberon System.[4]

Oberon's UI influenced the design of the Acme text editor and email client for the Plan 9 from Bell Labs operating system.

In embedded systems

Embedded system displaying menu on an LCD screen

Modern embedded systems are capable of displaying TUI on a monitor like personal computers. This functionality is usually implemented using specialized integrated circuits, modules, or using FPGA.

Video circuits or modules are usually controlled using VT100-compatible command set over UART,[citation needed] FPGA designs usually allow direct video memory access.[citation needed]

Other uses

  • The full screen editor of the Commodore 64 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. All Commodore 8-bit computers used the PETSCII character set, which included character glyphs suitable for making a TUI.
  • Apple's Macintosh Programmer's Workshop programming environment included Commando, a TUI shell. It was the inspiration for BBEdit's shell worksheet.
  • Later Apple II models included MouseText, a set of graphical glyphs used for making a TUI.
  • The Corvus Concept computer of 1982 used a function key-based text interface on a full-page pivoting display.

See also

Examples of programming libraries

References

  1. ^ cmd prompt full screen in Windows 7. Social.technet.microsoft.com. Retrieved on 2013-06-15.
  2. ^ Warren, Tom (May 6, 2019). "Microsoft unveils Windows Terminal, a new command line app for Windows". The Verge.
  3. ^ "OpenVMS RTL Screen Management (SMG$) Manual". hpe.com. 2001. Retrieved 2021-01-01.
  4. ^ Wirth, Niklaus; Gutknecht, Jürg (1988). The Oberon System (PDF) (Technical report). ETH Eidgenössische Technische Hochschule Zürich, Institut für Informatik. Vol. 88. doi:10.3929/ethz-a-000487176.

Read other articles:

Albert Riera Informasi pribadiNama lengkap Albert Riera OrtegaTanggal lahir 15 April 1982 (umur 41)Tempat lahir Manacor, SpanyolTinggi 1,88 m (6 ft 2 in)Posisi bermain Gelandang sayapInformasi klubKlub saat ini MallorcaNomor 10Karier junior1999–2000 MallorcaKarier senior*Tahun Tim Tampil (Gol)2000–2002 Mallorca B 54 (12)2001–2003 Mallorca 46 (6)2003–2005 Bordeaux 53 (4)2005–2008 Espanyol 72 (8)2006 → Manchester City (loan) 15 (1)2008–2010 Liverpool 40 (3)201...

 

 

Solok beralih ke halaman ini. Untuk kabupaten bernama sama, lihat Kabupaten Solok. Untuk kegunaan lain, lihat Solok (disambiguasi). Kota SolokKotaTranskripsi bahasa daerah • Jawi MinangسولوقDari Atas, Kiri ke Kanan: Balai Kota Solok, Masjid Agung Al-Muhsinin, Kantor DPRD Kota Solok, Pasar Raya Kota Solok, Stasiun Kereta Api Kota Solok, Kawasan Sawah Solok, Taman Syech Kukut RTH Kota Solok LambangJulukan: Kota BerasMotto: Lubuk Sikarah[a]PetaKo...

 

 

Monacoau Concours Eurovision 2005 Données clés Pays  Monaco Chanson Tout de moi Interprète Lise Darly Langue Français Sélection nationale Radiodiffuseur TMC Type de sélection Sélection interne Concours Eurovision de la chanson 2005 Position en demi-finale 24e (22 points) Position en finale Non qualifiée 2004 2006 modifier Monaco a participé au Concours Eurovision de la chanson 2005, les 19 et 21 mai à Kiev, en Ukraine. C'est la 23e participation monégasque au Concours Eurovis...

Слепая подпись (англ. blind signature) — разновидность ЭЦП, особенностью которой является то, что подписывающая сторона не может точно знать содержимое подписываемого документа. Понятие слепой подписи придумано Дэвидом Чаумом[1] в 1982 году, им же предложена первая реал�...

 

 

Location in the Greek underworld This article is about the location in the Greek underworld. For other uses, see Land of Dreams. Morpheus Awakening as Iris Draws Near, René-Antoine Houasse, 1690 Part of a series on theGreek underworld Residents Aeacus Angelos Arae Ascalaphus Cerberus Ceuthonymus Charon Erinyes Eurynomos Hades Hecate Hypnos Macaria Melinoë Menoetius Minos Moirai Persephone Pluto Rhadamanthus Thanatos Zagreus Geography Acheron AsphodelMeadows Cocytus Elysium Fortunate Isles L...

 

 

Ilustrasi terbakarnya Laksagreha buatan Purocana, yang dimaksudkan untuk membunuh para Pandawa. Dalam wiracarita Mahabharata, Laksagreha (Dewanagari: लाक्षागृह; ,IAST: Lākṣāgṛha, लाक्षागृह)[1][2] adalah istana berlapis lak, yang menjadi kediaman para Pandawa beserta Kunti (ibu mereka), saat berlibur di Warnabrata (Barnava). Kata laksagreha berarti rumah (dari) lak; lak adalah zat pelapis perabot rumah tangga yang terbuat dari...

Gallop Co., Ltd株式会社ぎゃろっぷJenisKabushiki kaishaIndustriPerencanaan dan produksi AnimePendahuluGallop YKDidirikanDesember 1979 (1979-12)Kantorpusat3-20-36 Sekimachikita, Nerima, Tokyo, Jepang 177-0051Wilayah operasiJepangTokohkunciAkio Wakana (wakil ditektur)ProdukCastle in the Sky, The Dagger of Kamui, Kiki's Delivery Service, Night on the Galactic Railroad, Rurouni Kenshin, TouchJasaperencanaan Animasi, inbetweening, kunci animasi, fotografi urutan sel-sel animasiSitus w...

 

 

Isotope of iodine Iodine-131, 131IGeneralSymbol131INamesiodine-131, 131I, I-131,radioiodineProtons (Z)53Neutrons (N)78Nuclide dataHalf-life (t1/2)8.0197 daysIsotope mass130.9061246(12) DaExcess energy971 keVIsotopes of iodine Complete table of nuclides Iodine-131 (131I, I-131) is an important radioisotope of iodine discovered by Glenn Seaborg and John Livingood in 1938 at the University of California, Berkeley.[1] It has a radioactive decay half-life of about eight days. It is as...

 

 

Thai dish of stewed pork over rice Khao kha muAlternative namesKha mu, kha mu phaloTypeRice dishCourseMain coursePlace of originThailandRegion or stateSoutheast AsiaCreated byThai ChineseServing temperatureHotMain ingredientspig's trotter, steamed rice, half spiced corned egg, lettuce pickles, blanched kale, fresh bird's eye chili peppers, garlic with dipping sour and spicy sauce Khao kha mu Khao kha mu (Thai: ข้าวขาหมู, pronounced [kʰâːw kʰǎː mǔː], lit.̴...

追晉陸軍二級上將趙家驤將軍个人资料出生1910年 大清河南省衛輝府汲縣逝世1958年8月23日(1958歲—08—23)(47—48歲) † 中華民國福建省金門縣国籍 中華民國政党 中國國民黨获奖 青天白日勳章(追贈)军事背景效忠 中華民國服役 國民革命軍 中華民國陸軍服役时间1924年-1958年军衔 二級上將 (追晉)部队四十七師指挥東北剿匪總司令部參謀長陸軍�...

 

 

Overview of public transport in Athens This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Public transport in Athens – news · newspapers · books · scholar · JSTOR (September 2014) (Learn how and when to remove this template message) Top to bottom: metro train (sub-surface and deep level); bus; trolleybus; tram;...

 

 

Blues rockThe Yardbirds di Langueux (Prancis) 9 September 2006, kiri ke kanan: John Idan, Jim McCarty (di belakang drum) dan Chris Dreja. Foto: Corentin Lamy.Sumber aliranBlues elektrikrokSumber kebudayaanAwal ke pertengahan 1960an, Amerika Serikat dan Britania RayaBentuk turunanBoogie rockheavy metal[1][2]hard rockSouthern rockBlues rock adalah genre musik campuran yang menggabungkan unsur musik blues dan rok. Ini sebagian besar merupakan musik bergaya ansambel listrik d...

District in East Java, IndonesiaLowokwaruDistrictKecamatan LowokwaruNorthern side of Brawijaya University view in Lowokwaru and far view of Mount Kawi-ButakMap of Malang with Lowokwaru highlightedCoordinates: 7°56′40″S 112°37′10″E / 7.944518°S 112.619456°E / -7.944518; 112.619456Country IndonesiaProvince East JavaCity MalangArea • Total20.89 km2 (8.07 sq mi)Elevation459 m (1,506 ft)Population (2010) �...

 

 

Political party in Gabon Politics of Gabon Constitution Human rights Government President (transitional) Brice Oligui Nguema Vice President (transitional) Joseph Owondault Berre Prime Minister Raymond Ndong Sima (transitional) Parliament Senate President: Paulette Missambo National Assembly President: Jean-François Ndongou Administrative divisions Provinces Departments Cantons and communes Elections Recent elections Presidential: 20162023 Parliamentary: 20182023 Political parties Foreign rel...

 

 

Film by Chris Columbus StepmomTheatrical release posterDirected byChris ColumbusScreenplay by Gigi Levangie Jessie Nelson Steven Rogers Karen Leigh Hopkins Ron Bass Story byGigi LevangieProduced by Wendy Finerman Chris Columbus Mark Radcliffe Michael Barnathan Starring Julia Roberts Susan Sarandon Ed Harris CinematographyDonald McAlpineEdited byNeil TravisMusic byJohn WilliamsProductioncompanies Columbia Pictures 1492 Pictures Distributed bySony Pictures ReleasingRelease date December 25...

Dream HouseSutradaraJim SheridanProduserJim SheridanJames G. RobinsonDavid C. RobinsonDaniel BobkerEhren KrugerDitulis olehDavid LouckaPemeranDaniel CraigRachel WeiszNaomi WattsMarton CsokasPenata musikJohn DebneySinematograferCaleb DeschanelPenyuntingBarbara TulliverPerusahaanproduksiMorgan Creek ProductionsDistributorUniversal PicturesTanggal rilis 30 September 2011 (2011-09-30) Durasi92 menit[1]NegaraUSACanadaBahasaInggrisAnggaran$60 million[2] Dream House merupa...

 

 

Berikut ini adalah daftar bunyi-bunyi dan suara-suara yang sebelumnya pernah tidak dapat dijelaskan hingga kini. Semua berkas berikut yang berisikan bunyi-bunyi tersebut telah ditingkatkan kecepatan pemutarannya hingga sekurang-kurangnya 16 kali guna meningkatkan kejelasan bunyinya dengan cara memampatkan panjang bunyi tersebut dan meningkatkan frekuensi gelombang infrasonik menjadi frekuensi yang dapat didengar. NOAA (belum diketahui secara pasti) Suara-suara yang belum dikenal secara pasti ...

 

 

Sign of the Endtimes in Islamic apocalyptic Depiction of the Beast of the Earth (Dābba) from a Falnama written in Turkish for Sultan Ahmed I. Topkapi Museum, Istanbul. Part of a series onIslam Beliefs Oneness of God Angels Revealed Books Prophets Day of Resurrection Predestination Practices Profession of Faith Prayer Almsgiving Fasting Pilgrimage TextsFoundations Quran Sunnah (Hadith, Sirah) Tafsir (exegesis) Aqidah (creed) Qisas al-Anbiya (Stories of the Prophets) Mathnawi (Poems) Fiqh (jur...

Ver artigo principal: Pandemia de COVID-19 no BrasilEste artigo ou seção pode conter informações desatualizadas. Se tem conhecimento sobre o tema abordado, edite a página e inclua as informações mais recentes, citando fontes fiáveis e independentes. —Encontre fontes: ABW  • CAPES  • Google (N • L • A) Este artigo documenta a cronologia da pandemia de COVID-19 no Brasil. Cronologia Janeiro de 2020 Predefinição:Dados ...

 

 

Defunct American computer peripheral manufacturer Apple Accessory Products DivisionFormer headquarters in Garden Grove, CaliforniaFormerlyThe Keyboard Company, Inc.Company typePrivateIndustryElectronicsFoundedMay 4, 1979; 45 years ago (1979-05-04) in Garden Grove, California, United StatesFounderMichael MullerDefunctAugust 28, 1985; 38 years ago (1985-08-28)FateAcquired by Alps ElectricProductsComputer keyboards, mice, joysticksNumber of employees661 (...