delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/20/16:53:56

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Lewis Hyatt <lhyatt AT princeton DOT edu>
Subject: Re: using chere
Date: Wed, 20 Jun 2007 16:34:29 -0400
Lines: 30
Message-ID: <f5c30k$v3t$1@sea.gmane.org>
References: <46796B90 DOT 3 AT princeton DOT edu> <46797188 DOT 3050501 AT gmail DOT com> <f5bs7g$5n1$1 AT sea DOT gmane DOT org> <46798085 DOT 5060608 AT gmail DOT com> <f5c1ap$opv$1 AT sea DOT gmane DOT org> <f5c1sm$qu9$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
In-Reply-To: <f5c1sm$qu9$1@sea.gmane.org>
X-IsSubscribed: yes
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

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

In any case, sorry for all the emails, looks like I could have figured 
it out myself...

-Lewis


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