On Sat, 19 Sep 2009, Stefan Caunter wrote:

On Fri, Sep 18, 2009 at 3:36 PM,  <[email protected]> wrote:
Off topic:
Is there any way to set up alternate .lynxrc files?
I haven't located anything in the documents to allow this.

Edit userdefs.h and recompile, look for

#define FNAME_LYNXRC ".lynxrc"

there's that - the symbol is used in the code in two places.
Both use the common logic in lynx that finds the home directory,
which can be overridden by setting the HOME environment variable
(for Unix of course - other systems may use different symbols).

Lynx uses the HOME environment variable rather than looking in the
password-file.  So you could make a simple script which invokes
lynx with different configuration (lynx.cfg and/or .lynxrc) customized
for different purposes.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to