X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Paul Mallas Subject: Re: using chere Date: Thu, 21 Jun 2007 10:09:26 -0400 Lines: 73 Message-ID: References: <514926 DOT 2846 DOT qm AT web25006 DOT mail DOT ukl DOT yahoo DOT com> 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: <514926.2846.qm@web25006.mail.ukl.yahoo.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 > > --- 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/