X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0	tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: Re: Cygwin 1.7.7, User Variables, User Profiles
Date: Wed, 24 Nov 2010 20:07:46 +0100
Lines: 24
Message-ID: <icjnq2$iio$1@dough.gmane.org>
References: <12743_1290586397_4CECC91D_12743_11770_1_OFF985DD98.3E9EB25A-ONC12577E5.002D1C9E-C12577E5.002D283C@nbg.sdv.spb.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

* rudolf.bendl@extern.sdv-it.de (Wed, 24 Nov 2010 09:13:14 +0100)
> I try to invoke the "set" command over ssh to a Cygwin 1.7.7 server
> and would expect that I get the variables I have defined in 
> $HOME/user/.profile

> ...
> TEST=test
> export TEST
> ....

That's equivalent to "export TEST=test".
 
> But I dont see the variables I defined in $HOME/user/.profile. What
> can I do?

Define them in the right place: $HOME/.profile instead of 
$HOME/user/.profile. And make sure there is no .bash_profile.

Actually .bash_profile would be even better. And .bashrc would be even 
better better (since it's recommended to leave .bash_profile empty 
except a source statement for .bashrc (which is the default in Cygwin 
anyway)).

Thorsten


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

