From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56768 invoked by alias); 2 Sep 2017 03:17:16 -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 56682 invoked by uid 89); 2 Sep 2017 03:17:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Cut, inglis, Inglis, calgary 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; Sat, 02 Sep 2017 03:17:07 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id nyvfdXf2S8LPZnyvgdBNjn; Fri, 01 Sep 2017 21:17:05 -0600 X-Authority-Analysis: v=2.2 cv=e552ceh/ c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=3zLXcViEmkunPHfpBjcA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=QEXdDO2ut3YA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: problem with paste-from-clipboard To: cygwin@cygwin.com References: <66fb6c1b-a2e2-e4cd-4acf-80e1644789a7@redhat.com> <59a9dd03.0259ca0a.a382c.911e@mx.google.com> From: Brian Inglis Message-ID: Date: Sat, 02 Sep 2017 03:17:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59a9dd03.0259ca0a.a382c.911e@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfOTI77cObxw6nXc0zG/bDDZ429lJBw0PpQ/MRZnsCY4303ayEymMFsDxQLSUvAa3vD2Lzvw0/5z8lNrR4aERIx/L4TW15VmZxTltbmH8C8MGgRM80pTc ui7cULTXPRWOLPC6Xxxbs7OPfU54OnPU1e3gS4JhETXb15nKQQ1fkkcMiqalfsfTfyN5VN+V0MK9xA== X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00040.txt.bz2 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