delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/25/10:22:37

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 25 Mar 2010 16:21:59 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: modified cygwin.bat for rxvt - window does not stay up in 1.7.2
Message-ID: <20100325152159.GJ7718@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <15378-1269528055-416049 AT sneakemail DOT com>
MIME-Version: 1.0
In-Reply-To: <15378-1269528055-416049@sneakemail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Mar 25 14:40, j8raa6t5a9 AT snkmail DOT com wrote:
> Corinna Vinschen wrote at 21:20 +0100 on Mar 24, 2010:
>  > On Mar 24 20:16, Andy Koppe wrote:
>  > > Andy Koppe:
>  > > > j8raa6t5a9:
>  > > >> I updated to 1.7.2 and the cygwin.bat I modified ages ago to run rxvt does not work anymore.  The window pops up and quickly disappears (I'm using\
>  Windows XP).
>  > > >>
>  > > >> cygwin.bat looks like:
>  > > >> @echo off
>  > > >> C:
>  > > >> chdir C:\cygwin\bin
>  > > >> rxvt -e bash --login -i
>  > > >
>  > > > Does changing 'bash' to '/bin/bash' make a difference?
>  > > 
>  > > Answering my own question: yes.
>  > > 
>  > > There was a change in execvp()'s behaviour to no longer look up an
>  > > executable in the current working directory, wasn't there? I can't
>  > > find it in the ChangeLog though.
>  
> Yes, adding full paths to anything I exec fixes it for me.
> In reality, I use ssh-agent, too, so it becomes:
> 
> ssh-agent /bin/rxvt -e /bin/bash --login -i

Alternatively:

  path C:\cygwin\bin;%path%
  ssh-agent rxvt -e bash --login -i


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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