X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76F7D3858426 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1683857798; bh=7Ajp6SkVFOGBxOfksmmFkRKXYSehE+Y4ZcHn1UIYaj4=; 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=E6UFegMadLLdM5hceqP98WO5V6pXbOHTYB42FfmoekSyC3Oddvvf25/189oAkDb40 sDyy5aS+lLWGCMxPPMhiZnejnejRwMtK3dNFYShuU6mMBYOs+QvQed5UUnKmmVvDA/ olHGJ+FnjKyGGoDfLioaKtsltKCLtMPI358s9hG8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8A4693858C5E X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683857778; x=1686449778; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:to:date:from:sender:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=8Lf9ArHX6RW6T8lOqC9wf3LZ1dCrMGCbeDUNzIIeaYg=; b=P54+fEz5Bjsqa3Bdk5BbASLYYD7EMKrnTfWAnC8hrAkWXuYlHNkFDImWTkAZeCdigL kPCOS5thOx0XSfQGl3/2mv/gyjt0a2/gvNHgUBp2BDbEVvcEvGl0vT6IBTHLvEcwHeG+ tbFRnY8VGiXdHIB+AEEp1vQ/8qYNOzvjTijBEyFIYt0+wKHRE9CiXmUyI+D2T3SUVM4+ Dk93qd2irNfn1P4hWjyckoMBe4+2DYQcrwXPXdvptlr51MYVsDvPvV6BI51TR+C0NzUH oJ82GvB1AcEgiWs4QRLHTD+ZPPBZkdOi4OtXXiKPMZ3ApnLefp85aFnDXp2P/Azp+Lq0 PClA== X-Gm-Message-State: AC+VfDyRR2dH8HQm1IK5vh6FbfZHDVDkiR35jVCCOAJnwBbZKqj23Vv8 e/woyB9N1o4396i0MhtqYkGB/Fsd8T4= X-Google-Smtp-Source: ACHHUZ44nOhYiPg+k6vchmMNpdsfblRHBcLUJtsXHWB1sswVzFQjQmYmx7CP4YuU9N37YYP11z8ImA== X-Received: by 2002:a17:902:a715:b0:1ac:988e:2624 with SMTP id w21-20020a170902a71500b001ac988e2624mr11779194plq.37.1683857778395; Thu, 11 May 2023 19:16:18 -0700 (PDT) X-Google-Original-From: Duncan Roe Date: Fri, 12 May 2023 12:16:15 +1000 To: cygwin AT cygwin DOT com Subject: Re: mintty mouse behavior with vim Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_20, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Duncan Roe via Cygwin Reply-To: duncan_roe AT optusnet DOT com DOT au Content-Type: text/plain; charset="iso-8859-1" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 34C2H3Lt001770 On Thu, May 11, 2023 at 03:24:18PM +0000, cygwin wrote: > > Greetings. > > In mintty, while using vim, I would like to highlight a few lines, and > have vim tell me how many lines have been highlighted. Is this a > possibility? For example: > > 0 > 1 > ->2 > ->3 > ->4 > ->5 > 6 > 7 > 8 > 9 > > If I highlight lines 2 through 5, I would like vim to tell me that 4 > lines have been highlighted. It works fine with the windows vim, but it > does not want to do it through mintty. Thoughts? Thanks. > > José > > PS: The real problem is that I am ssh'ing to an ubuntu box which I am > using vim, but the mouse is not being acknowledged. Although, I can > highlight and copy/paste, but clicking to a word to move the cursor > there, it's not acknowledged. > You expect too much of ssh. ssh is a text utility, not an X one. The remote vim never sees your mouse actions: it's mintty that performs select / paste. Cheers ... Duncan. -- 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