This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin-ENV-Variable


There is already an undocumented way to do this in cygwin via the
Program Options registry key.  Create a new key:

HKLM\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
I'm very happy with that!

under this, you can create an string entry named "default" with data
containing CYGWIN environment variable options.  If you add an "export"
option to the end of the data values, a CYGWIN environment variable will
be regenerated from the registry and visible in the environment.
nice feature to - do i need the CYGWIN-ENV-Variable anywhere?

The main reason this this is not documented is that there is no
programmatic way to manipulate it and I am not comfortable with telling
people how to edit the registry "by hand".
hmmm - do you think there are still users that don't know regedit? hmm - perhaps some linux-freaks.

However, if you are familiar with the registry, then setting this value
should not be a big deal.
sure

Thx for that feature :-)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]