public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Problem with Multi-Key Sequences... They Seem To Be Filtered Out By XWin
@ 2014-03-06 22:26 Cutler, David (NonStop)
  2014-03-07 13:45 ` Jon TURNEY
  0 siblings, 1 reply; 2+ messages in thread
From: Cutler, David (NonStop) @ 2014-03-06 22:26 UTC (permalink / raw)
  To: cygwin-xfree

Hello,

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 \
                    &

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".

 If there is additional information I can provide, please let me know.

Thanks for any information you can provide.

-David Cutler

--
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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with Multi-Key Sequences... They Seem To Be Filtered Out By XWin
  2014-03-06 22:26 Problem with Multi-Key Sequences... They Seem To Be Filtered Out By XWin Cutler, David (NonStop)
@ 2014-03-07 13:45 ` Jon TURNEY
  0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2014-03-07 13:45 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: david.cutler

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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-07 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-06 22:26 Problem with Multi-Key Sequences... They Seem To Be Filtered Out By XWin Cutler, David (NonStop)
2014-03-07 13:45 ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).