[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV .lynxrc and lynx.cfg
From: |
Klaus Weide |
Subject: |
Re: LYNX-DEV .lynxrc and lynx.cfg |
Date: |
Wed, 30 Jul 1997 21:11:14 -0500 (CDT) |
On Wed, 30 Jul 1997, Phobos wrote:
> We've got Lynx version 2.7.1ac-0.34
> running on SunOS 5.5.1
>
> If a user has a .lynxrc in their home directory, lynx doesn't read the
> systemwide lynx.cfg!
>
> So any user who has saved some options (thereby creating the .lynxrc) no
> longer has the downloader options or default homepage etc specified in the
> lynx.cfg next time they use lynx.
>
> Any ideas?
Yes, this was broken in some versions of the development code.
It is has been fixed since then (lynx behaves as before).
Either get a newer version from <http://sol.slcc.edu/lynx/current/>,
or remove the following lines from src/LYMain.c (around line 875):
/* If we still have no config file, check one in home directory */
if (NULL == lynx_cfg_file)
{
temp = make_homedir_lynxrc_filename (NULL);
if (temp != NULL)
{
if (NULL != (fp = fopen (temp, "r")))
{
fclose (fp);
StrAllocCopy (lynx_cfg_file, temp);
}
FREE(temp);
}
}
---
Klaus
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;