Disk Operating System (DOS)
This article describes the essential characteristics of the DOS command-line user interface and contrasts it with a graphical user interface, including video modes.
The DOS Command Line
The purpose of a user interface (UI) is to interpret the user's requests to the operating system and provide feedback. The DOS user interface is its command line.
The two major characteristics of the DOS user interface are that it is command-driven and that video displays in text mode.
Command Line Prompt
Command-driven means user requests are made by typing commands, parameters, and switches at the DOS command line's prompt. The prompt is the operating system's way of indicating that it is ready to receive a command.
Parameters and Switches
A parameter is additional information required by the command in order for it to be carried out. Parameters usually specify "What" and "Where".
A switch modifies the way in which a command is carried out. Think of the switch as being "How". Switches are proceeded by a /.
Text Mode versus Graphics Mode Video
Text mode video represents information on the screen only as distinct, pre-defined, discrete characters, unchanging in size or style. Only characters from the 256-char ASCII and IBM extended- ASCII character sets can be displayed. Graphics cannot be displayed, any "pictures" are character-based. Think emoticons.
Text mode generally displays characters on a 25-line x 80 column matrix.
By contrast, graphics video mode treats the screen as an array of pixels (picture elements). The depiction of all information (characters and pictures) is accomplished by lighting up selected individual pixels.
A graphical user interface (GUI), uses the graphics video mode to display characters and icons in the same way, pixel by pixel. This allows tremendous flexibility in the style in which text is depicted. This and the additional ability to scale up and down in size is what gives us WYSIWYG (What You See Is What You Get).
In DOS the text mode process is much less complicated. There is one size and style of characters. The instructions for printing those characters to the screen is burned into ROM-BIOS and used by all programs.
Think of the GUI as an artist creating a masterpiece each time it draws a character on the WYSIWYG canvas, whereas DOS is using a branding iron to burn its characters into black velvet. The GUI "artist" is software driven, making it relatively slow compared to the hardware-driven DOS branding iron. Text mode's not pretty, but its fast!
Command-Line Interface Contrasted with GUI
Bruce Miller, 2002, 2014