delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/18/15:03:29

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 18 Mar 2004 15:02:48 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Aaron Humphrey <HumphreyA AT Kakari DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin shells exit immediately
In-Reply-To: <s059937d.031@KAKARI.KAKARI.COM>
Message-ID: <Pine.GSO.4.56.0403181443490.6829@slinky.cs.nyu.edu>
References: <s059937d DOT 031 AT KAKARI DOT KAKARI DOT COM>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 18 Mar 2004, Aaron Humphrey wrote:

> Further (mostly negative) information on the problem:
>
> Nothing shows up in the Windows System Log when bash exits.
>
> Bash stays open to type maybe half a dozen characters, and can run, say,
> "ls" before exiting.
>
> A reboot didn't help.
>
> Another person on the same network has no problems with Cygwin, though
> he hasn't ugpraded to 1.5.8-1 yet.
>
> I noticed that in the cygcheck output I sent, all the DLLs seemed to
> show up twice, but that may just be because I ran it from C:\Cygwin\bin.
>
> --Aaron V. Humphrey
> Kakari Systems Ltd.

Aaron,

Did you try running bash non-interactively with a long-running command,
e.g., 'bash -c "sleep 20"'?  Does that work?  Does 'bash --norc -i' work?

Also, if vim works, try adding the following to your .bashrc:
set -o ignoreeof
to eliminate the possibility of stray EOFs being sent to bash...

If all else fails, there's always strace, but it will involve some effort
on your part to examine it and try to figure out why bash exits.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


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