lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] -cfg does not work


From: Eduardo Chappa
Subject: Re: [Lynx-dev] -cfg does not work
Date: Sun, 23 Dec 2007 11:59:30 -0800 (PST)
User-agent: Alpine 1.00 (LRH 882 2007-12-20)

Thank you Thomas for your kind help.

There were some mistakes in my report. I have checked that lynx does set 
the configuration file through the command line, and I was wrong about 
that. For the sake of completeness I will describe what I did wrong and 
what was right about my report.

First, I reported the version of Lynx incorrectly

Lynx Version 2.8.6rel.5 (09 May 2007), ncurses 5.3.20030517
Built on linux-gnu Aug 31 2007 11:07:27

I had erased the source code after I built if for myself, by kept the 
compressed tar ball. Since I built with debug I unpacked the source 
code and traced the code under gdb.

I realized that I was not setting -cfg="something" from the command line. 
I normally run lynx under a script, which does other things for me, and 
this was not setting this switch, as I thought it would. That was my 
mistake.

In the source code I realized that if lynx_cfg_file is not set, then Lynx 
looks for the environment variable LYNX_CFG, which is not set, and then 
looks for the value set from the configure script, which uses $prefix/etc 
for the location of the configuration file. Normally, when I build Lynx, I 
set the prefix so that Lynx will install in my directory, because I am not 
an administrator of this computer. Therefore, Lynx saves internally the 
paths for lynx.cfg and lynx.lss, relative to my home directories.

It was because of this that lynx would not start. The cfg and lss files 
were not found because the configure script set their paths in the source 
code, and this path changed.

What I've done is to make sure from now on that the -cfg and -lss options 
are used in my script that starts lynx, and those will always point to 
their correct location.

By the way, I would like to take this oppotunity to thank you and all the 
people that work in Lynx. I use it extensively and appreciate all the work 
that you have done to develop this program.

Thank you for all your support.

-- 
Eduardo




reply via email to

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