![]() |
![]() |
![]() |
![]() |
![]() |
How Resources Are Read
At start-up, resources are read from a number of files in the standard way for Xt applications. There are a number of environment variables that control the way the program looks for resource files:
When the TTCN Suite is started, none of the environment variables above need to be set. The TTCN Suite will automatically find the resource file under the default name $telelogic/itex/X11lib/app-defaults/Itex.
To override some of the resources in the global resource file there are several possibilities:
- Give command line arguments to the TTCN Suite (see the man page itex).
- Set the environment variable XENVIRONMENT to a file containing resources for the TTCN Suite, or create a file $HOME/.Xdefaults-<host>.
- Set the value of the RESOURCE_MANAGER property with the program xrdb, or create a file $HOME/.Xdefaults.
The easiest way to set some personal resources is to create a file
.Xdefaults in the home directory and add these resources to it.For a more detailed description of how resources are found in an Xt based application see some suitable book on the subject, for example the X Toolkit Intrinsics Programming Manual from O'Reilly & Associates.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |