X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 22 Feb 2010 01:53:03 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ssh + patch + $TMP
Message-ID: <20100222065303.GA26134@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <1266525566.7752.1360709921@webmail.messagingengine.com>  <20100218205202.GY5683@calimero.vinschen.de>  <20100218212503.GA29260@ednor.casa.cgf.cx>  <20100219121253.GA5683@calimero.vinschen.de>  <4B7ECA09.1000703@cygwin.com>  <4B806A73.40807@laposte.net>  <20100221022322.GA29702@ednor.casa.cgf.cx>  <COL102-W186DEF235EC0E6884F4D79B5430@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <COL102-W186DEF235EC0E6884F4D79B5430@phx.gbl>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sun, Feb 21, 2010 at 05:33:56PM -0800, Karl M wrote:
>
>> Date: Sat, 20 Feb 2010 21:23:22 -0500
>> From: cgf
>> Subject: Re: ssh + patch + $TMP
>>
>> On Sun, Feb 21, 2010 at 12:04:19AM +0100, Cyrille Lefevre wrote:
>>
>> I would really bet that there aren't many programs out there which rely
>> on those environment variables. Just asserting that this is needed
>> doesn't really advance the conversation at all since you're just a lone
>> voice with no credentials which would give your opinion weight. If
>> you have specific examples then please provide them.
>>
>> If this was truly like linux then I believe that most, if not all, of
>> the environment would come from settings in the shell itself. So, in
>> thinking about this more, I think we could probably get away with
>> deleting everything.
>>
>> If someone wanted to run a program which relied on those variables they
>> could always set them themselves.
>>
>Although, we do inherit the windows environment when launching a Cygwin
>bash shell, so I wouldn't carry this argument to an extreme.

It's not the same thing.  If we really had a getty/login processes like
linux we would control the environment precisesly.  In the case of sshd
we're close to the way linux does things.  There is a daemon running
which starts a shell via sshd.

cgf

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

