BTW, I've been able to reproduce this in gnome-terminal as well, so I don't
think it's related to the terminal.

Ben

On Fri, Apr 13, 2012 at 11:42 AM, Ben Booth <[email protected]> wrote:

>
>>    - The version number and release status of Readline (e.g.,
>>    4.2-release)
>>
>> readline 6.2.002, compiled for x86_64 architecture
>
>>
>>    - The machine and OS that it is running on
>>
>> OS: Arch Linux, updates current as of today.
>
> uname -a
> Linux skittles 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
> x86_64 Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz GenuineIntel GNU/Linux
>
>>
>>    - A list of the compilation flags or the contents of `config.h', if
>>    appropriate
>>
>>
> https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/readline
>
>  ./configure --prefix=/usr --libdir=/lib
>   make SHLIB_LIBS=-lncurses
>
>>
>>    - a description of the bug
>>
>> If I paste large amounts of text into any readline-enabled program (psql,
> bash), parts of the text, particularly near the end of the text block, get
> truncated. It only seems to happen with blocks of text larger than a
> certain size (around 4kb or so).
>
>>
>>    - a recipe for recreating the bug reliably
>>
>> I've attached an example SQL file. If I copy the file's contents to the
> clipboard and paste it into the terminal in psql, the "group by" line of
> the SQL query gets truncated so that only the numbers 1,2,3,4,5,6 are
> pasted into the psql session. I expected the rest of the line to be
> included as well. If I paste the same text block in bash, I get the same
> result: parts of the lines in the text block get truncated.
>
> However, if I try to paste into VIM, the text is preserved completely. I
> only see this behavior in readline-enabled programs.
>
> I'm using Konsole with screen size 158 columns x 58 rows.
>
>
>>
>>    - a fix for the bug if you have one!
>>
>> I haven't had time to look at the code yet, sorry.
>
> Ben Booth
>
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to