lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev a note on different lynx.cfg/commandline args syntax


From: David Combs
Subject: Re: lynx-dev a note on different lynx.cfg/commandline args syntax
Date: Sun, 4 Apr 1999 15:29:55 -0700

On Mon, Apr 05, 1999 at 01:23:59AM +0400, Leonid Pauzner wrote:
> 4-Apr-99 10:55 address@hidden wrote:
> 
> >> Also the arguments tables in LYMain.c and LYReadCFG.c
> >> have the different signature that may be a misguiding when adding new 
> >> options:
> 
> > well - by making these things table-driven, we can indeed go a step further 
> > and
> > make the tables compatible (is that what you are asking about?)
> 
> The tables are incompatible because of different style of options
> (one in lynx.cfg always have a value, but most command line switches
> have no value, etc.), it will add more mess if we made them
> unified (a really bad idea).
> But we may change a signatue e.g. use `&variable' syntax in both tables
> (now `variable' in one table and `&variable' in another)
> so it would be obvious that we change the value - a minore issue.
> 
> Probably, we may add an initialization field in lynx.cfg table,
> so the variables will be initialized based on userdefs.h defines
> not in main() but directly in read_cfg(). But probably add more complexity,
> maybe not. Just a thought.
> 
> 

This stuff sure looks hairy.  To me at least.  I hope
somone is adding such info as above to the source as doc.  :-)

David


reply via email to

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