[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev order of cfg reading

From: Doug Kaufman
Subject: Re: lynx-dev order of cfg reading
Date: Tue, 10 Apr 2001 23:23:24 -0700 (PDT)

On Tue, 10 Apr 2001, Erika Pacholleck wrote:

> I could not find any statements about the order the configuration
> files are read at startup.
> That will effect how to use INCLUDE restrictions.
> Supposed I have as well systemwide and personal files
> - .profile
> - .lynx.cfg
> ( + one additinal /etc/lynx/previliged.cfg )
> how is the "official" order of reading in those files at startup?

Just to elaborate on Tom Dickey's reply, there is no mandatory
configuration file. There is a default configuration file picked
at compile time. This can be overridden by invoking lynx as 
"lynx -cfg=filename" or setting the environment variable LYNX_CFG.
Other files may be included, but only if so designated in the actual
configuration file used (be it the default or a private lynx.cfg
file). If there is a systemwide file, it might have a line at the end
to include ~/lynx.cfg, or you can invoke with your private lynx.cfg
and put a line at the beginning to include the systemwide file. Be
careful not to create an endless loop. Most (but not all) options are
set to the last setting read, if more than one setting exists (as when
you include other configuration files).
Doug Kaufman
Internet: address@hidden

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]