This is a flag; it returns 1 if running in character mode, otherwise 0.
-colors (NA)
This is a flag; it returns the maximum number of colors that can be
displayed on
the X-Server. This does not mean that you have that many colors free.
The character mode environment always returns 2 (foreground and background).
-displayHeightflag (NA)
Returns the height of the display. In character mode it returns the number
of rows for the terminal; in graphical mode it returns the number of pixels.
-displayWidthflag (NA)
Returns the width of the display. In character mode it returns the number
of columns for the terminal; in graphical mode it returns the number of pixels.