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 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 Reply-To: cygwin AT cygwin DOT com To: Aaron Humphrey cc: cygwin AT cygwin DOT com Subject: Re: Cygwin shells exit immediately In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/