/usr/dt/share/man/cat1/dtsession_res.1(/usr/dt/share/man/cat1/dtsession_res.1)
dtsession_res(1) USER COMMANDS dtsession_res(1)
NAME
dtsession_res - TED dtsession resource load utility
SYNOPSIS
dtsession_res -load|-merge [-system] [-xdefaults] [-file
<name>] NOTE: The TriTeal Enterprise Desktop (TED)
dtsession_res utility is used by dtsession and the
ReloadResources action to load session resources. It is not
intended to be run directly from the command line.
DESCRIPTION
The TED dtsession_res utility uses xrdb(1) to load the ses-
sion resources into the RESOURCE_MANAGER property of the
root window of the display. The session resources are gath-
ered from the following files:
- /usr/dt/config/$LANG/sys.resources -
/etc/dt/config/$LANG/sys.resources - $HOME/.Xdefaults -
$HOME/.dt/<session dir>/dt.resources
Refer to the dtsession(1) man page for more information on
these files and their content. The dtsession_res utility
provides support for display-specific resources by convert-
ing the $DISPLAY value into a cpp(1) macro that can be used
in a session resource file to limit resource definitions to
a particular display. It does this by converting all '.'
(dot) and ':' (colon) characters to '_', stripping off any
screen specification and finally prefixing 'DISPLAY_' to the
result. For example, a $DISPLAY of ':0' would be
'DISPLAY_0', and a $DISPLAY of 'blanco.gato.com:0.0' would
be 'DISPLAY_blanco_gato_com_0'. The resulting value can be
used as part of a cpp test in a session resource file. For
example:
Myapp*resource: value
#ifdef DISPLAY_blanco_gato_com_0
Myapp*resource: specialvalue1
#endif
#ifdef DISPLAY_pablo_gato_com_0
Myapp*resource: specialvalue2
#endif
OPTIONS
-load
Replace the current RESOURCE_MANAGER content with the ses-
sion resources.
-merge
Merge the current RESOURCE_MANAGER content with the session
resources.
-system
Load or merge the system session resources.
Unix System LaboratoLast change: 1 August 1995 1
dtsession_res(1) USER COMMANDS dtsession_res(1)
-xdefaults
Load or merge the $HOME/.Xdefault file.
-file <name>
Load or merge the file specified by <name>.
EXAMPLES
The dtsession_res utility is not intended to be run from the
command line. Refer to the ReloadResources action for infor-
mation on how to reload session resources in a user's ses-
sion.
dtsession_res -load -system -xdefaults \
-file $HOME/.dt/sessions/current/dt.resources
Replaces the RESOURCE_MANAGER with the content of the fol-
lowing files: - /usr/dt/config/$LANG/sys.resources, -
/etc/dt/config/$LANG/sys.resources, - $HOME/.Xdefaults and -
$HOME/.dt/sessions/current/dt.resources files.
Unix System LaboratoLast change: 1 August 1995 2
See also dtsession_res(1)
Man(1) output converted with
man2html