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: problem with paste-from-clipboard
Date: Sat, 02 Sep 2017 03:17:00 -0000	[thread overview]
Message-ID: <e02c28dd-dccc-c484-5a3c-4d1ed43b3128@SystematicSw.ab.ca> (raw)
In-Reply-To: <59a9dd03.0259ca0a.a382c.911e@mx.google.com>

On 2017-09-01 16:19, Steven Penny wrote:
> On Fri, 1 Sep 2017 09:42:12, Eric Blake wrote:
>> > I have problem with "paste-from-clipboard" in cygwin. In ~/.inputrc
>> file I have just this line:
>> > "\e[2~": paste-from-clipboard
>> >
>> > I start cygwin terminal (as C:\cyg64\bin\bash.exe --login -i), from
>> another (say, GUI) place I copy
>> > some text into clipboard and I try to include it with Insert key to
>> cygwin terminal. Nothing happend.
>>
>> I still have not had time to try and reproduce this issue.  But a short
>> answer might be that the clipboard behaves differently on cygwin than on
>> other systems; it may be that your key-binding worked, but that bash's
>> attempt to read from the clipboard found no data.
> 
> Sanity check - does this even work with Linux? I just tried it with Lubuntu, and
> it does not work either. Only the default Shift+Insert or Ctrl+Shift+V work.
> 
> Lubuntu uses LXTerminal, with it you can do Edit, Preferences, Shortcuts and
> change the Ctrl+Shift+V to something else - not sure where Shift+Insert comes
> from - maybe readline?

Control-Insert, Shift-Delete, Shift-Insert may be from X-selection keystrokes in
the early days; Ctrl-C, Ctrl-X, Ctrl-V, Ctrl-Z may be from Xerox Alto or Star
window systems, and were used for clipboard operations on X window systems.
MS Windows took a lot of its early designs from Motif, so those keystrokes were
adopted and implemented at the window level, and are still available even when
the application does not support Copy, Cut, Paste; later when MS borrowed from
Apple, they adopted the Apple keystrokes for application supported operations,
including formatting and graphics.

-- 
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-09-02  3:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-12 21:24 Ladislav DANKO
2017-05-13  2:50 ` Steven Penny
2017-05-13  7:38   ` Ladislav DANKO
2017-05-15 15:29   ` Eric Blake
2017-05-15 18:19     ` Steven Penny
2017-05-15 20:00       ` Eric Blake
2017-05-29 20:05         ` Ladislav DANKO
2017-09-01 14:03         ` Ladislav DANKO
2017-09-01 14:42           ` Eric Blake
2017-09-01 14:55             ` Ladislav DANKO
2017-09-01 15:24             ` Thomas Wolff
2017-09-01 16:00               ` Ladislav DANKO
2017-09-01 22:19             ` Steven Penny
2017-09-02  3:17               ` Brian Inglis [this message]
2018-08-07 19:31             ` Bosmon
2018-08-07 22:32               ` Steven Penny
2018-08-12  1:34                 ` Bosmon
2018-08-12  3:21                   ` Steven Penny
2018-08-13 19:02                     ` Bosmon
2018-08-14  3:37                       ` Steven Penny
2019-09-08 11:30                         ` Bosmon

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=e02c28dd-dccc-c484-5a3c-4d1ed43b3128@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).