This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Program Options vs. cygwin env problem


On Thu, 8 Aug 2002, Stephen C. Biggs wrote:

> On 8 Aug 2002 at 11:12, Christopher Faylor wrote:
>
> > On Thu, Aug 08, 2002 at 06:50:00AM -0700, Stephen C. Biggs wrote:
> > >cygcheck output:
> > >
> > >Here are the contents of the "Program Options" registry key
> > >
> > >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
> > >  (default) = `glob tty notitle ntsec export'
> > >
> > >However, the same cygcheck gives the value of CYGWIN environment var as:
> > >CYGWIN = `export glob ntsec title tty'
> > >
> > >This seems to be sticking somewhere weird... how do I unstick it??
> >
> > Either inspect the code and provide a fix for the "title" problem (I assume
> > that is what you are complaining about) or just don't use "notitle".  That
> > is the default.
> >
>
> No, what I am pointing out is that the registry key seems not to have any
> effect after it is set once.  Changing this registry key doesn't affect
> the regeneration of the CYGWIN environment variable once it has been
> generated once.  I am assuming that the environment variable is cached
> somewhere?  I was wondering where so I can change it manually?

Warning: WAG.
I may be completely off the mark here, but I think I recall reading that
the cygwin dll only reads the system environment once upon startup, and
that to have any changes in the environment take effect you need to reboot
to force a reload of the cygwin dll.  Could the same apply to the registry
value?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95.  Something is wrong here. -- SC sig file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]