This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: X Server no longer launches urxvtc-X
On Aug 20 10:54, Charles Wilson wrote:
> On 8/20/2010 10:48 AM, Jay Goldman wrote:
> >I have the following menu items in my .XWinrc:
> > Black EXEC "/bin/urxvtc-X -fg green -bg black -cr dodgerblue -g 80x40 -e /bin/bash -l -I"
> > dodger EXEC "urxvtc-X -fg white -bg dodgerblue -cr blue -g 80x42 -e /bin/bash -l -I"
> >
> >Which have been working for months .
> >
> >Today I upgraded my cygwin install and all my menu items like the above no longer work.
> >(as noted above I've tried both simply urxvtc-X and /bin/urxvtc-X
> >If, however, I open up a command window using rxvt and then enter the above
> >Line (by copy and paste) it works fine.
>
> My first guess was that the urxvt daemon (urxvtd-X) was not running,
> so the client failed. But if you can launch the client using some
> incantation, then that means the daemon is running.
>
> >
> >Note, menu items like:
> > Xterm exec "xterm"
> >Work correctly,
> >While menu items such as:
> > Notepad exec "notepad"
> >Do not.
>
> Ah. Here's the clue: launching a native win32 program fails. I bet
> this is related to the change in cygwin-1.7.6 where the cygwin
> "current working directory" and the win32 CWD are no longer
> automatically kept in sync (there are good reasons for this new
> behavior).
Maybe that's related, but why? Does urxvtc-X start applications using
CreateProcess?
I'm asking because if they are started via fork/exec, the cwd for the
child process gets set to the Cygwin cwd if the child is a native Win32
process, like Notepad. Cygwin executables OTOH shouldn't be affected,
unless, again, they use native Win32 calls.
And that also doesn't answer the question why starting /bin/urxvtc-X in
the menu entries at the start of the mail are not working anymore, at
least unless /bin/urxvtc-X is not a Cygwin application.
> This change has caused a number of problems, and it is not yet clear
> how they will be resolved.
In the first place: http://cygwin.com/ml/cygwin/2010-08/msg00554.html
and http://cygwin.com/ml/cygwin/2010-08/msg00562.html
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/