delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/22/09:17:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT sources DOT redhat DOT com
Subject: Why am I getting a popup window?
From: Paul Stodghill <stodghil AT cs DOT cornell DOT edu>
Message-ID: <yz1vgp2ugfm.fsf@milhouse.cs.cornell.edu>
Date: 22 Mar 2001 09:16:01 -0500
Lines: 45
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.2 (Urania)
MIME-Version: 1.0

Under cygwin and using cygwin gcc, I compile the following program,

        milhouse$ cat foo.c
        #include <stdio.h>
        #include <assert.h>
        main () { assert(0); }
        milhouse$ gcc -o foo.exe foo.c
        milhouse$ 

Now run it from within XEmacs compiled for cygwin,

        milhouse$ xemacs-21.2-b46 -V
        XEmacs 21.2  (beta46) "Urania" [Lucid] (i686-pc-cygwin) of Wed Mar 21 2001 on MILHOUSE
        milhouse$ xemacs-21.2-b46 -vanilla
        M-x shell-command
        Shell command: foo.exe

I get a popup error window that contains the message from the failed
assertion, "Failed assertion, 0, at line 3 of file foo.c".

According to spy++, foo.exe owns the window, not XEmacs.

How can I prevent the popup window from being creating, and just have
the message to sent to the XEmacs process?

Does this have something to do with the fact that subprocesses from XEmacs
are not full-blown ttys? (ptys?)

I do not get the popup window when I compile foo.exe with MinGW gcc or MSVS
cl.

I do not get the popup window when I run foo.exe from the "console" (ie,
Start -> Run -> bash.exe)

I do not see this behavior with XEmacs 21.1.13 (Andy's net release).

Using 1.1.8 or 20010316 versions of the cygwin1.dll doesn't change this
behavior.

CYGWIN=tty or CYGWIN!=tty doesn't change this behavior.

Compiling XEmacs with and without the debugging options doesn't change this
behavior.

Thanks.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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