X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Lewis Hyatt <lhyatt@princeton.edu>
Subject:  Re: using chere
Date:  Wed, 20 Jun 2007 16:15:20 -0400
Lines: 20
Message-ID: <f5c1sm$qu9$1@sea.gmane.org>
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>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
In-Reply-To: <f5c1ap$opv$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

> 
> The difference is that --login -i directs bash eventually to read 
> /etc/profile, which adds cygwin dirs to the path. So as Morgan thought, 
> this is somehow a PATH issue. However, I added c:\cygwin\bin, 
> c:\cygwin\user\X11R6\bin to my Windows path, and the chere still does 
> not pop up an xterm. (Note that adding these dirs to the Windows path is 
> not an option for me anyway, as it causes me a lot of DLL-hell type 
> problems).


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.

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

