IBM
Contents Index Previous Next



OSF/Motif Factors (UNIX only)


Event Translations

The X resource files SDT and Itex uses both OSF/Motif virtual bindings and ordinary X event specifications in translation tables. Refer to the OSF/Motif documentation for a discussion of virtual bindings.

Work Order for Modifying Tools Resources

Modification of the tools resources is only recommended for users who have good knowledge about the X Window System.

  1. Exit SDL Suite and TTCN Suite.
  2. Copy the resources you wish to modify from the default resource file(s) $telelogic/X11/app-defaults/SDT and/or $telelogic/X11/app-defaults/Itex and paste them into the file $HOME/.Xdefaults, or into local files $HOME/SDT and/or $HOME/Itex, by using a text editor.
  3. Restart SDL Suite and TTCN Suite by typing any of the following:
    sdlsuite
    
    ttcnsuite
    

The X-resources will now be taken from the default SDT and/or Itex files. The modified resource values in .Xdefaults, SDT or Itex will then override the values from the default resource file(s).1

The system.mwmrc File

The /usr/lib/X11/system.mwmrc file is the default Motif Window Manager startup file. In this file, which contains definitions of the button bindings and the root menu, your system manager may, for instance, add a menu choice for starting SDL Suite and TTCN Suite.

Any user can override the settings in this file by creating his own .mwmrc file in his login directory.

Note:

On Sun workstations you will find the system.mwmrc file in the SDL Suite and TTCN Suite distribution. This file is placed in $telelogic/X11 and is only used if you run the X Window and Motif software provided by SDL Suite and TTCN Suite.

The app-defaults/Mwm File

The /usr/lib/X11/app-defaults/Mwm file contains the default resource specifications for Motif Window Manager. This file contains the names of the button bindings which are defined in the system.mwmrc file, mentioned above.

If you want to add resources to Mwm, you can create your own .Xdefaults in your home directory, containing your personal resource definitions.

Example 1 : Changing pointer focus policy

For example, to indicate the current window by pointing to it with the cursor, instead of clicking in the window, add the following line to .Xdefaults

Mwm*keyboardFocusPolicy:      pointer

Note:

On Sun workstations you will find the Mwm file in the SDL Suite and TTCN Suite distribution. This file is located in
$telelogic/X11/app-defaults
and is only used if you run the X Window and Motif software provided by SDL Suite and TTCN Suite.

1

It is also possible to use the XAPPLRESDIR and XUSERFILESEARCHPATH to control X resources. Please refer to the X11 manuals for more information.


http://www.ibm.com/rational
Contents Index Previous Next