delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/28/09:58:25

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C7E438E.F6DF9C65@hack.kampbjorn.com>
Date: Thu, 28 Feb 2002 15:49:50 +0100
From: Hack =?iso-8859-1?Q?Kampbj=F8rn?= <cygwin AT hack DOT kampbjorn DOT com>
Reply-To: cygwin AT cygwin DOT com
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,da,es,ca
MIME-Version: 1.0
To: "Markus K. E. Kommant" <Markus DOT Kommant AT de DOT adp DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Enviroment always uppercased; Help me, please
References: <BDF28C498CFED4119D720002B330B89301200AE2 AT xhole DOT bre DOT de DOT adp DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g1SEwO309788

"Markus K. E. Kommant" wrote:
> 
> Really???
> 
> > Don't start the program from a non cygwin program.
> 
> I am using Windows 2000/NT operating system as the base for my cygwin
> programs and not DOS and not Linux.
> 
> Do anyone know a good trick to use POSIX Environment (or simply real Windows
> Environment) without the cygwin-DOS changes.
> 
> Hopefully waiting for help, without real POSIX I have to look for another
> programming base, instead of cygwin...
> 
> Probably there has anybody build an own cygwin1.dll with POSIX Environment
> on Windows???
> 
> Markus

I don't know what you're asking for. Cygwin does provide case sensitive
environment variables.

In a cmd.exe window:

	C:\>set env_var=lowercase
	C:\>set
	[...]
	env_var=lowercase
	[...]
	C:\>set ENV_VAR=UPPERCASE
	C:\>set
	[...]
	env_var=UPPERCASE
	[...]
	C:\>cygwin
	$ set | grep -i env_var
	ENV_VAR=UPPERCASE
	$ logout
	C:\cygwin\bin>exit

And in cygwin's bash:
	$ env_var=lowercase
	$ ENV_VAR=UPPERCASE
	$ set | grep -i env_var
	ENV_VAR=UPPERCASE
	env_var=lowercase
	$ bash
	$ set | grep -i env_var
	$ exit
	$ export env_var ENV_VAR
	$ bash
	$ set | grep -i env_var
	ENV_VAR=UPPERCASE
	env_var=lowercase
	$ exit
	$ cmd.exe
	Microsoft Windows 2000 [Version 5.00.2195]
	(C) Copyright 1985-2000 Microsoft Corp.

	C:\>set
	[...]
	ENV_VAR=UPPERCASE
	[...]
	env_var=lowercase
	[...]

As cfg said: "Don't start the program from a non cygwin program"

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn

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