This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: using chere
- From: Dave <kilroyd at googlemail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 21 Jun 2007 18:28:54 +0100
- Subject: Re: using chere
- References: <f5c30k$v3t$1@sea.gmane.org> <514926.2846.qm@web25006.mail.ukl.yahoo.com> <f5e0qn$ten$1@sea.gmane.org>
- Reply-to: cygwin-xfree at cygwin dot com
Paul Mallas wrote:
>>> Lewis Hyatt wrote:
>>>
>>> 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.
> Chere added this to my registry:
<snip>
> 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.
The first bug was reported on the main list for the chere+xterm
combination, which boils down to the users environment in windows.
I don't use cygwin+X much myself, so I'd like to ask a few questions as
to how people typically have their PC setup with cygwin+X.
1. Do you set DISPLAY in the windows environment? Is it recommended?
2. Do you set the windows PATH to include /usr/X11R6/bin? Is it recomended?
3. If DISPLAY is not set in the environment, would it ever be anything
other than 127.0.0.1 if you were trying to start an xterm from explorer?
4. Is run.exe always available on an X install?
In other words, would there be general unhappiness if I were to set the
(chere) xterm startup command to something along the lines of:
%cygwin%\bin\run.exe -p /usr/X11R6/bin %cygwin%\bin\xterm.exe -display
127.0.0.1:0.0 -e /bin/xhere /bin/bash.exe "%L"
Does anyone have a better solution for starting xterm?
Thanks,
Dave.
chere maintainer
PS. please cc me as I'm not subscribed to cygwin-xfree
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/