(ddd.info)Resources
3.6.1.1 Resources
.................
Just like any X program, DDD has a number of places to get resource
values from. For DDD, the most important places to specify resources
are:
* The `~/.ddd/init' file (`~' stands for your home directory). This
file is read in by DDD upon start-up; the resources specified
herein override all other sources (except for resources given
implicitly by command-line options).
If the environment variable `DDD_STATE' is set, its value is used
instead of `~/.ddd/'.
* The `Ddd' application-defaults file. This file is typically
compiled into the DDD executable. If it exists, its resource
values override the values compiled into DDD. If the versions of
the `Ddd' application-defaults file and the DDD executable do not
match, DDD may not function properly; DDD will give you a warning
in this case.(1)
* The command-line options. These options override all other
resource settings.
* If the environment variable `DDD_SESSION' is set, it indicates the
name of a session to start, overriding all options and resources.
This is used by DDD when restarting itself.
Not every resource has a matching command-line option. Each resource
(whether in `~/.ddd/init' or `Ddd') is specified using a line
Ddd*RESOURCE: VALUE
For instance, to set the `pollChildStatus' resource to `off', you
would specify in `~/.ddd/init':
Ddd*pollChildStatus: off
For more details on the syntax of resource specifications, see the
section `RESOURCES' in the `X(1)' manual page.
---------- Footnotes ----------
(1) If you use a `Ddd' application-defaults file, you will not be
able to maintain multiple DDD versions at the same time. This is why
the suiting `Ddd' is normally compiled into the DDD executable.
automatically generated by info2www version 1.2.2.9