Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756499Ab2BOX6S (ORCPT ); Wed, 15 Feb 2012 18:58:18 -0500 Received: from mail-pz0-f46.google.com ([209.85.210.46]:32989 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756457Ab2BOX6N convert rfc822-to-8bit (ORCPT ); Wed, 15 Feb 2012 18:58:13 -0500 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 15 Feb 2012 18:58:12 -0500 Message-ID: Subject: Re: PROBLEM: Data corruption when pasting large data to terminal From: Parag Warudkar To: Egmont Koblinger Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1126 Lines: 31 On Wed, Feb 15, 2012 at 1:50 PM, Egmont Koblinger wrote: > Hi, > > Short summary: ?When pasting large amount of data (>4kB) to terminals, > often the data gets mangled. > > How to reproduce: > Create a text file that contains this line about 100 times: > a=(123456789123456789123456789123456789123456789123456789123456789) > (also available at http://pastebin.com/LAH2bmaw for a while) > and then copy-paste its entire contents in one step into a "bash" or > "python" running in a graphical terminal. > FWIW, this also works fine on cygwin / Windows 7. No errors. $ bash --version GNU bash, version 4.1.10(4)-release (i686-pc-cygwin) Unsure what that means though - probably nothing! Greg - when you said it works in vim - since of course vim isn't 'parsing' the input may be you did not see an error - or did you actually verify all 4KB somehow? ;) Parag -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/