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