Specifications

168 Version 2.0
mode
Summary
Displays or changes the console output device mode.
Usage
mode [col row]
Options
row
Number of rows
col
Number of columns
Description
This command is used to change the display mode for the console output device.
When this command is used without any parameters, it shows the list of modes that
the standard output device currently supports. The mode command can then be used
with the row and col parameter to change the number of rows and columns on the
standard output device. The following examples show how the mode command can
be used. The first example lists all modes that are currently available, and the current
selected mode is indicated by an '*'. The second example changes the mode to an 80
X 50 text mode display. The display is cleared every time the mode command is used
to change the currently selected display mode.
Status Codes Returned
SHELL_SUCCESS The action was completed as requested.
SHELL_SECURITY_VIOLATION This function was not performed due to a security violation
SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly formatted or its
value was out of bounds.
Examples
To display all available modes on standard output:
Shell> mode
Available modes on standard output
col 80 row 25 *
col 80 row 50
col 80 row 43
col 100 row 100
To change the current mode setting: