Text-based (computing)
From Wikipedia, the free encyclopedia
Usually used in reference to a computer application, especially a computer game, a text-based application is one whose primary input and output are based on text rather than graphics. This does not mean that text-based applications do not have graphics, just that the graphics are secondary to the text.
Contents |
[edit] History
Before the 1980s, most computers were text-based. The operator used the keyboard as the main input device to type in necessary commands into the terminal that could only display text on a low-resolution monochrome video monitor. The majority of end-user software was also written in text-based mode during this time. During this era, operating a computer was considered to be a challenging task because of the complexity of the text-based environment.
However, with the development of the graphical user interface and the improvement in hardware, many software engineers started adding graphics for their applications. As a result, the pointing device that controls the coordination of the cursor on the screen became a primary input source (such as a mouse), and the graphics displayed with some text on the screen became a primary output source.
In modern computers, text-based software, usually accessed by the terminal or a console window, still exists in Unix and Linux operating systems. Some system commands on the Windows platform are also written as text-based programs because of their capabilities in handling powerful procedures with fewer system resources. However, the majority of the operations on a modern computer can be done without involving text-based software.
When the method used to access the operating system itself is text-based, the interface is usually referred to as a Command Line Interface. This is usually bash in Linux and UNIX-based systems, and was once DOS in Microsoft based systems. DOSBox and FreeDOS are DOS emulators available for many different platforms.
[edit] Benefits of text-based software
Text-based applications run faster and offer more flexibility for interoperation of programs than software involving graphics does. Text-based applications run faster because the machine does not expend resources on processing the graphics, which generally requires more system resources than text does. For the same reason, text-based applications use memory more efficiently.
Text-based software often provides the user more control on the software by taking all the details of the instruction as the parameters or redirecting the outputs. As a result, text-based software can offer more powerful features than graphic-based software, such as combining the command using a pipeline that allows output of the first command to be used as the input of the next command. Using this, a complex operation can be accomplished in a single command line using a sequence of commands connected together in a pipeline.
In certain circumstances, text-based application offers faster user interaction than the graphic-based software does. Assuming that the user is fluent with typing, the user can enter faster commands faster than when using the graphical interface, because the users do not have to move their hands from the keyboard to enter different commands.
[edit] Limitations of text-based software
Many users may not find an application with a text-based interface very user-friendly. This is especially true for beginning computer users. While the user may learn how to operate the software by simply playing around or navigating through given options, a text-based system usually requires users to have a more detailed understanding of the commands. Many text-based applications have a menu or help system that shows the user some (or all) of the available options of the software.
Text-based software also has limitations on its output as well. Text-based output may not be considered very attractive to many users, and may be difficult to understand (compared to an output involving graphics). Any data that cannot be represented using ASCII may not display properly on the output device.
Therefore, certain operations cannot be implemented using text-based software, due its limitation of range in its input and output. An example is multimedia software such as Adobe Photoshop or Macromedia Flash.