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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=KsVeXTGUblJRyFs+ x0yFpZhncMy02DfiiZtIV+CT0p2Kzt1hLVsmMQFIXXW0IvSTzcMva4xsM8m+dx3v i8olFnaTXh8wJFBysQIh6I9V5Ioq58968p/g9MKYZ4kg6REuqffM/NSQ0lTBug+T LJMx+XZbG6/KQmwAfJEpfpmyNT4= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=XS0H6749cCv3qdBlLtAhLj TfEZ0=; b=oomI3xXQycLdAEpaj8N/5CMaNn/6WiQFukB4qmrbUVBSL6xYGlXnur rMqPZ4JKsjybpZD21jJmYvya9aHCZthMwWNQvJ5Jpav2CmLsfEYV0Ua/zqxDSPb6 uCucjg6gVx3IL1ZZEqA1vJHHasnZC8VzA+1fL7w5qyxPEGkFimjPo= 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-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=million, rightclick, right-click, darnley X-HELO: mout.kundenserver.de Subject: Re: speeding up a paste operation To: cygwin AT cygwin DOT com References: <1e37af1d-21fa-9c56-b135-cb9a4375d902 AT gmail DOT com> From: Thomas Wolff Message-ID: <3abb80cc-3fe3-d456-9220-7394a3b35ba6@towo.net> Date: Sat, 25 Aug 2018 09:10:45 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Am 25.08.2018 um 02:10 schrieb Lee: > On 8/24/18, James Darnley wrote: >> On 2018-08-25 01:30, Lee wrote: >>> In retrospect, I should have created the file some other way, but still.. >>> - grab the top 1M hosts from from >>> http://s3-us-west-1.amazonaws.com/umbrella-static/index.html >>> - open w/ libreoffice >>> - select the host name column, right click & select copy (all 1 million >>> lines) >>> - (mintty 2.9.0 window already open) vi /tmp/hosts >>> - i (get into insert mode) >>> - right click (which I have set to "paste") >>> >>> data is still scrolling by & it's not even up to 100K lines yet :( >>> >>> Is there some way to make a paste operation faster in mintty (or vim >>> or whatever the slowpoke is)? >> There's a utility called getclip which put the clipboard onto stdout. >> Direct that into a file and you should get the same result, excluding >> Vim's indentation. Probably doesn't use the tty in anyway. > Is getclip different from > cat > /tmp/hosts > Of course it is, it goes through the terminal and the pty. Both are shortcut if you copy from /dev/clipboard, using either cat or cp. -- 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