public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Add support for xterm/rxvt style text selection and inserting to mintty? (was Re: Cygwin alongside WSL)
Date: Thu, 16 Nov 2017 07:46:00 -0000	[thread overview]
Message-ID: <6378f5eb-52d6-89fb-39a5-b25edb8c6a18@SystematicSw.ab.ca> (raw)
In-Reply-To: <9050-1510814671-782179@sneakemail.com>

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

      reply	other threads:[~2017-11-16  7:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-16  6:44 qrasmfu8f4
2017-11-16  7:46 ` Brian Inglis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6378f5eb-52d6-89fb-39a5-b25edb8c6a18@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).