Re: AW: AW: AW: AW: Can't paste text or type blind keys when mouse is out of the window

2011-10-30 Thread Thomas Dickey

On Sun, 30 Oct 2011, Paul Maier wrote:

The problem here is, when running vi in an xterm and the mouse slowly 
(unnoticed)
moves over the scrollbar or out of the xterm, and you want to jump to mark "a,
you need to enter `a, that is in keystrokes





I'll experiment to see if I can reproduce this effect with my environment.
thanks for the detailed explanation.



Hi Thomas,

yes, I'm talking about dead keys = compose sequences.

Was it possible to you to reproduce it in your environment? Typing dead key ` 
apostrophe
then press letter "a" while the mouse pointer is over the scrollbar area of an 
xterm?


yes - I can reproduce it.  Actually once I was made aware of the issue,
I could see in my mind where the problem might lie.  But I just verified
it since you reminded me (on one of my Linux machines).

My idea about the problem is that since xterm has setup translations 
(which capture the input) on more than one widget (without appearing to 
address this special case), that it might be that there's a better point 
in the widget to attach the translations to.


This was discussed a little late in the #277 cycle to want to hold that 
up, so I had in mind to spend some time investigating a solution for it

during #278.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

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



AW: AW: AW: AW: Can't paste text or type blind keys when mouse is out of the window

2011-10-30 Thread Paul Maier
 It seems to be somehow related to the xterm's --enable-toolbar 
 configuration
 (which is turned on in the cygwin package).  If I rebuild xterm with that
 disabled, the problem goes away, and I can also reproduce the problem on 
 F15
 under twm if I build xterm with --enable-toolbar there (which is not 
 enabled
 in the distro supplied package)

>> The main difference with the toolbar configuration is that xterm's using a
>> form to contain the toolbar and the vt100 window.  The buttons take care
>> of themselves, but that area to the right of the buttons is dead.
>>
>> To make it somewhat friendlier, xterm adds the actions used for the vt100
>> window (except for the ones related to the mouse) to the toolbar area.
>>
>> I omitted the mouse-related ones since it seems that they'd interfere with
>> the menus.  I also did the same for the scrollbar widget (since keystrokes
>> there used to be lost - it would seem that you could reproduce your
>> problem also by looking at the behaviour around the scrollbar).

> > yes, with mouse over the scrollbar the problem is reproducable.

> > The problem here is, when running vi in an xterm and the mouse slowly 
> > (unnoticed)
> > moves over the scrollbar or out of the xterm, and you want to jump to mark 
> > "a,
> > you need to enter `a, that is in keystrokes
> 

> I'll experiment to see if I can reproduce this effect with my environment.
> thanks for the detailed explanation.


Hi Thomas,

yes, I'm talking about dead keys = compose sequences.

Was it possible to you to reproduce it in your environment? Typing dead key ` 
apostrophe 
then press letter "a" while the mouse pointer is over the scrollbar area of an 
xterm?

Please let me know in case you need more information or in case you want me to 
run
some test.

Thank you very much for looking into this.

Regards,
  Paul



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