From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24224 invoked by alias); 4 Mar 2011 20:42:54 -0000 Received: (qmail 24214 invoked by uid 22791); 4 Mar 2011 20:42:53 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,TW_FV,TW_VW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ext.mib.org (HELO ext.mib.org) (199.223.127.89) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Mar 2011 20:42:46 +0000 Received: from nuthaus.mib.org (mib-int.mib.org [10.8.0.1]) by ext.mib.org (Postfix) with ESMTP id 299F313EE2E3 for ; Fri, 4 Mar 2011 12:42:43 -0800 (PST) Received: by nuthaus.mib.org (Postfix, from userid 516) id 50981C21CA; Fri, 4 Mar 2011 12:41:34 -0800 (PST) Date: Fri, 04 Mar 2011 20:42:00 -0000 From: Keith Thompson To: cygwin-xfree@cygwin.com Cc: Keith Thompson Subject: fvwm2 key mappings stop working Message-ID: <20110304204134.GA24885@nuthaus.mib.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-03/txt/msg00001.txt.bz2 Quick summary: My fvwm2 key mappings, defined in $HOME/.fvwm2rc, initially work, but they stop working when I switch to another MS Windows app and back again. This is a problem that appeared in the last few weeks. It's likely that I ran setup.exe and updated a few things around the time it started; there may also have been a change in my Windows system. (Sorry, I wish I could be less vague.) I'm running Cygwin with the latest updates under Windows XP SP3. I'm seeing this problem on two different (but similarly configured) systems, a Dell laptop and a Dell desktop. I start the X server with the command: XWin -engine 2 -nodecoration -emulate3buttons & (I had some Cygwin-specific reason for adding the "-engine 2" option, but I don't remember what it was. The man page says it uses "Shadow DirectDraw".) I then start fvwm2 with the command: fvwm2 & My $HOME/.fvwm2rc file is rather large and has accumulated a lot of cruft over the 11 years I've been using it. I can provide a copy if necessary, or try a stripped down version to see if it still exhibits the problem, but for now I'll just mention the lines that I think are relevant: # KEYBOARD Setup # # press arrow + control anywhere, and scroll by 1 page Key Left A C Scroll -100 +0 Key Right A C Scroll +100 +0 Key Up A C Scroll +0 -100 Key Down A C Scroll +0 +100 What this *should* do is, for example, let me press control-left-arrow to jump left by one page, or control-right-arrow to jump right by one page. And in fact that's exactly what happens -- but only initially. When I first launch the X server and window manager, these and my other fvwm2 key bindings work correctly. But as soon as I use alt-tab to switch to another MS Windows application, then switch back to X, they stop working. Instead, pressing control-left-arrow sends the sequence ^[[D (escape, left-bracket, D) to the X application that currently has focus (typically xterm). (Unfortunately, staying in X Windows forever is not an option.) Is this a known problem? Any suggestions for fixing it or working around it? Thanks. -- Keith Thompson (The_Other_Keith) kst@mib.org Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/