VtInfo(1vtcl)


VtInfo -- return information about SCO Visual Tcl

Synopsis

VtInfo [ options ]

Description

Returns some information about SCO Visual Tcl. Only a single option may be submitted at one time.

Options


-charm (NA)
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).

-displayHeight (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.

-displayWidth (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.

-version (NA)
Returns the SCO Visual Tcl version.

Return values

If VtInfo fails, it returns one of the following error messages:

NEED_OPTION
no option was specified

NO_SUCH_OPTION
unrecognized option option

NOT_OPTION
option is not valid for this widget

25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004