X-Recipient: archive-cygwin@delorie.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=igRPgaQDPdtOAuHL
	YEmUWFouDaIfTlfNXKXQRaNpXEeWyAFr86RaxdW7hNXznQOlb0D9vxHMEdHz0mrP
	OmskivhRwNfqrioJhppSb8zrvakr8a2HY5Q4WfmlYUGoZ8q+/p6YRJH5QNgCtmk4
	g4qCCznI6mya5SV1Cfo58FalrQU=
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=R/SPd2l34IMBp/eqS/wOho
	EIc8I=; b=iLDu/vav8hRVbWOLVoOBuXCiIcJCkIu7dCDv8rHoteybeIdikmLMOE
	dADJh7tjqudM1cKwaJ8/fePLM22QLw1pBdSOxygqOdBNRsKecHekikzK40hW5okb
	IPwwmiOZIBHbaUeZ+wE3l6/b18ekadH7RbQl4oHv5zE+PM3IotN+M=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Lee, UD:amazonaws.com, Hx-languages-length:851, speeding
X-HELO: mail-ed1-f44.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=subject:to:references:from:message-id:date:user-agent:mime-version         :in-reply-to:content-transfer-encoding;        bh=B6pkOIVrYsALIGRdMjxIhoof3T41qDFrNxRVZTUDY4w=;        b=mEedJJ5gd528k7+lK8DD/35SLDJklm5b1QRFHyc/aMIUlBiDg1nxR2I5p4mnNj8mDv         I48HWKdDU3A9+rNCItB16smjbrxsUcfEGVFv+BgtbrQ20W2aUwi3Zv+uBXjw4d9SoZ+6         GC5ASQKNoICRQ/ix68+DkmvxjKS73clCGFtwVuSBwZbcIXf37X6RliMrRMKrGER9m0m0         D818eEGWtFlqh1R8v3fH70lFtNPcZRUWgKYhyGa7Ulx0KHYaW5voiScCGpyU/xD28KvE         SD5rUT86OLr7lz5Ms48oQZ6t2Gz9C576HPm6mfng2wZQGACKBzlyGzML5YduKSGCqF/H         N89A==
Subject: Re: speeding up a paste operation
To: cygwin@cygwin.com
References: <CAD8GWstSbJHnP3XWKvhbtRisB=jJL7SJA9aMOWMJVDbMC_VdYA@mail.gmail.com>
From: James Darnley <james.darnley@gmail.com>
Message-ID: <1e37af1d-21fa-9c56-b135-cb9a4375d902@gmail.com>
Date: Sat, 25 Aug 2018 01:43:23 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAD8GWstSbJHnP3XWKvhbtRisB=jJL7SJA9aMOWMJVDbMC_VdYA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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.


--
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

