delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/08/12:27:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <mchase AT ix DOT netcom DOT com>
To: "Joel Bushart" <jdbushart AT hotmail DOT com>, "Cygwin" <cygwin AT cygwin DOT com>
References: <OE21ju2iDL6e5f6WVY500009ee1 AT hotmail DOT com> <000f01c1c6bf$2959aac0$d700a8c0 AT mchasecompaq> <OE55qoBgnJ3OghhR0yY0001baf5 AT hotmail DOT com>
Subject: Re: install bash-login problem
Date: Fri, 8 Mar 2002 09:25:28 -0800
MIME-Version: 1.0
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" <jdbushart AT hotmail DOT com>
To: "Cygwin" <cygwin AT cygwin DOT com>
Sent: Friday, March 08, 2002 09:05
Subject: Re: install bash-login problem


> ----- Original Message -----
> From: "Michael A Chase" <mchase AT ix DOT netcom DOT com>
> To: "Joel Bushart" <jdbushart AT hotmail DOT com>; "Cygwin" <cygwin AT cygwin DOT com>
> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019