Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <005101c1c6c6$62e1e440$d700a8c0@mchasecompaq> From: "Michael A Chase" To: "Joel Bushart" , "Cygwin" References: <000f01c1c6bf$2959aac0$d700a8c0 AT mchasecompaq> Subject: Re: install bash-login problem Date: Fri, 8 Mar 2002 09:25:28 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 ----- Original Message ----- From: "Joel Bushart" To: "Cygwin" Sent: Friday, March 08, 2002 09:05 Subject: Re: install bash-login problem > ----- Original Message ----- > From: "Michael A Chase" > To: "Joel Bushart" ; "Cygwin" > Sent: Friday, March 08, 2002 11:33 AM > Subject: Re: install bash-login problem > > > The correct way to get a bash prompt is the same as shown in > > c:\cygwin\cygwin.bat, start bash: bash --login -i > > > > You are not logging into UNIX, you are starting an alternate shell in > > Windows. > > My apologies I forgot to mention that that login error also occurs from the > cygwin.bat file when I double click it. :( > anywho, I thought that some greater minds than I may make some sense out of > it as bash seems to work fine but login fails. I'm not sure if cygwin or > login is in error. There _isn't_ and _shouldn't_ be a call to the binary program 'login.exe' in the default cygwin.bat. If you have one there now, it is an error; replace it with the original text. I've placed a list of the original contents of cygwin.bat below my sig so you can easily correct it. If _bash_ fails to start for some reason in cygwin.bat, that is another issue. The chdir to the Cygwin /bin directory is necessary if you don't already have it in PATH. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. cygwin.bat: (for / = c:\cygwin\) @echo off c: chdir c:\cygwin\bin bash --login -i -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/