[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: |
Margarita Manterola |
Subject: |
Re: [Bug-readline] Pasting large amounts of text into readline-enabled programs truncates parts of the lines of the text being pasted |
Date: |
Mon, 22 Jul 2013 17:53:39 +0200 |
Hi,
On Mon, Jul 22, 2013 at 5:42 PM, Chet Ramey <address@hidden> wrote:
> 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.
Who is doing this change? I would expect it to be the terminal, but
the example code in
http://lists.gnu.org/archive/html/bug-readline/2012-06/msg00006.html
doesn't have a mode change per line.
> 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.
Can you elaborate a bit more on this, please?
--
Thanks,
Marga