This is the mail archive of the
mailing list for the Cygwin project.
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?
hmmm - do you think there are still users that don't know regedit? hmm -
perhaps some linux-freaks.
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".
However, if you are familiar with the registry, then setting this value
should not be a big deal.
Thx for that feature :-)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html