bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] Pasting large amounts of text into readline-enabled p


From: Chet Ramey
Subject: Re: [Bug-readline] Pasting large amounts of text into readline-enabled programs truncates parts of the lines of the text being pasted
Date: Thu, 12 Jul 2012 17:07:57 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 7/11/12 6:20 PM, Edmar Wiggers wrote:
> It seems the problem remains in readline-6.2 patch 3.
> 
> I've manually created a sys-libs/readline-6.2_p3.ebuild in Gentoo,
> emerged/compiled it, and then re-emerged/compiled
> app-shells/bash-4.2_p28 . Terminal output seems to indicate
> readline-6.2 patch 3 was compiled and used in bash compilation. The
> problem with data truncation/corruption on large paste persists.
> 
> Are you unable to reproduce the bug Chet?

I cannot reproduce it on Mac OS X pasting into Mac OS X Terminal.  I can
reproduce it using xterm (so far only a remote xterm running on a REHL6
system, but I've just started looking).  It looks like a file around 6.6K
(250 lines of what you sent, decoded) is enough to reproduce it.  The
weird thing is that when you run this using strace, the characters that
are missing in the output are not shown as being made available to read(2).
read never reads them.

As I said, I've just started to look again, so I will keep on.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]