X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" x-cr-puzzleid: {993E7A6F-2ED1-491E-A3C8-9E8B2FE96547} x-cr-hashedpuzzle: Lo0= CdVK Cwwb EBrN EuYo FE3Q Fmyv G41o HznB H4t1 IiVJ JLvv Kykd K7dN LbUq Lw2V;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{993E7A6F-2ED1-491E-A3C8-9E8B2FE96547};cAByAGEAcwBhAGQALgBwAGEAbgBkAGEAcgBlAEAAaQBkAGUAbgB0AGkAeAAuAGMAbwBtAA==;Fri, 27 Apr 2007 21:28:11 GMT;UgBFADoAIABSAGUAZwBhAHIAZABpAG4AZwAgAHQAaABlACAAQwB5AGcAdwBpAG4AIABFAG4AdgBpAHIAbwBuAG0AZQBuAHQAIAB2AGEAcgBpAGEAYgBsAGUAcwA= content-class: urn:content-classes:message Subject: RE: Regarding the Cygwin Environment variables Date: Fri, 27 Apr 2007 16:28:16 -0500 Message-ID: <78006EF781F40B47935AF941E9692FCC0358F563@idxmnmail.identix.com> References: <78006EF781F40B47935AF941E9692FCC0358F553 AT idxmnmail DOT identix DOT com> <46326667 DOT 2060205 AT cygwin DOT com> From: "Pandare, Prasad" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l3RLSOLM007989 Hi folks, As I am new to UNIX and cygwin and stuck badly due to this environment variables Any suggestion to get me through(except manually setting them in .sh file) is welcome Thanks Prasad Pandare -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Larry Hall (Cygwin) Sent: Friday, April 27, 2007 5:09 PM To: cygwin AT cygwin DOT com Subject: Re: Regarding the Cygwin Environment variables Pandare, Prasad wrote: > Hi > > > I have installed latest cygwin software on windows XP. > > When I run C:\cygwin\cygwin.bat file then I run following command from > command prompt: > > Env > > > I get whole set of environment variables those are there in windows > operating system. > > But when I do ssh username AT 127 DOT 0 DOT 0 DOT 1 with correct password then it shows > different set of environment variables. > > The JAVA_HOME,ANT_HOME,DB2TEMPDIR environement variables are no more > seen. > > > Please advise as why this is there. > > Is this bug in cygwin? > > What is alternative to this problem? It is working as intended by the folks who bring you OpenSSH. See the previous discussions on this list and theirs if you want more details. If you need more of your environment, the solution is to add whatever variables you want to your shell rc file (.bashrc for 'bash') or to another file and source it from there. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/