X-Spam-Check-By: sourceware.org
Message-ID: <467998F4.6000908@gmail.com>
Date: Wed, 20 Jun 2007 22:15:32 +0100
User-Agent: Thunderbird 1.5.0.10 (X11/20070331)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: using chere
References: <46796B90.3@princeton.edu> <46797188.3050501@gmail.com> <f5bs7g$5n1$1@sea.gmane.org> <46798085.5060608@gmail.com> <f5c1ap$opv$1@sea.gmane.org> <f5c1sm$qu9$1@sea.gmane.org> <f5c30k$v3t$1@sea.gmane.org>
In-Reply-To: <f5c30k$v3t$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
From: Dave <kilroyd@googlemail.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Lewis Hyatt wrote:
> Lewis Hyatt wrote:
> 
>> OK, one last thing, sorry. I did something wrong with the last test.
>> If I add c:\cygwin\bin and c:\cygwin\usr\X11R6\bin to the Windows PATH
>> variable, then chere does work to open up an xterm!
>>
>> So I guess the only question is: is there any way to avoid this
>> requirement? It would be helpful for me if I didn't have to add these
>> to the path. I'm not sure how chere is implemented, but could it just
>> set these variables before calling the xterm? Thanks again.
> 
> 
> Continuing this barrage of replies to myself... I was able to make this
> work the way I want. I just modified the registry keys myself, following
> the output of chere -p, and replaced
> 
>     c:\cygwin\bin\run.exe
> 
> with
> 
>     c:\cygwin\bin\run.exe -p c:\cygwin\bin -p c:\cygwin\usr\X11R6\bin
> 
> I wonder if this might be useful enough to become the default behavior?
> Presumably chere is already able to detection the location of the cygwin
> directory, since it finds run.exe...

Thanks for chasing this down. Looks like I'm going to have do a bit of
testing to confirm an appropriate solution for starting xterm.

Regards,

Dave.
chere maintainer

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

