Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 1 Apr 2001 00:53:28 -0500 (EST) From: Jan Vicherek To: cygwin AT cygwin DOT com Subject: How to (dynamically) control Unix/Dos PATH-like variable translation In-Reply-To: <20010330231906.A1374@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, On Fri, 30 Mar 2001, Christopher Faylor wrote: > If you are running the cygwin process 'env' then cygwin will convert > some environment variables to UNIX format. There's no way around > that. How can I control which variables get translated Dos->Unix when starting a CYGWIN binary from Windows and which variables get translated Unix->Dos when starting a DOS/Windows binary from CYGWIN ? http://www.cygwin.com/cygwin-ug-net/using.html#USING-PATHNAMES says that HOME, PATH, and LD_LIBRARY_PATH are converted, but it doesn't say how to control any additional ones in runtime. (I.e. I know I can always edit the sources of Cygwin and recompile it, but I believe that runtime list of converted ENV VARs would be *very* handy to *many* of us out there ... ) Thanx, Jan -- -- Gospel of Jesus is the saving power of God for all who believe -- ## To some, nothing is impossible. ## http://Honza.Vicherek.com/ -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple