X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL,TW_TX X-Spam-Check-By: sourceware.org Message-ID: <50509B05.1000005@cornell.edu> Date: Wed, 12 Sep 2012 10:24:05 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: multiwindow X11 and Emacs References: <50508F30 DOT 2050204 AT cornell DOT edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-Original-Sender: kbrown AT cornell DOT edu - Wed Sep 12 10:24:08 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 9/12/2012 9:50 AM, Achim Gratz wrote: > 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? Still no problem. I'm using only bash, not tcsh. But I gather that you're having problems with both. I wonder why your results are so different from mine. Do you have something in your .startxwinrc that could be interfering? I moved my .startxwinrc out of the way before testing. Ken -- 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