This is the mail archive of the
mailing list for the Cygwin project.
Re: /etc/setup/setup.cfg ?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Max Bowsher <maxb at ukf dot net>
- Cc: cygwin-apps at cygwin dot com
- Date: Sun, 9 Mar 2003 19:17:48 -0500 (EST)
- Subject: Re: /etc/setup/setup.cfg ?
- Reply-to: cygwin-apps at cygwin dot com
On Sun, 9 Mar 2003, Max Bowsher wrote:
> Igor Pechtchanski wrote:
> > There have been bits of persistent state that people wanted to store
> > for setup. I'm proposing an Xdefaults-style setup.cfg in /etc/setup.
> > If we compile a list of things to go in there, I could write a parser
> > for it (I don't think it merits yacc, like the one for setup.ini :-D).
> Ok, but we need to decide: Is this going to be user-edited, or setup-edited?
> I.e., there is no point in allowing comments, if they get removed every time
> setup re-writes the file.
It doesn't seem hard to have setup remember the order of options in the
config file (which would also allow it to remember user comments), so that
when we write out the options, we can keep the order.
> Also, what do we do about multi-valued items - e.g. which mirrors are
> selected. (Or do we just continue with the legacy storage for
Multi-valued items can be stored in a variety of formats, for example
space-separated with quoted items (quotes can be optional). My guess is
that this config file should subsume last-mirror, etc...
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!