All Topics  
Text mode

 

   Email Print
   Bookmark   Link






 

Text mode



 
 
Text mode is a kind of computer display mode in which the content of the screen is internally represented in terms of textual characters rather than individual pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
s. Typically, the screen consists of a uniform grid of character cells, each of which contains one of the characters
Character (computing)

In computer and machine-based telecommunications terminology, a character is a unit of information that roughly corresponds to a grapheme, grapheme-like unit, or symbol, such as in an alphabet or syllabary in the written language form of a natural language....
 of the character set.

Text mode video rendering came to prominence in the early 1970s, when video-oriented text terminals started to replace teleprinter
Teleprinter

A teleprinter is a now largely obsolete electro-mechanical typewriter which can be used to communicate typed messages from Point-to-point and Point-to-multipoint communication over a variety of communications channels that range from a simple electrical connection, such as a pair of wires, to the use of radio and microwave as the transmi...
s in the interactive use of computers.

Text mode applications communicate with the user with command-line interfaces and text user interface
Text user interface

TUI short for: Text User Interface or Textual User Interface , is a retronym that was coined sometime after the invention of graphical user interfaces, to distinguish them from Text-based user interfaces....
s.






Discussion
Ask a question about 'Text mode'
Start a new discussion about 'Text mode'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Text mode is a kind of computer display mode in which the content of the screen is internally represented in terms of textual characters rather than individual pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
s. Typically, the screen consists of a uniform grid of character cells, each of which contains one of the characters
Character (computing)

In computer and machine-based telecommunications terminology, a character is a unit of information that roughly corresponds to a grapheme, grapheme-like unit, or symbol, such as in an alphabet or syllabary in the written language form of a natural language....
 of the character set.

Text mode video rendering came to prominence in the early 1970s, when video-oriented text terminals started to replace teleprinter
Teleprinter

A teleprinter is a now largely obsolete electro-mechanical typewriter which can be used to communicate typed messages from Point-to-point and Point-to-multipoint communication over a variety of communications channels that range from a simple electrical connection, such as a pair of wires, to the use of radio and microwave as the transmi...
s in the interactive use of computers.

Text mode applications communicate with the user with command-line interfaces and text user interface
Text user interface

TUI short for: Text User Interface or Textual User Interface , is a retronym that was coined sometime after the invention of graphical user interfaces, to distinguish them from Text-based user interfaces....
s. Many character sets used in text mode applications also contain a limited set of predefined semi-graphical characters usable for drawing boxes
Box drawing characters

Box drawing characters, also known as line drawing characters, or pseudographics, are widely used in text user interfaces to draw various frames and boxes....
 and other rudimentary graphics which can be used to highlight the content or to simulate widget or control interface objects found in GUI
Gui

Gui or guee is a generic term to refer to grillinged dishes in Korean cuisine. These most commonly have meat or fish as their primary ingredient, but may in some cases also comprise grilled vegetables or other vegetarian ingredients....
 programs. A typical example is the IBM
IBM

International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
 code page 437
Code page 437

IBM PC or MS-DOS code page 437, often abbreviated CP437 and also known as, DOS-US, OEM-US or sometimes misleadingly referred to as the OEM font, High ASCII or Extended ASCII, is the original character set of the IBM PC, circa 1981....
 character set.

The advantages of text modes compared to graphics modes include lower memory consumption and faster screen manipulation. Also, text mode applications have relatively low bandwidth requirements in remote terminal use. An obvious disadvantage of text mode is the restricted screen content, which makes text mode impractical for many types of applications.

An important characteristic of text mode programs is that they assume constant width fonts
Typeface

In typography, a typeface is a set of one or more fonts, in one or more sizes, designed with stylistic unity, each comprising a coordinated set of glyphs....
, where every character has the same width on screen, which allows to easily maintain the vertical alignment when displaying semi-graphical characters. This was influenced by the use of early teletype
Teleprinter

A teleprinter is a now largely obsolete electro-mechanical typewriter which can be used to communicate typed messages from Point-to-point and Point-to-multipoint communication over a variety of communications channels that range from a simple electrical connection, such as a pair of wires, to the use of radio and microwave as the transmi...
-like and daisy
Daisy wheel printer

A daisy wheel printer is a printing technology which produces high-quality output comparable to that produced by high-end typewriters such as the IBM Selectric....
-like fixed-pitch type printers, but also by applications designed for punched cards. This way, the output seen on the screen could be sent directly to the printer maintaining exactly the same format, somewhat in a fashion that is now called WYSIWYG
WYSIWYG

WYSIWYG , is an acronym for What You See Is What You Get, used in computing to describe a system in which content displayed during editing appears very similar to the final output, which might be a printed document, web page, slide presentation or even the lighting for a theatrical event....
 (What You See Is What You Get).

Depending on the environment, the screen buffer can be directly addressable. Programs that display output on remote video terminal
Computer terminal

A computer terminal is an electronic or electromechanical computer hardware device that is used for entering data into, and displaying data from, a computer or a computing system....
s must issue special control sequences to manipulate the screen buffer. The most popular standards for such control sequences are ANSI
ANSI escape code

ANSI escape sequences are used to control text formatting and other output options on text terminals. In this context, American National Standards Institute refers to the ANSI X3.64 standard ....
 and VT100
VT100

VT100 is a video computer terminal which was made by Digital Equipment Corporation . It became the de facto standard used by terminal emulators....
.

Programs accessing the screen buffer through control sequences may lose synchronization with the actual display, and so many text mode programs have a redisplay everything command, often associated with the Ctrl
Control key

In computing, a Control key is a modifier key which, when pressed in conjunction with another key, will perform a special operation ; similar to the Shift key, the Control key rarely performs any function when pressed by itself....
-L key combination.

The border between text mode and graphical programs can sometimes be fuzzy, especially on the PC's VGA hardware, because many later text mode programs tried to push the model to the extreme by playing with the video controller. For example, they redefined the character set in order to create custom semi-graphical characters, or even created the appearance of a graphical mouse by redefining the appearance of the characters over which the mouse was shown at a given time.

Text mode rendering with user-defined characters has also been useful for 2D computer and video games because the game screen can be manipulated much faster than with pixel-oriented rendering.

Many modern programs with a graphical interface simulate the display style of text mode programs, notably when it is important to preserve the vertical alignment of text, e.g., during computer programming
Computer programming

Computer programming is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language....
. There exist also software components to emulate text mode, such as terminal emulator
Terminal emulator

A terminal emulator, terminal application, term, or tty for short, is a program that emulates a "dumb" video Computer terminal within some other display architecture....
s or command line console
Win32 console

Win32 console is a plain text window for console applications within the system of Windows API. A Win32 console has a screen buffer and an input buffer....
s. In Microsoft
Microsoft

Microsoft Corporation is a multinational corporation computer technology corporation that develops, manufactures, licenses, and supports a wide range of computer software products for computing devices....
 Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
, the Win32 console
Win32 console

Win32 console is a plain text window for console applications within the system of Windows API. A Win32 console has a screen buffer and an input buffer....
 usually opens in emulated, graphical window mode but it can be switched to full screen, true text mode and vice versa by pressing the Alt
Alt key

The Alt key on a computer keyboard is used to change the function of other pressed keys. Thus, the Alt key is a modifier key, used in a similar fashion to the Shift key....
 and Enter
Enter key

In computer Keyboard s, the enter key in most cases causes a command-line interface, window form or dialog box to operate its default function, which is typically to finish an "entry" and begin the desired process....
 keys together.

Technical basis


A video controller implementing a text mode usually uses two distinct areas of memory: a character memory containing the pixel structure of each character of the font
Typeface

In typography, a typeface is a set of one or more fonts, in one or more sizes, designed with stylistic unity, each comprising a coordinated set of glyphs....
 in use, and a display matrix, "character pointer table
Character pointer table

In computer hardware, a character pointer table is a section of video RAM that contains the pointers to characters from a Computer font set, a set of dot matrix Character . Used in Text modes....
" or screen buffer tracking which character is in each cell.

The character memory usually resides in a read-only memory
Read-only memory

Read-only memory is a class of computer storage media used in computers and other electronic devices. Because data stored in ROM cannot be modified , it is mainly used to distribute firmware ....
 by default. However, many systems also allow the use of RAM for this purpose, making it possible to redefine the character set for application-specific purposes. The use of RAM-based characters also facilitates some special techniques, such as the implementation of a pixel-graphics framebuffer. In some historical graphics chips, including the TMS9918, the MOS Technology VIC
MOS Technology VIC

The VIC , specifically known as the MOS Technology 6560 / 6561 , is the integrated circuit chip responsible for generating video graphics and sound in the Commodore VIC-20 home computer....
, and the Game Boy
Game Boy

The is an 8-bit handheld game console developed and manufactured by Nintendo. It was released in Japan on , in North America in August , and in Europe in ....
 graphics hardware, this was actually the canonical way of doing pixel graphics.

Text modes often assign attributes to the displayed characters. For example, the VT100
VT100

VT100 is a video computer terminal which was made by Digital Equipment Corporation . It became the de facto standard used by terminal emulators....
 terminal allows each character to be underlined, brightened, blinking or inverse. Color-supporting devices usually allow the color of each character, and often the background color as well, to be selected from a limited palette
Palette (computing)

In computer graphics, a palette is either a given, finite set of colors for the management of digital images , or a small on-screen graphical element for choosing from a limited set of choices, not necessarily colors ....
 of colors. These attributes can either coexist with the character indices or use a different memory area called color memory or attribute memory.

Some text mode implementations also have the concept of line attributes. For example, the VT100-compatible line of text terminals supports the doubling of the width and height of the characters on individual text lines.

PC Common Text Modes

Depending on the graphics adapter used, a variety of text modes are available on IBM PC compatible
IBM PC compatible

IBM PC compatible computers are those generally similar to the original IBM Personal Computer, IBM Personal Computer XT, and IBM Personal Computer/AT....
 computers. They are listed on the table below:

Text res. Char. size Graphics res. Colors Adapters
80×25 9×14 720×350 B&W Text MDA
Monochrome Display Adapter

The Monochrome Display Adapter introduced in 1981 was International Business Machines's standard video display card and computer display standard for the IBM PC....
, Hercules
Hercules Graphics Card

The Hercules Graphics Card was a computer graphics controller which, through its popularity, became a widely supported computer display standard....
40×25 8×8 320×200 16 colors CGA
Color Graphics Adapter

The Color Graphics Adapter , originally also called the Color/Graphics Adapter or IBM Color/Graphics Monitor Adapter, introduced in 1981, was International Business Machines's first color graphics card, and the first color computer display standard for the IBM PC....
, EGA
80×25 8×8 640×200 16 colors CGA, EGA
80×25 8×14 640×350 16 colors EGA
Enhanced Graphics Adapter

The Enhanced Graphics Adapter is the IBM PC computer display standard specification located between Color Graphics Adapter and Video Graphics Array in terms of color and space resolution....
80×43 8×8 640×350 16 colors EGA
80×25 9×16 720×400 16 colors VGA
Video Graphics Array

The term Video Graphics Array refers specifically to the display hardware first introduced with the IBM Personal System/2 line of computers in 1987, but through its widespread adoption has also come to mean either an analogue electronics computer display standard, the 15-pin D-subminiature VGA connector or the 640×480 resolution its...
80×50 9×8 720×400 16 colors VGA
80×60   16 colors VESA
VESA BIOS Extensions

VESA BIOS Extensions comprise a VESA standard, currently at version 3, that defines the interface that can be used by software to access compliant video boards at high resolutions and bit depths....
-compatible Super VGA
132×25   16 colors VESA-compatible Super VGA
132×43   16 colors VESA-compatible Super VGA
132×50   16 colors VESA-compatible Super VGA
132×60   16 colors VESA-compatible Super VGA


MDA text could be emphasized with bright, underline, reverse and blinking attributes.

Video cards in general are backward compatible, i.e. EGA supports all MDA and CGA modes, VGA supports MDA, CGA and EGA modes.

By far the most common text mode used in DOS environments, and initial Windows consoles, is the default 80 columns by 25 rows, or 80×25, with 16 colors. This mode was available on practically all IBM
IBM

International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
 and compatible personal computers. All 80×25 modes also had a virtual
Virtual

The term virtual is a concept applied in many fields with somewhat differing connotations, and also, differing denotations.The term has been defined in philosophy as "that which is not real" but may display the full qualities of the real....
 80×24 mode, used by some applications that needed a status bar
Status bar

A status bar, similar to a status line, is an information area typically found at the bottom of Window s in a graphical user interface.A status bar is sometimes divided into sections, each of which shows different information....
 on the last row, like terminal emulator
Terminal emulator

A terminal emulator, terminal application, term, or tty for short, is a program that emulates a "dumb" video Computer terminal within some other display architecture....
s. In reality, it was the same 80×25 mode, but restrained by software to make the last row unaccesible.

Two other VGA text modes, 90×43 and 90×50, exist but were very rarely used. The 40 column text modes were never very popular, and were used only for demonstration purposes or with very old hardware.

Character sizes and graphical resolutions for the extended VESA
VESA BIOS Extensions

VESA BIOS Extensions comprise a VESA standard, currently at version 3, that defines the interface that can be used by software to access compliant video boards at high resolutions and bit depths....
-compatible Super VGA text modes are manufacturer's dependent. Also on these display adapters, available colors can be halved from 16 to 8 when a second customized character set is employed (giving a total repertorie of 512 —instead the common 256— different graphic characters simultaneously displayed on the screen).

Some cards (e.g. S3
S3 Graphics

S3 Graphics, Ltd is a company specializing in graphics chipsets. Although they do not have the large market share that they once had, they still produce graphics accelerators for home computers under the "S3 Chrome" brand name....
) supported custom very large text modes, like 100×37 or even 160×120. In Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
 systems, a program called SVGATextMode was often used with SVGA cards to set up very large console text modes.

See also

  • Text user interface
    Text user interface

    TUI short for: Text User Interface or Textual User Interface , is a retronym that was coined sometime after the invention of graphical user interfaces, to distinguish them from Text-based user interfaces....
  • Text mode demos
    Text mode demos

    Text Mode demos are real-time calculated computer animations which make use of the native text graphic mode common on the IBM PC compatibles. The Text Mode Demo Scene is one of many different facets of the demoscene....
     — computer animations generated in text mode
  • Teletext
    Teletext

    Teletext is a television information retrieval service developed in the United Kingdom in the early 1970s. It offers a range of text-based information, typically including national, international and sporting news, weather and TV schedules....
  • ASCII art
    ASCII art

    ASCII art is a 20th century art movement that utilizes computers for presentation and consists of pictures pieced together from the 95 printable character defined by the ASCII Standard from 1963 and ASCII compliant character sets with proprietary extended characters ....
  • Twin
  • Code page 437
    Code page 437

    IBM PC or MS-DOS code page 437, often abbreviated CP437 and also known as, DOS-US, OEM-US or sometimes misleadingly referred to as the OEM font, High ASCII or Extended ASCII, is the original character set of the IBM PC, circa 1981....


External links