dtenvvar

file formats

`dtenvvar`

CDE environment variables

## DESCRIPTION

The CDE desktop sets up and uses a number of environment variables to find certain files and do certain things. Components tied into CDE then use these environment variables to locate specific types of files. Environment variables used within the CDE desktop are:

CEPATH

- Used by ToolTalk when in Classing Engine mode, where the Classing Engine where to find the databases. Refer to &cdeman.ttsession; and &cdeman.tt.type.comp; for more information.

`COLUMNS`

- Set by the terminal emulator. Refer to &cdeman.dtterm; for more information.

`DISPLAY`

- Is set to the associated display name. Refer to &cdeman.dtlogin; and &cdeman.ttsession; for more information.

`DTAPPSEARCHPATH`

- Used to search for Application Manager applications. Refer to &cdeman.dtappgather; and &cdeman.dtsearchpath; for more information.

`DTDATABASESEARCHPATH`

- Used to collect filetype and action definitions, as expressed in `*.dt` files. Refer to &cdeman.dtsearchpath;, &cdeman.dtaction;, &cdeman.dtactionfile;, and &cdeman.dtdtsfile; for more information.

DTHELPSEARCHPATH

- System specified variable used to locate desktop help files. Refer to &cdeman.dtsearchpath; and &cdeman.dthelpgen; for more information.

DTHELPUSERSEARCHPATH

- User specified variable used to locate desktop help files. Refer to &cdeman.dtsearchpath; and &cdeman.dthelpgen; for more information.

`DTINFOLIBSEARCHPATH`

- Used by `dtinfo` to locate information libraries on local and remote mounted systems. Refer to &cdeman.dtsearchpath; and &cdeman.dtdocbook2infolib; for more information.

`DTINFOLIBDEFAULT`

- Used by `dtinfo` to identify the default information library(s) to load if the `-l` or `-sect` option is not specified. Multiple information libraries can be specified by a comma separated list. By default, `DTINFOLIBDEFAULT` is initialized to the CDE infolib cde.

DTMOUNTPOINT

- Used to set the name of the file system's mount point, such as '/nfs' or '/net'. Refer to &cdeman.dtspcd; and &cdeman.dtsearchpath; for more information.

DTPRINTCWD

- If set to an existing, usable directory, this setting causes &cdeman.dtlp; to execute the `lp` command pipeline from that directory. By default, this setting uses the current directory from which &cdeman.dtlp; is invoked. Refer to &cdeman.dtlp; for more information.

DTPRINTFILEREMOVE

- Remove the file after printing it. This functionality is intended for temporary files generated by components such as the Text Editor and Help system files that don't need to persist beyond the act of printing. Value must be `True` or `False` (case is ignored). Default is `False`. Refer to &cdeman.dtlp; for more information.

DTPRINTSILENT

- Print the file silently, without posting the PRINT dialog. Value must be `True` or `False` (case is ignored). Default is `False`. Refer to &cdeman.dtlp; for more information.

DTPRINTUSERFILENAME

- Use this value as the name of file as it should appear in the PRINT dialog. Default is print_file. Refer to &cdeman.dtlp; for more information.

DTSCREENSAVERLIST

- Used to set the default desktop screen saver action list. Used by &cdeman.dtstyle; to determine the list of available screen savers. Refer to &cdeman.dtstyle; for more information.

DTSPSYSAPPHOSTS

- Used by system administrators as an input to &cdeman.dtsearchpath; to create the `DTAPPSEARCHPATH` environment variable. It is the primary environment variable and drives the remaining search paths for filetypes and actions, for desktop icons, and for help files. Refer to &cdeman.dtappgather; and &cdeman.dtsearchpath; for more information.

DTSPSYSDATABASEHOSTS

- Used by system administrators as an input to `dtsearchpath` to create the `DTDATABASESEARCHPATH` environment variable. Refer to &cdeman.dtsearchpath; for more information.

DTSPSYSHELP

- Used by system administrators as an input to `dtsearchpath` to create the DTHELPSEARCHPATH environment variable. Refer to &cdeman.dtsearchpath; for more information.

DTSPSYSICON

- Used by system administrators as an input to `dtsearchpath` to create the `XMICONSEARCHPATH` and XMICONBMSEARCHPATH environment varables. Refer to &cdeman.dtsearchpath; for more information.

DTSPUSERAPPHOSTS

- Used by end users as an input to `dtsearchpath` to create the `DTAPPSEARCHPATH` environment variable. Refer to &cdeman.dtappgather; and &cdeman.dtsearchpath; for more information.

DTSPUSERDATABASEHOSTS

- Used by end users as an input to `dtsearchpath` to create the `DTDATABASESEARCHPATH` environment variable. Refer to &cdeman.dtsearchpath; for more information.

DTSPUSERHELP

- Used by end users as an input to &cdeman.dtsearchpath; to create the DTHELPSEARCHPATH environment variable. Refer to `dtsearchpath` for more information.

DTSPUSERICON

- Used by end users as an input to &cdeman.dtsearchpath; to create the `XMICONSEARCHPATH` and XMICONBMSEARCHPATH environment variables. Refer to &cdeman.dtsearchpath; for more information.

`DTSROCFPATH`

- Used by the `DtSearchInit` function to locate the default API configuration `ocf` file. If the ocf_file argument is NULL, `DtSearchInit` looks for an `ocf` file with a base name of either `dtsearch.ocf` or `austext.ocf` in the directory specified by `DTSROCFPATH`, in the current working directory, or in the `HOME` directory, in that order.

`DTTAGOPT`

- Used by &cdeman.dthelptag;. Refer to &cdeman.dthelptag; for more information.

`DTUSERSESSION`

- Used to control the location of the end user's subdirectory where the Application Manager will be rooted. Also used by the Help system to store data on a per user-session-display basis. Refer to &cdeman.dtappgather; or &cdeman.dthelpview; for more information.

EDITOR

- Is set to `/usr/dt/bin/dtpad` Refer to &cdeman.dtlogin; for more information.

`HOME`

- Is set to the home directory of the user. Refer to &cdeman.dtlogin; and &cdeman.dtmail; for more information.

KBD_LANG

- Is set to the value of `LANG` for applicable languages. Refer to &cdeman.dtlogin; for more information.

`LANG`

- Is set to the current NLS language (if any). Refer to &cdeman.dtlogin; for more information.

LC_ALL

- Is set to the current NLS language (if any). Refer to &cdeman.dtlogin; for more information.

LC_MESSAGES

- Is set to the current NLS language (if any). Refer to &cdeman.dtlogin; for more information.

`LINES`

- Set by the terminal emulator. Refer to &cdeman.dtterm; for more information.

`LOGNAME`

- Is set to the user name. Refer to &cdeman.dtlogin; for more information.

`LPDEST`

- Set the printer destination for the file. Refer to &cdeman.dtlp; for more information.

MAIL

- Is set to `/var/mail/$USER` (system dependent). Refer to &cdeman.dtlogin; for more information.

`MAILRC`

- Used by &cdeman.dtmail; as the mailer's startup file. Refer to &cdeman.dtmail; for more information.

MANPATH

- The &cdeman.dtsearchpath; utility appends `/usr/dt/man` to it. Refer to &cdeman.dtsearchpath; for more information.

`NLSPATH`

- Determine the location of message catalogues for the processing of LC_MESSAGES. Refer to &cdeman.dtterm; for more information.

`PATH`

- Is set to the value of the `userPath` resource. Refer to &cdeman.dtlogin; for more information.

`SHELL`

- Is set to the user's default shell (from `/etc/passwd`). Refer to &cdeman.dtlogin; and &cdeman.dtterm; for more information.

TERM

- Is set to `dtterm` the default CDE terminal emulator. Refer to &cdeman.dtterm; and &cdeman.dtlogin; for more information.

TERMINAL_EMULATOR

- Set by the terminal emulator. Refer to &cdeman.dtterm;) for more information.

TTPATH

- Used by ToolTalk. It tells ToolTalk where to find the ToolTalk types database when in XDR mode. Refer to &cdeman.ttsession; for more information.

TTSESSION_CMD

- This specifies the shell command to be used by all ToolTalk clients for auto-starting `ttsession`. Refer to &cdeman.ttsession; for more information.

TT_ARG_TRACE_WIDTH

- Used by ToolTalk. It specifies the number of bytes of argument and context values to write when in trace mode. Refer to &cdeman.ttsession; for more information.

`TT_FILE`

- Set by `ttsession` when it invokes a tool to receive a message. Refer to &cdeman.ttsession; for more information.

`TT_SESSION`

- The `ttsession` utility uses this varible to communicate its session ID to the tools that it starts. Refer to &cdeman.ttsession; for more information.

TT_TOKEN

- Used to inform the ToolTalk client library that it has been invoked by `ttsession`. Refer to &cdeman.ttsession; for more information.

TT_TRACE_SCRIPT

- If set, tells libtt to turn on client-side tracing as specified in the trace script Refer to &cdeman.tttrace; for more information.

`TZ`

- Is set to the value of the `timeZone` resource or system default. Refer to &cdeman.dtlogin; for more information.

`USER`

- Is set to the user name. Refer to &cdeman.dtlogin; for more information.

WINDOWID

- Set by the terminal emulator. Refer to &cdeman.dtterm; for more information.

`XAPPLRESDIR`

- Specifies the name of a directory that contains application specific resources. Refer to &cdeman.dtterm; and &cdeman.dtwm; for more information.

XAUTHORITY

- May be set to an authority file. Refer to &cdeman.dtlogin; for more information.

`XENVIRONMENT`

- Specifies the name of a resource file with user- or machine specific resources. Refer to &cdeman.dtterm; and &cdeman.dtwm; for more information.

`XFILESEARCHPATH`

- Defines a language-dependent location of app-defaults. Refer to &cdeman.dtterm; and &cdeman.dtwm; for more information.

`XMICONSEARCHPATH`

- Used to locate desktop icons. Refer to &cdeman.dtsearchpath; for more information.

XMICONBMSEARCHPATH

- Used to locate bitmap (2 color) desktop icons. Refer to &cdeman.dtsearchpath; for more information.

XMODIFIER

- Specifies which input method to use. Refer to &cdeman.dtterm; for more information.

## SEE ALSO

&cdeman.dtaction;, &cdeman.dtactionfile;, &cdeman.dtappgather;, &cdeman.dtappintegrate;, &cdeman.dtcm;, &cdeman.dthelpgen;, &cdeman.dthelptag;, &cdeman.dthelpview;, &cdeman.dtlogin;, &cdeman.dtlp;, &cdeman.dtsearchpath;, &cdeman.dtspcd;, &cdeman.dtstyle;, &cdeman.dtterm;, &cdeman.dtdtsfile;, &cdeman.dtwm;, &cdeman.tt.type.comp;, &cdeman.ttsession;, &cdeman.tttrace;.