This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Failure in merging win-env vars into post-'login'...
- From: Linda Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Sat, 24 Jan 2015 00:26:48 -0800
- Subject: Re: Failure in merging win-env vars into post-'login'...
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 20150114124044 dot GD15791 at calimero dot vinschen dot de> <54B7365C dot 7020307 at tlinx dot org> <20150115091110 dot GA10242 at calimero dot vinschen dot de> <54B8DD29 dot 20901 at tlinx dot org> <20150116105114 dot GC3122 at calimero dot vinschen dot de> <54B9AFF4 dot 6010903 at tlinx dot org> <20150119102606 dot GC10055 at calimero dot vinschen dot de> <54C1A682 dot 6060103 at tlinx dot org> <20150123113657 dot GB19127 at calimero dot vinschen dot de>
BTW, FWIW, when I 'remotely login', now, and try to use
win-env vars:
/Users/law.Bliss/bin/dumphive: line 11: USERPROFILE: unbound variable
more than one of my scripts and other programs fail due to
USERPROFILE being null.
Is it possible to preserve that?
maybe a file in /etc/ could specify which variables to
preserve (or set) on login.
I often launch windows programs from my bash shell --
especially things like explorer, or windows gvim...
(generally I use 'bash' as my win-shell. Last I tried,
it worked in comspec as well, but I decided to keep that
pointing at cmd since if bash is broken, I might
have problems launching a shell to fix it.
Tnx!
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple