X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <D26DC1460B110E4C81E92179DB21277F01A3EEC3@caex1.ca.metsci.com>
Subject: RE: bash init failing on cygwin terminal launch
Date: Wed, 13 Feb 2008 19:58:42 -0000
Message-ID: <01ac01c86e7a$d576d760$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <D26DC1460B110E4C81E92179DB21277F01A3EEC3@caex1.ca.metsci.com>
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

On 13 February 2008 19:40, Rowe, Thomas wrote:

> When I launch a cygwin terminal I see this line:
>        : No such file or directoryand Settings/rowet/.bashrc
> 
> Then I am dumped into a bash prompt where .bashrc hasn't been read and I
> think the normal bash config stuff hasn't finished either.  If I type
> 'bash[return]' from this screwed-up login everything works fine.
> 
> Obviously something is tripping up on the space in %HOME%='C:\Documents
> and Settings\rowet'.  


  Maybe so, but you also got a CR lineending in there, which is why the error
message wrote over itself in that characteristic way.  You probably edited
/etc/profile or one of the other scripts using notepad/wordpad/similar.  

  To figure out exactly where, open a cmd.exe shell, cd into your cygwin bin
dir, and run "bash --login -i -x".  You should be able to follow what's
getting invoked when that way; then just run d2u on the offending script.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

