You can customize certain features of an X-Window. For example, you can customize its colors, fonts, orientation, and so on. This section lists each of the resource variables you can set for pedb and the Visualization Tool.
You may customize resources by assigning a value to a resource name in a standard X-Windows format. Several resource files are searched according to the following X-Windows convention:
/usr/lib/X11/$LANG/app-defaults/file_name /usr/lib/X11/app-defaults/file_name $XAPPLRESDIR/file_name $HOME/.Xdefaults
Where file_name is Pedb for the Parallel Environment debugger and Vt for the Visualization Tool. Options in the .Xdefaults file take precedence over entries in the preceding files. This allows you to have certain specifications apply to all users in the app-defaults file as well as user specific preferences set for each user in their $HOME/.Xdefaults file.
You customize a resource by setting a value to a resource variable associated with that feature. You store these resource settings in a file called .Xdefaults in your home directory. You can create this file on a server, and so customize a resource for all users. Individual users may also want to customize resources. The resource settings are essentially your own personal preferences as to how the X-Windows should look.
For example, consider the following resource variables for a hypothetical X-Windows tool:
In this example, say the resource variable TOOL*MainWindow.foreground controls the color of text on the tool's main window. The resource variable TOOL*MainWindow.background controls the background color of this same window. If you wanted the tool's main window to have red lettering on a white background, you would insert the following lines into the .Xdefaults file.
TOOL*MainWindow.foreground: red TOOL*MainWindow.background: white
Customizable resources and instructions for their use for pedb are defined in /usr/lpp/ppe.pedb/defaults/Pedb.ad. In this file is a set of X resources for defining graphical user interfaces based on the following criteria:
Customizable resources and instructions for their use for VT are defined in /usr/lpp/ppe.vt/defaults/Vt. In this file is a set of X resources for defining graphical user interfaces based on the following criteria: