delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/04/01:55:56

From: BNHunsaker AT chq DOT byu DOT edu (Bruce Hunsaker)
Subject: b19 CYGWIN32 environment variable strangeness
4 Mar 1998 01:55:56 -0800 :
Message-ID: <s4fbd2f1.008.cygnus.gnu-win32@chq.byu.edu>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Explain this (output from actual cmd.exe window):

	C:\>
	C:\>echo %CYGWIN32%
	notitle tty

	C:\>set CYGWIN32=notty

	C:\>echo %CYGWIN32%
	notty

	C:\>bash
	$ echo $CYGWIN32
	notitle tty
	$ exit
	exit

	C:\>echo %CYGWIN32%
	notty

Now if I go to ControlPanel->System->Environment and change the
System Variable CYGWIN32 (it is not set as a User variable) to
anything, and then change it back, clicking on Set then Apply
then OK, .. then if I exit the above cmd window and start a 
new one then I get:

	C:\>
	C:\>echo %CYGWIN32%
	notitle tty

	C:\>set CYGWIN32=notty

	C:\>echo %CYGWIN32%
	notty

	C:\>bash
	$ echo $CYGWIN32
	notty
	$ exit
	exit

	C:\>echo %CYGWIN32%
	notty

Things now work as expected!

It will  continue to work correctly until the machine is rebooted.
At that point the problem comes back.
I didn't have the problem until after the first time the machine was
booted after setting CYGWIN32 to "notitle tty".

---
Bruce Hunsaker

----
Bruce Hunsaker -- ext 6027

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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