This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: using chere


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@princeton.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]