[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

loading rc files

Initialization files are enabled by specifying the program attribute homerc (see section 7.3.1 Program Description Attributes). The initialization values are identified by the long option name followed by white space and any associated value. The value, if any, will continue through the end of the last line not continued with a backslash. Leading and trailing white space is stripped.

Initialization files are selected both by the homerc entries and, optionally, via an automatically supplied command line option. The first component of the homerc entry may be an environment variable such as $HOME, or it may also be $$ (two dollar sign characters) to specify the directory of the executable. For example:

 
homerc = "$$/../share/autogen";

will cause the AutoOpts library to look in the normal autogen datadir for an initialization file.

The initialization files are processed in the order they are specified by the homerc attribute, so that each new file will normally override the settings of the previous files. A few options may be marked for immediate action (see section 7.3.4.4 Immediate Action Attributes). Any such options are acted upon in reverse order. The disabled load-opts (--no-load-opts) option, for example, is an immediate action option. Its presence in the last homerc file will prevent the processing of any prior homerc files.

Further initialization file processing can be suppressed by specifying --no-load-opts on the command line, or PROGRAM_LOAD_OPTS=no in the environment, or no-load-opts in any of the specified homerc files.



This document was generated by Bruce Korb on May 5, 2003 using texi2html

Viewable With Any Browser   AutoGen Home