Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: is anyone able to successfully use make/grep from within xemacs/c ygwin?
References: <5B243E1DBC4D2648A46145FCA8268257026E42BC@SUS-CO1IT01>
From: dmkarr@earthlink.net (David M. Karr)
Date: 13 Mar 2002 14:43:47 -0800
In-Reply-To: <5B243E1DBC4D2648A46145FCA8268257026E42BC@SUS-CO1IT01>
Message-ID: <866640dr6k.fsf@earthlink.net>
Lines: 36
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp (Windows [1]))
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

>>>>> "Patrick" == Patrick Taylor <Taylor> writes:

    Patrick> Ever since upgrading from cygwin 1.3.2 (quite a few months ago),
    Patrick> I have had a lot of difficulty with running subprocesses for
    Patrick> make and grep from within xemacs.  At first they would fail
    Patrick> only sometimes, but since upgrading to more recent versions of
    Patrick> cygwin, they fail almost every time.

    Patrick> When I launch a make within xemacs (via M-x compile), the
    Patrick> subprocess almost always hangs.  The output buffer shows

    Patrick>     cd /wherever/.../
    Patrick>     make -k

    Patrick> and that's it.  Doing a kill-compilation sometimes has no
    Patrick> effect, and I have to so it several times to actually kill
    Patrick> the subprocess.

    Patrick> When I launch a grep (via M-x grep), the problem is slightly
    Patrick> different.  The subprocess always completes, but often does
    Patrick> not produce any matches in the output buffer even when there
    Patrick> are definitely matches.  Sometimes it works fine.

As a matter of fact, I just started noticing the same "grep" behavior you're
seeing.  I recently upgraded from 1.3.(something) to 1.3.10.  I am often seeing
the grep process complete without matching anything, although when I rerun the
exact command again, it gives me valid output.

I'm also on XEmacs/Cygwin 21.4.6 on win2k.  I haven't noticed the same symptom
with "compile", as I haven't used that in a while (I've been "ant"ing directly
in a shell buffer).

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
dmkarr@earthlink.net


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

