On 7/22/13 10:22 AM, Margarita Manterola wrote:
> Hi,
>
> One year ago this bug was reported, but nothing seems to have happened:
> http://lists.gnu.org/archive/html/bug-readline/2012-06/msg00006.html
>
> To recap:
>
> 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.
I spent a bunch of time looking at this and concluded that the problem was
the result of changing the terminal modes from cooked to raw and back at
every line boundary.
The workaround is to turn off line editing (and the terminal mode
switching) before pasting a large number of characters into the input
buffer. This has been tested and works.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline