From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id AED793858C2D for ; Fri, 12 May 2023 16:38:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AED793858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id xQVRp1SwMLAoIxVnCpPMKw; Fri, 12 May 2023 16:38:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1683909534; bh=qxu66vfGA955Q2+tJkVsLYZP6EcHuC0M7hpFB9gQ7Nk=; h=Date:Reply-To:Subject:To:References:From:Cc:In-Reply-To; b=aDPQt7xpuQ3T6c95mel9i8PFRX3kT/VOG1o57pJGvtVbVx29Hywgh0T1oxw2m1lJz Vk/JlMNMLNiU5WCDl6ezzLNd1aYC8kiEOqbJowwVuouljOn6/Pt5/t/7f7ilauw9Kr 3S/ur+uAtZN+rQVxcXAM/TvRieNnTWJ1bF/B5ABcO3KDJHAZxlkR//tVCWrXOBlFGq IQXeUGtJ8eNm+f/lF3L57YnuZylVfS1+RDqkI6yBwmKqzjrAo5cd8Xr60yX1fOqGWg yv065wBLLkrFOs+sXXJKgQxC9OWYLNMJ7haD9l6GsHClDVsnsg7k+KeWVmgyXIDCe1 4Ac5EOeeDJyjg== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id xVnBpG8HtHFsOxVnBpXXQL; Fri, 12 May 2023 16:38:54 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=645e6b9e a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=ped5OiuClPl_8l97lFUA:9 a=QEXdDO2ut3YA:10 Message-ID: <5fc7b7d2-a66a-f707-e2fe-f59ecf33ed25@Shaw.ca> Date: Fri, 12 May 2023 10:38:53 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Reply-To: cygwin@cygwin.com Subject: Re: mintty mouse behavior with vim Content-Language: en-CA To: cygwin@cygwin.com References: From: Brian Inglis Organization: Inglis Cc: Jose Isaias Cabrera In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfCDhwDKa6uphlM7azB52bNEh/qxuqXdFAI43CH1EKTsquUN75Gd8czKytetY5iegtioqk9IRbbniYMTSBe289mzSdGT1kGl3IoHipj4n8gLxuK1Vf+3f ZkTjyIoa/CFXxJe2Jc07520229/A5doUNFacyUJR/letsbDn9LRZG2hnSrfUPIZikwOW734relrIRaAjNLXh03QWmyTfr0I5Uow= X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,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 List-Id: On 2023-05-11 12:44, 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. If you're running Cygwin/X (installed xinit) you should install Cygwin gvim(/X) for local use and run gvim clients from remote systems on your X server e.g. $ ssh -f -Y ubuntu-remote gvim ... I moved everything under VIM=$HOME/.vim with VIMRUNTIME=/usr/share/vim/vim82 and cygpath -w equivalent under Windows in the user environment with VIMRUNTIME='C:\Program Files\Vim\vim90', also hardlinks from $HOME to $VIM files, as I used Windows gvim under Cygwin before installing Cygwin/X and gvim, with EDITOR=vim and VISUAL='gvim -f', and still use Windows gvim on the desktop. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry