Strange "mouse" behavior in mintty

Herbert Stocker hersto@gmx.de
Tue Aug 14 02:21:00 GMT 2012


Hi Ryan,

On 13.08.2012 15:33, Ryan Johnson wrote:
> Hi all,
>
> I'm hitting  a mouse-related (?) problem with mintty in non-mouse mode.
>
> STC A: Log into a remote machine, invoke `sleep 10', and -- during the 
> wait --- click anywhere on the line containing the cursor.
>
> STC B: Open tinyirc and click anywhere on the text entry line at the 
> bottom
>
> Both cases will insert a long string like this: 
> ^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C (only about 4x 
> longer)
Did you notice that when you click somewhere in the command line, the 
cursor moves
to that position? i think it has to do with that.

Go to the options dialog, select "Mouse" and uncheck "Clicks place 
command line cursor".
The effect should go away.

Herbert


> I suspect this is a problem with the way mintty tries to be helpful 
> with the mouse when the app's not mouse-aware. Running STC A on a 
> local mintty/bash sesson will place the cursor wherever you clicked, 
> which while harmless is arguably incorrect (and probably the source of 
> troubles).
>
> Any ideas?
> Ryan
>
>
>
>
> -- 
> 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
>


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



More information about the Cygwin mailing list