delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/21/14:21:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 21 Jan 2005 14:21:28 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jonathan Arnold <jdarnold AT buddydog DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: Very strange rxvt problem - game hangs when it is running
In-Reply-To: <41F14821.6000008@buddydog.org>
Message-ID: <Pine.GSO.4.61.0501211419020.19334@slinky.cs.nyu.edu>
References: <41F11B29 DOT 6030307 AT buddydog DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0501211216010 DOT 18105 AT slinky DOT cs DOT nyu DOT edu> <41F14821 DOT 6000008 AT buddydog DOT org>
MIME-Version: 1.0

On Fri, 21 Jan 2005, Jonathan Arnold wrote:

> Igor Pechtchanski wrote:
> > On Fri, 21 Jan 2005, Jonathan Arnold wrote:
> >
> > > 1] Run "Day of Defeat" - connects and runs just fine.
> > >
> > > 2] Start rxvt.  Try "DoD" again. It gets about halfway through its
> > > startup process, then hangs.
> > >
> > > 3] Quit rxvt and try again. "DoD" works fine.
> > >
> > > I tried the same procedure with the regular Cygwin bash shell, and
> > > it behaves the same way.
> >
> > Do you mean that the regular Cygwin bash shell makes DoD hang too?  As in,
> > start a Command Prompt, run cygwin.bat from it, and DoD still hangs?
>
> More or less. I have a shortcut with the following:
>
> D:\WINNT\system32\CMD.EXE /c D:\cygwin\cygwin.bat
>
> And that makes DoD hang just like rxvt does.
>
> > > Any ideas on what it could be?
> >
> > A WAG, and I may be really off on this: Cygwin uses TCP/IP sockets (which
> > essentially require a TCP/IP port) to emulate Unix domain sockets.  If
> > rxvt reserves a Unix domain socket (even if it's not using X), and DoD
> > tries to access the same port, because it's somehow predefined and it
> > expects it to be free, there could be a conflict.  I can't think of
> > anything else in Cygwin that would interfere with a (presumably)
> > non-Cygwin application.
>
> Well, unless the regular bash shell does it too, that probably isn't
> correct. Like I said, it is very weird and it took me some time to
> figure it out.

The "regular bash" that you tried is really a login shell.  That *can*
run X-related stuff, e.g., from /etc/profile.d scripts.  A real test would
be to try a non-login bash (just run "c:\cygwin\bin\bash.exe -i" from a
CMD prompt).  If that doesn't interfere with DoD, it would make my WAG
more probable.  Otherwise we'll have to look for other possible reasons.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019