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 Message-ID: <003801c26b09$e6e37820$2a00a8c0@dash> From: "Kris Warkentin" To: References: Subject: Re: unintended logout with bash shell Date: Thu, 3 Oct 2002 14:22:58 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > Kris, > I don't see this behavior on Win2k SP2, bash 2.05b-5... Try putting the > whole gvim invocation line (including the '&') in parentheses (it'll > force the invocation into a subshell), and see if this helps... > > Otherwise, please post the version of Cygwin and bash you have, and which > OS you're running on... I'm fairly current and am seeing the problem on both Win2k and WinXP. $ uname -a CYGWIN_NT-5.0 DASH 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown $ bash --version GNU bash, version 2.05a.0(3)-release (i686-pc-cygwin) Copyright 2001 Free Software Foundation, Inc. Your parenthesis suggestion seems to be working though and I haven't seen the problem since I did that. The funny thing is that it was so intermittent. I had a hard time getting it to do it every time. It was like I was getting a stray EOF in there sometimes. Incidentally, the command line I gave works much nicer if you put a "--" in it like so: (/cygdrive/d/vim/vim60/gvim.exe `for file in $* ; do cygpath -w -- $file ; done` &) This way options get passed correctly to gvim without being gobbled up and choked on by cygpath. thanks and cheers, Kris -- 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/