delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Paul Mallas <pmallas AT rsmas DOT miami DOT edu> |
Subject: | Re: using chere |
Date: | Thu, 21 Jun 2007 10:09:26 -0400 |
Lines: | 73 |
Message-ID: | <f5e0qn$ten$1@sea.gmane.org> |
References: | <f5c30k$v3t$1 AT sea DOT gmane DOT org> <514926 DOT 2846 DOT qm AT web25006 DOT mail DOT ukl DOT yahoo DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 1.5.0.12 (Windows/20070509) |
In-Reply-To: | <514926.2846.qm@web25006.mail.ukl.yahoo.com> |
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 |
I had a similar problem with chere and xterm. Chere edits your Windows registry file. It added this to my registry: C:\cygwin\bin\run.exe C:\cygwin\bin\xterm.exe -e /bin/xhere /bin/bash.exe "%L" This sits in the registry at HKEY_CLASSES_ROOT/Directory/shell/cygwin_bash/command I added -display 127.0.0.1:0.0 to the command line: C:\cygwin\bin\run.exe C:\cygwin\bin\xterm.exe -display 127.0.0.1:0.0 -e /bin/xhere /bin/bash.exe "%L" and it works fine for me now. Since we are on the topic - is there a way to do something similar inside an open windows folder rather than from the folder icon? I would find that much more convenient. Marco Atzeri wrote: > --- Lewis Hyatt <lhyatt AT princeton DOT edu> ha scritto: > >> 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. >> >> > I do not remenber exactly how I solved the issue, > but it is was related to advise xterm/rxvt where the > bash shell is; as cygwin %PATH is loaded by bash > and rxvt is loaded before. > > what "chere -r" says ? > > for me is: > > OS is CYGWIN_NT-5.1 > chere version 0.7 > run.exe is available at C:\cygwin\bin\run.exe > <CUT> > --- bash keys --- > Directory menu item (all users) > &Bash Prompt Here > > Directory command (all users) > C:\cygwin\bin\run.exe C:\cygwin\bin\rxvt.exe > -fg white -bg black -e /bin/xhere /bin/bash.exe "%L" > > > Regards > Marco > > > > ___________________________________ > L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |