X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <524328.20503.qm@web34505.mail.mud.yahoo.com>
References: <244882.68384.qm@web34508.mail.mud.yahoo.com>     <4B741CEB.6070706@towo.net>     <1ef5a52f1002110730v4325a8a0qd8e371019530a5da@mail.gmail.com>     <490452.20994.qm@web34508.mail.mud.yahoo.com>     <e75034cabf80ff8bc51091d71fa4bfbb.squirrel@mail.morrison.mine.nu>     <683244.21792.qm@web34501.mail.mud.yahoo.com>     <21bd2922656357a6867cb90a515cf7fe.squirrel@mail.morrison.mine.nu>     <65858.63922.qm@web34502.mail.mud.yahoo.com> <d265265650da9730b185c534a8b5bad7.squirrel@mail.morrison.mine.nu>
Date: Fri, 12 Feb 2010 03:02:50 -0800 (PST)
From: Neil Blue <neilblue@yahoo.com>
Reply-To: Neil Blue <neilblue@yahoo.com>
Subject: Re: .bashrc file not run
To: John Morrison <john@morrison.mine.nu>, cygwin@cygwin.com
In-Reply-To: <d265265650da9730b185c534a8b5bad7.squirrel@mail.morrison.mine.nu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-IsSubscribed: yes
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

Yes it is all working now, as long as I don't use --login for bash.
I guess the failure to copy the skel/.bash_profile may have been the root of the problem.

Neil



----- Original Message ----
From: John Morrison <john@morrison.mine.nu>
To: cygwin@cygwin.com
Sent: Fri, February 12, 2010 9:58:04 AM
Subject: Re: .bashrc file not run

On Fri, February 12, 2010 9:51 am, Neil Blue wrote:
> I created the ~/.profile in response to the email from Csaba Raduly. the
> bash man page does say it will look for ~/.profile as well.

It does, but you can't expect default behaviour from a non default file! ;)

> The setup program creates some terminal links like:
>
> C:\cygwin\bin\run.exe /usr/bin/rxvt.exe -display 127.0.0.1:0 -tn
> rxvt-cygwin -e /bin/bash --login
>
> I just removed the --login option to preserve the results of ~/.bashrc,
> but then need to set up things like my prompt again as I loose the other
> automatic settings.
>
> This was a new cygwin install, downloaded a couple of days ago.
>
>
> I was trying to copy the skel/.bash_profile and got this:
>
> $ cp /etc/skel/.bash_profile ~/
> cp: not writing through dangling symlink `/home/blueneil/.bash_profile'

I've no idea why you got that - somebody with more knowledge than I should
be able to help...

> but
> cat /etc/skel/.bash_profile > ~/.bash_profile
> all works as expected and calls ~/.bashrc

So... all working now?

J.


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


      

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

