delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/16/02:46:14

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=B4VMMH92lXHtO6Ry
UNxGTen8v/ujaQbiQlpQAetUGEcri6eB2qyu6keQ9Ih7L/Oip+qiNaHiJfyCgSU9
uHUpoSf8dglBZm/PDmbcCYSj2eVNuFqYTtoQ4yTAlEvwVaOzYIn5i85a6WRqISVx
F4lyQuvNa87Ppq/c46XyATTfCDA=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=b6SXp3g/l5uIDg/s8aMSvm
qIm58=; b=RTd+AmJD/M3QFk8FlrOA4B/84/ihXuzfA+GVoPzRW7pJeWpMRXzSHM
gC5QjyB5uBJvfpMqXAr1ALX4up9mVtq9ZvHkYFn+IUvi7HB5Vt5G0Cw2U7wTG6SG
yvTDS+ffHooOM/gOUFbYHWu6wAq/6pyHVV8gPAY0H/tL6ClDN/jOI=
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=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=qrasmfu8f4snkmailcom, sk:qrasmfu, Hx-languages-length:2119, click
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=a9pAzQaF c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=AifuHw4_AAAA:8 a=NEAV23lmAAAA:8 a=PQt4douJKUSgyLl8uz0A:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=pILNOxqGKmIA:10 a=Ca-psUq8YRMQnqB1-2QN:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Add support for xterm/rxvt style text selection and inserting to mintty? (was Re: Cygwin alongside WSL)
To: cygwin AT cygwin DOT com
References: <9050-1510814671-782179 AT sneakemail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <6378f5eb-52d6-89fb-39a5-b25edb8c6a18@SystematicSw.ab.ca>
Date: Thu, 16 Nov 2017 00:45:55 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <9050-1510814671-782179@sneakemail.com>
X-CMAE-Envelope: MS4wfHq5jQ9AXvp3+NWoudikNjtI56+0F687xusMbNkxLheZb+6ublc95h57+aPBuuwitV0R9eTIsqIrxNptjEA+jqRZMjJx/kPwyPxQ0D+gLffhAC4oe8Zr xcRtl2S89ESQRT3zvmXi6Lcqq1zQrPkF99wQaqBG/K65Sgg6XYYVNYV+EnvXWPtEtldm0+gGd0gSbg==
X-IsSubscribed: yes

On 2017-11-15 23:44, qrasmfu8f4 AT snkmail DOT com wrote:
> On Thu, 2 Nov 2017 23:38:13 +0100 Thomas Wolff wrote:
>> Thanks for flattering me :) Sounds good after all the people asking for
>> ever more features, silly ones as well as good ones.
>> Actually, after the WSL and Virtual Tabs endeavours, release frequency
>> should become lower now.
> Speaking of silly feature requests ...
> The main reason I'm not a fan of mintty (and as a result haven't switched to
> cygwin64 on my primary Windows machine -  because it doesn't include the
> non-Xwindows version of rxvt) is that it behaves different than xterm/rxvt for
> copying/pasting text.  I spend most of my time in front of linux systems using
> xterm, rxvt and rxvt-unicode, so I have that way of copying/pasting text built
> into the "microcode" in my hand.  I've found it quite difficult to adjust to
> mintty.
> Would it be possible to add an option to mintty to support xterm/rxvt style
> copying/pasting (what rxvt calls text selection and inserting) as described in
> the rxvt man page:
> TEXT SELECTION AND INSERTION
> The behaviour of text selection and insertion mechanism is similar to
> xterm(1).
> Selection:
> Left click at the beginning of the region, drag to the end of the region and 
> release; Right click to extend the marked region; Left double-click to select
> a word; Left triple-click to select the entire line.
> Insertion:
> Pressing and releasing the Middle mouse button (or Shift-Insert) in an rxvt
> window causes the current text selection to be inserted as if it had been
> typed on the keyboard.

All except Right click to extend the region works in mintty, and config file
option RightClickAction=extend changes that to what you want, which also makes
shift-right-click menu, and shift-left-click paste - man mintty is your friend -
search for /right.*click, /extend.*region, or /right.*mouse.

Check out https://github.com/mintty/mintty for even more useful info.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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