delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/13/22:05:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RDNS_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <5029B237.7010501@gmx.de>
Date: Tue, 14 Aug 2012 04:04:39 +0200
From: Herbert Stocker <hersto AT gmx DOT de>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Strange "mouse" behavior in mintty
References: <50290217 DOT 6050202 AT cs DOT utoronto DOT ca>
In-Reply-To: <50290217.6050202@cs.utoronto.ca>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019