[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] Pasting large amounts of text into readline-enabled progr
[Bug-readline] Pasting large amounts of text into readline-enabled programs truncates parts of the lines of the text being pasted
Mon, 22 Jul 2013 16:22:56 +0200
One year ago this bug was reported, but nothing seems to have happened:
Copying and pasting text into a readline enabled program in linux
causes it to lose some parts of the input, on MacOSX apparently (I
don't have access to one to test this myself), the behavior is that
some characters are repeated.
There was one mention in the thread to test readline6.2 patch 3. I
applied that patch but there was no change. This is still broken. I
also tested this with readline 6.1 and 6.0 and got the same behavior,
so it doesn't seem to be something related to 6.2 specifically.
In the thread it was mentioned that it could be a kernel issue, since
the behavior is different in Mac and Linux. I have reproduced this
issue with kernel 3.5. It's been a whole year, many kernels have come
and gone and the issue is still there. If this is a kernel issue, the
kernel developers don't seem to have noticed.
The original report contains a small C program for easy testing of the
issue. It's also easy to test it with bash, although at least in the
Debian case it implies recompiling the whole bash, since it uses an
embedded copy of readline.
I'd be happy to test any other possible patches to see this issue
fixed. None of those available on
http://git.savannah.gnu.org/cgit/readline.git/ fix it.