From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1196 invoked by alias); 12 Sep 2012 13:50:49 -0000 Received: (qmail 1167 invoked by uid 22791); 12 Sep 2012 13:50:45 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_TX X-Spam-Check-By: sourceware.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 12 Sep 2012 13:50:32 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TBnKp-00068D-Sn for cygwin@cygwin.com; Wed, 12 Sep 2012 15:50:31 +0200 Received: from 217.10.52.10 ([217.10.52.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Sep 2012 15:50:31 +0200 Received: from Stromeko by 217.10.52.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Sep 2012 15:50:31 +0200 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: multiwindow X11 and Emacs Date: Wed, 12 Sep 2012 14:24:00 -0000 Message-ID: References: <50508F30.2050204@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-09/txt/msg00151.txt.bz2 Ken Brown cornell.edu> writes: > I can't reproduce this on my system. I'm running 64-bit Windows 7, > emacs-24.2-1, the latest Cygwin snapshot (2012-08-27), and the test > version of the X server (1.13.0-1). Here's what I tried: Same setup as mine except 32-bit Win7/Enterprise. > 1. Start mintty from the "Cygwin Terminal" shortcut. > > 2. $ startxwin > > 3. [still in the mintty window] $ DISPLAY=:0 emacs -Q& I've tested this both with bash and tcsh, BTW since tcsh's signal handling is apparently different from bash. > 4. In the resulting emacs window, C-z. > > 5. Left click on the emacs icon to de-iconify emacs. > > The cursor blinks and emacs responds to keyboard input. This is what doesn't work here. That is when I start the X server from another mintty than the one that the X server is started from or when the shell is tcsh. So if I extend your case with: 6. Start another mintty 7. DISPLAY=:0 emacs -Q& 8. In the resulting emacs window, C-z. 9. Left click on the emacs icon to de-iconify emacs. The cursor doesn't blink and emacs doesn't respond to keyboard input. What do you get? > P.S. Shouldn't this discussion be taking place on the cygwin-xfree list? I thought about it, but I suspect that signal handling is involved and hence cygwin1.dll. Within the X server itself there seems to be no problem but maybe I didn't try the correct sequence of events yet. Regards, Achim. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple