delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/11/14:11:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=KvmGZH
hXJkt26U2zkZ0RBPee5S55Ba64BoMy4uuRi1VI2l5T2wssMfPoGYg1UrTLUgKVSo
WLLhpRU4qJg61E33DKTJy66CBQ0RYgZyh11GWLZctBAX5oZj5r0BWazzf+xRZjcv
2fMSkCpBhy62Fr/49NP+VRomWmElxusYoXc/o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; s=default; bh=D7e9genpQCdL
ICAtshZaee/n5Lc=; b=ibnMfJvMFm5RoWSx7MEKNVkw717euaYM7VTeqTsEVL02
ScJtzmhXmHWValtSBOQQb+XzDGfqaHY9EJEhEy4JamjlXkeSi/l6P3d33NV5lpMW
bGNonp9vS53z9KCvKECr5pfj4XLnoliTmQSG/waWQNOD26amqfi7T3QhI+RqlPE=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f52.google.com
X-Received: by 10.180.82.199 with SMTP id k7mr8653822wiy.54.1436638296242; Sat, 11 Jul 2015 11:11:36 -0700 (PDT)
Message-ID: <55A15C60.6030609@gmail.com>
Date: Sat, 11 Jul 2015 20:11:44 +0200
From: James Darnley <james DOT darnley AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Vim, Mintty, and mouse resizing no longer works.
References: <55A068C7 DOT 2090300 AT gmail DOT com> <55A1051A DOT 30300 AT towo DOT net>
In-Reply-To: <55A1051A.30300@towo.net>
X-IsSubscribed: yes

--0HHT6wApFMdLo2ex77MrWFIDpJF9ScCNs
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2015-07-11 13:59, Thomas Wolff wrote:
> Am 11.07.2015 um 02:52 schrieb James Darnley:
>> Hi Thomas
>>
>> Unfortunately I have a complaint to make.
>>
>> When using the latest Mintty release I can no longer use the mouse to
>> resize split windows in Vim.  In 1.1.3, I can drag any window separator
>> around to change the size of them.  In 2.0.2 Aim appears to interpret
>> the mouse as trying to make a visual section in one window.
>>
>> I tried quickly to narrow down which commit might have introduced the
>> problem using git bisect, unfortunately it was slowed down by some
>> commits not compiling.  However it did lead to producing this message.
>>
>>> 4765275a7cfd9fadc74aedc1191de5390fa11c09 is the first bad commit
>>> commit 4765275a7cfd9fadc74aedc1191de5390fa11c09
>>> Author: Thomas Wolff <mintty AT users DOT noreply DOT github DOT com>
>>> Date:   Tue Jun 16 14:45:20 2015 +0200
>>>
>>>      fix restructuring
>> If I checkout the commit immediately preceding this the mouse works as I
>> expect.  I cannot explain why this might be the case as it looks like
>> there are no relevant code changes in that commit.
>>
>> I will try to investigate some more but I wanted to let you know.
>
> The commit you refer to did not change any actual code, so maybe
> something in the environment is involved.
> Please describe a reproducible test case. How would you setup split
> windows in vim? How would you try to resize them?
> Also, did you use one of the new mouse options, like MiddleClickAction?
> Thomas

I don't know if you know vim so this might be verbose.

To make a vertical split, run the command :vs
To open vim with a vertical split: vim -O file1 file2
(That is a literal colon, v, and s and an uppercase letter O)

To make a horizontal split, run the command :sp
To open vim with a vertical split: vim -o file1 file2
(That is a literal colon, s, and p and an lowercase letter O)

To resize (when it works) just left click on the separator and drag.
Much like resizeable frames in a web page or a Windows window border
(but you don't get the double ended arrow cursor)

And to close a window in vim, the command is :q
To close all windows, :qall

The easiest way is probably to open vim with a split, it is one command
that can go in the history.

I do have the "void" middle mouse option but I have been running that
ever since I wrote the original patch and attached it to the Google code
issue about it and it was working fine until I updated and used the
mintty provided by your package.  I did remove minttyrc from my home
directory so that the defaults would be used just in case it was being
confused by my settings.  My right click option should be default, show
menu.

P.S.  Why does this list not set the "reply to" address to itself.  I am
sending this again because I just realised that I sent it directly
rather than to the list.


--0HHT6wApFMdLo2ex77MrWFIDpJF9ScCNs
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJVoVxoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1NjEyRjRFOTUzQTZBREExMEU5QjI4NUFD
QzI2REQxMDk5NDEyOTA4AAoJEMwm3RCZQSkISwUH/iOnf/wJ0HAL2lqeZ1OJUXSE
vMO4BHRzHW5PFizKgDFG+NqUZ8qeqxC2okiAd3GUSxbzR3l0mDK3WlHbNYtQGykV
egbMx6e1NtDNli4ivf31SW+asqxlIdMOanQolyr1XfNoS1WE8Y/VfZ0kQVfIhfgl
zzSifKI3VI+SjMaYsPSfreJyBcpZh10terNh2Q6R5M/REd5CBAzKsPu4uQDGNJ+H
WZLcPjaW6w3RXsPSZDgBTitAMKaqCN9lSHw20nA2kNX7DGEZvvCKZ615ETTiyII7
X21zvnfrO22BeaZfP01mpQ/xsVKe8VhZotz67K0DjC2E6A1iSJeSesET6aVJQB0=
=ezYa
-----END PGP SIGNATURE-----

--0HHT6wApFMdLo2ex77MrWFIDpJF9ScCNs--

- Raw text -


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