Using Namespaces
CLI interactive commands exist in the primary Tcl namespace (::). Some of the TotalView state variables also reside in this namespace. Seldom-used functions and functions that are not primarily used interactively reside in other namespaces. These namespaces also contain most TotalView state variables. (The variables that appear in other namespaces are usually related to TotalView preferences.) TotalView uses the following namespaces:
TV::
Contains commands and variables that you use when creating functions. They can be used interactively, but this is not their primary role.
TV::GUI::
Contains state variables that define and describe properties of the user interface, such as window placement and color.
If you discover other namespaces beginning with TV, you have found a namespace that contains private functions and variables. These objects can (and will) disappear, so don’t use them. Also, don’t create namespaces that begin with TV, since you can cause problems by interfering with built-in functions and variables.
The CLI dset command lets you set the value of these variables. You can have the CLI display a list of these variables by specifying the namespace; for example:
dset TV::
You can use wildcards with this command. For example, dset TV::au* displays all variables that begin with “au”.