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=cK/IQSfyP/bDpbQi 6tWxBjm2hg8j+pAGDqJ2p6LnkIaYeeeO77FCI+UMV/8ykYG07iG17C4ihPS70wGw ZWQ89npOqtJ+tcXxgAn3GDxXWAwDjronlHvfRjcjK69TLvNWH1rPxESjDkaukzEH AUW1G5SygPKVbYk0Tx3TVLQkoYM= 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=IV5EQb1z9slZUSafYTRKoH 4fTPU=; b=nvv4Ujl9sDOGy0lMFrchh3B6bPHbyfe60d/9N/8Tcyt2DZyWK4Z6U3 OezYASweHib6ghL+4MWNh4+saXzXHJHiFjMd/Zm0rwZyMCkKCxeywhn/SVFyi1Kc lFD/5932KqhQuJt5FgO/oMkgPesWZI2x6sfZk7IoUn2IUvLOfTpH4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=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 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 DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: problem with paste-from-clipboard To: cygwin AT cygwin DOT com References: <66fb6c1b-a2e2-e4cd-4acf-80e1644789a7 AT redhat DOT com> <59a9dd03 DOT 0259ca0a DOT a382c DOT 911e AT mx DOT google DOT com> From: Brian Inglis Message-ID: Date: Fri, 1 Sep 2017 21:17:03 -0600 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 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