delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/05/11/17:26:51

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81D243856DC8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1683840370;
bh=JLH01QhYIBut5hyQeYPKci98fUznzx+l2rODW5snGA8=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=yl32fsHu09+1isS/8Z8EkAERkKoXb9Gw5u8ZTsNlvpSWCcix3QUrUVggWojACAfIe
ak5oZR2pBnpHoRNQGkiGsNgZRC8iAnUQwcwd6HTVK/dXxxTByySs2Aan6xocWC7IVJ
3fgVuPxjR2aZrVXm4gSa0kDIkoY9dU6dp6jfgLAQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 893863858C54
Date: Thu, 11 May 2023 14:25:54 -0700
To: cygwin AT cygwin DOT com
Subject: Re: mintty mouse behavior with vim
Message-ID: <20230511212553.GD21381@phoenix>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <DB9P251MB006383EC72F6198A45FC248EDE749 AT DB9P251MB0063 DOT EURP251 DOT PROD DOT OUTLOOK DOT COM>
<ca30cbf0-65e6-45d7-032d-4248351b30c5 AT Shaw DOT ca>
<AM9P251MB005472B33FDADCDD649F2029DE749 AT AM9P251MB0054 DOT EURP251 DOT PROD DOT OUTLOOK DOT COM>
MIME-Version: 1.0
In-Reply-To: <AM9P251MB005472B33FDADCDD649F2029DE749@AM9P251MB0054.EURP251.PROD.OUTLOOK.COM>
X-Operating-System: Linux 2.6.32-74-generic GNU/Linux
User-Agent: Mutt/1.5.20 (2009-06-14)
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Gary Johnson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Gary Johnson <garyjohn AT spocom DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2023-05-11, Jose Isaias Cabrera via Cygwin wrote:
> 
> On May 11, 2023 2:24 PM, Brian Inglis  expressed:
> 
> > If I select columns or lines in vim, then the statusline at the
> > bottom of the window shows the number of columns or lines
> > selected before the cursor line and column numbers and
> > percentage thru the file, or the modeline if multiple windows
> > are visible e.g.
> > 
> > -- SELECT --				4	7,2		All
> > or
> > -- SELECT --						4
> 
> That's the problem. It's not doing it for me on vim on the cygwin
> xterm, nor on a connection to an ubuntu server through cygwin
> mintty. I have gvim for windows, and that works perfectly. But,
> when I use the cygwin terminal, and an ssh'ed connection to
> ubuntu, the mouse does not work. I will try to see what are my
> .vimrc settings for Windows, cygwin and ubuntu and try to match
> it. I may need to join the vim email support. Thanks.

It may be that the 'mouse' option is not set on your Ubuntu vim when
using ssh.  Try

    :set mouse=a

and see if that works.  If not, then check that the version of vim
on Ubuntu supports the mouse.  Execute

    :version

and check that it is not the tiny or small version and that +mouse
and not -mouse appears in the list of features.  I know that
Ubuntu's standard vim does not support X, but other than that,
I don't know what Ubuntu vim package supports what.  I always
install vim-gtk so I have everything.

Regards,
Gary


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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