The start script $telelogic/bin/.tlwrapper is a common start script for Telelogic products that make use of SDT's integration mechanism, the PostMaster.
The SDT specific part is then setup by the SDT local $telelogic/sdt/bin/.wrapper script, which finally starts the correct application.
--------------------------------------------------------------- Caution! The .tlwrapper and .wrapper scripts should never be invoked manually; they are only supposed to be executed via the SDT com mands. ---------------------------------------------------------------
-------------------------------------------------------------------- Command Description -------------------------------------------------------------------- sdt Start SDT and raise the Organizer window. sdtbatch Start SDT in batch mode, without graphical user interface. To be used with additional parameters -p for print, -a for analysis, and -m for make. For more information, see "SDT Batch Facilities" on page 1150 in chapter 22, The SDT Organizer, in the vol ume SDT 3.01 Reference Manual. sdtprint Stand-alone print, corresponds to sdtbatch -p sdtsan Start SDT Analyzer stand-alone (textual mode). See "The Analyzer Command-Line UI" on page 1541 in chapter 31, The Analyzer, in the volume SDT 3.01 Reference Manual. sdtconfig(a) Start configuration of the SDT installation. startlicd Start license server. See chapter 4, The Software License Server for more information. stoplicd Stop license server. See chapter 4, The Software License Server for more information. updatelicd Reread the license.dat file, useful after the license file has been edited. See chapter 4, The Software License Server for more information. stat Show statistics about the license server, useful optional parameters [-a | -A | -f `feature'] See chapter 4, The Software License Server for more information. configlicda Configure the SDT start script to, by default, use another license file than $telelogic/license.dat See chapter 4, The Soft ware License Server for more information. --------------------------------------------------------------------
telelogic
sdtrelease
sdtdir
sdtbin
These environment variables are useful for the SDT users. They can easily be used as pointers into the SDT installation, without knowing were the installation is placed in the file system.
------------------------------------------------------------------ Note: A generated Simulator or Validator needs these environment vari ables to be set up, if it is run from the UNIX prompt without the graphical user interface. ------------------------------------------------------------------
Example 7 : Using SDT Environment Variables
ls $sdtrelease/examples
ls $sdtrelease/include/ADT
ls $sdtrelease/docTo read the source file (/appl/telelogic is assumed to be the root directory for the SDT installation):
source /appl/telelogic/bin/telelogic.sou
set path = ( $path $telelogic/bin )This should be done in the shell startup files, as described above.
In the case the computers on which you run the X Windows server and the client (the SDT applications) coincide, the environment variable DISPLAY should be set to unix:0.0 before starting SDT. Do not use the notation hostname:0.0
----------------------------------------------------------------- Note: An ending slash (`/') is mandatory; otherwise the temporary direc tory is one step up in the provided path. Example: setenv TMPDIR /usr/tmp/ -----------------------------------------------------------------
If required, the X Server must be adjusted to report the correct display resolution. See the documentation from the computer / software vendor for how to do this.
To turn off font scaling, the Preference Manager is used. See chapter 30, The Preference Manager for a reference to handling of preferences in SDT.
Please find the work order of how to modify resources in section "Work Order for Modifying SDT resources", below.
cp $sdtrelease/X11lib/app-defaults/SDT \ $HOME/Resourses/SDT
vi $HOME/Resources/SDT
setenv XAPPLRESDIR $HOME/Resources
setenv XUSERFILESEARCHPATH \ $XAPPLRESDIR/%N:$HOME/Resources/SDT
setenv XUSERFILESEARCHPATH \ $XUSERFILESEARCHPATH:$HOME/Resources/SDT
sdt
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 SDT distribution. This file is placed in $telelogic/X11lib and is only used if you run the X Window and Motif software provided by SDT. -----------------------------------------------------------------
If you want to add resources to Mwm, you can create your own .Xdefaults in your home directory, containing your personal resource definitions.
Example 8 : Changing Pointer Focus PolicyFor 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 SDT distribu tion. This file is located in $telelogic/X11lib/app-defaults and is only used if you run the X Window and Motif software pro vided by SDT. ------------------------------------------------------------------
Table of Contents Next Chapter