From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10171 invoked by alias); 16 Nov 2017 07:46:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9801 invoked by uid 89); 16 Nov 2017 07:45:59 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Nov 2017 07:45:58 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id FErzeJJdfGvLHFEs0eeTEW; Thu, 16 Nov 2017 00:45:56 -0700 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.Inglis@SystematicSw.ab.ca Subject: Re: Add support for xterm/rxvt style text selection and inserting to mintty? (was Re: Cygwin alongside WSL) To: cygwin@cygwin.com References: <9050-1510814671-782179@sneakemail.com> From: Brian Inglis Message-ID: <6378f5eb-52d6-89fb-39a5-b25edb8c6a18@SystematicSw.ab.ca> Date: Thu, 16 Nov 2017 07:46:00 -0000 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> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfHq5jQ9AXvp3+NWoudikNjtI56+0F687xusMbNkxLheZb+6ublc95h57+aPBuuwitV0R9eTIsqIrxNptjEA+jqRZMjJx/kPwyPxQ0D+gLffhAC4oe8Zr xcRtl2S89ESQRT3zvmXi6Lcqq1zQrPkF99wQaqBG/K65Sgg6XYYVNYV+EnvXWPtEtldm0+gGd0gSbg== X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00207.txt.bz2 On 2017-11-15 23:44, qrasmfu8f4@snkmail.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