delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/04/15:42:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3D4D83CA.9070708@upb.de>
Date: Sun, 04 Aug 2002 21:43:06 +0200
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-ENV-Variable
References: <3D4D7A06 DOT 2060402 AT upb DOT de> <20020804191816 DOT GA12853 AT redhat DOT com>
X-Enigmail-Version: 0.65.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
X-OriginalArrivalTime: 04 Aug 2002 19:43:21.0343 (UTC) FILETIME=[304DE8F0:01C23BEF]

> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019