[Top][All Lists]

[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: Tue, 23 Jul 2013 21:11:54 +0200


On Tue, Jul 23, 2013 at 12:02 PM, Margarita Manterola
<address@hidden> wrote:
> I'm thinking of doing a git bisect between 2.6.38 and 3.0, but that
> doesn't sound very appealing :-/

I started the bisect, but unfortunately didn't make a lot of progress
due to a lot of the versions having compiler errors (this is a 2 year
old kernel, with a 1 year old gcc).  In any case, I was able to narrow
it down between 2.6.38 and 2.6.39-rc1.  Will continue bisecting

In the meantime, I enlisted the help of Maximiliano Curia (my husband
and fellow Debian Developer) who was able to find that the issue is
caused by this lines in rltty.c:

tiop->c_lflag &= ~(ICANON | ECHO);
tiop->c_iflag &= ~(ICRNL | INLCR);

If these two lines are replaced by:

tiop->c_lflag &= ~(ECHO);
tiop->c_iflag &= ~(INLCR);

Then pastes work fine, but there's no echo while typing.

I strongly suspect this is a bug in the kernel, and will keep
debugging this tomorrow.


reply via email to

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