From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13904 invoked by alias); 7 Mar 2014 13:45:28 -0000 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 Received: (qmail 13846 invoked by uid 89); 7 Mar 2014 13:45:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: smtpout14.bt.lon5.cpcloud.co.uk Received: from smtpout14.bt.lon5.cpcloud.co.uk (HELO smtpout14.bt.lon5.cpcloud.co.uk) (65.20.0.134) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Mar 2014 13:45:22 +0000 X-CTCH-RefID: str=0001.0A090207.5319CD6F.000D,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=8/97,refid=2.7.2:2014.3.7.104214:17:8.317,ip=,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS X-CTCH-Spam: Unknown Received: from [192.168.1.72] (86.174.34.90) by smtpout14.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as jonturney@btinternet.com) id 53184B8C001305FC; Fri, 7 Mar 2014 13:45:19 +0000 Message-ID: <5319CD73.2080804@dronecode.org.uk> Date: Fri, 07 Mar 2014 13:45:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: david.cutler@hp.com Subject: Re: Problem with Multi-Key Sequences... They Seem To Be Filtered Out By XWin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-03/txt/msg00005.txt.bz2 On 06/03/2014 22:25, Cutler, David (NonStop) wrote: > I downloaded a new copy of Cygwin in the last 5 days (effectively started > from scratch) and am trying to use XWin on a Windows 7 virtual machine > running an old proprietary X program (it's called x6530 which is a terminal > emulator for a proprietary terminal built originally by Tandem Computers > and now owned by Hewlett Packard.) > > I start up the server and window manager using the following command: > /usr/bin/setsid \ /usr/bin/XWin \ -mwextwm \ -multimonitors \ -internalwm > \ -nowinkill \ & While probably not the cause of your problems, -mwextwm is an experimental option and -internalwm is undocumented. I think you should get the same effect with just '-multiwindow -nowinkill' > I'm trying to use multi-key sequences like Control_L-Alt_L-F6, > Shift_L-Control_L-F6, etc. I do see that xev recognizes these sequences > but the Control_L and Alt_L keys seem to be filtered out when I run x6530. > All it seems to get is F6 or Shift_L-F6. > > I've tried different window managers, run /usr/bin/XWin directly, used the > right-hand modification keys like Control_R, etc. and no matter what I > try, I see the same filtering behavior in x6530. I have recently used > exceed (formally owned by Hummingbird) with x6530 and the Control_L and > Alt_L keys are passed to x6530 as expected so my suspicion is that XWin is > responsible for the unwanted behavior of filtering out the keys like > Control_L and Alt_L keys. > > Is this the case? Is there a way to get these sequences "unfiltered". The evidence doesn't really support your conclusion: If one X client (xev) gets these key events, why would the X server not send them to a different X client (x6530)? However, it's perfectly possibly that they aren't sent in the expected form, or some other problem. I guess that x6530 is running on a remote host, so the details of that remote host might be pertinent. FAQ 5.1.8 [1] and the linked email thread may be relevant. If you still have access to the working setup, you might want to compare the xev output for these keys to see if there any differences. You might also consider using wireshark, xmon or xscope to examine the protocol interactions between client and server to see if there is any difference there. > If there is additional information I can provide, please let me know. It would be nice to see /var/log/xwin/XWin.0.log just to see what keyboard configuration is being used by the X server etc. [1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#alt-gr-with-old-x -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/