Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2013-09-03 Thread Maximiliano Curia
see how this could work, could you elaborate? This is the patch proposal, for comments: From 81afd3b666cbf94bb9923ebf87fb2017a7cd645e Mon Sep 17 00:00:00 2001 From: Maximiliano Curia Date: Tue, 3 Sep 2013 22:48:34 +0200 Subject: [PATCH] Only let characters through when there are active readers.

Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2013-07-30 Thread Maximiliano Curia
Peter Hurley wrote: > readline is fundamentally incompatible with an active writer. This wasn't the case with older kernel versions. I don't see any POSIX reference that claims user input could be lost setting termios so I think this is a serious regression. Also, consider the readline use cas

Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2013-08-08 Thread Maximiliano Curia
Hi, > n_tty_set_room() in drivers/tty/n_tty.c (3.10 mainline) > From n_tty_set_room(): > /* >* If we are doing input canonicalization, and there are no >* pending newlines, let characters through without limit, so >* that erase characters will be handled. Other exc

Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2013-10-29 Thread Maximiliano Curia
¡Hola Arkadiusz! El 2013-10-24 a las 18:00 +0200, Arkadiusz Miskiewicz escribió: > Was just going over bug-readline and lkml archives and found no continuation > of this. > There was a patch proposed but didn't get applied. > https://lkml.org/lkml/2013/8/17/31 > Maybe it only needs proper patch s