Hi Larry,

Thanks for quick reply.

Which previous discussion you are talking about ?

I have just subscribed to the mail today and I have delivery wherein I
am supposed to
Get all envirionment variables from remote machine without adding them
manually like
Following statement
Export JAVA_HOME=c:\jdk1.6

Instead of adding variables in bashrc file can we get them automatically
Like JAVA_HOME,ANT_HOME without any manual addition of code.


Thanks a lot
Prasad Pandare

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Larry Hall (Cygwin)
Sent: Friday, April 27, 2007 5:09 PM
To: cygwin@cygwin.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 [EMAIL PROTECTED] 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/

Reply via email to