News for hackers. Stuff that matters.
Re:Bash 4.4 released by olau on Friday September 16, 2016 @11:19AM (#12514586)
A little anecdote: there was a case of O(N^2) in readline with long lines. Essentially a bug in the redisplay logic. It affected Bash, mysql/psql, Python, etc.

After having suffered from this for some years, last year that annoyed me enough to start digging into readline to figure out what was causing it. In the end, that prompted Chet Ramey to come up with a fix which looks like it is now being released!

I promised myself that when this one was fixed, I'd look into why most readline shells can go nuts when you resize them - somehow they don't always discover that the line width has changed.

Re:Bash 4.4 released by JonathonW on Friday September 16, 2016 @12:25PM (#12515129)
> I promised myself that when this one was fixed, I'd look into why most readline shells can go nuts when you resize them - somehow they don't always discover that the line width has changed.

Possibly related?

> Use pselect(2), if available, to wait for input before calling read(2), so a SIGWINCH can interrupt it, since it doesn't interrupt read(2).

(from the Readline-7.0 release notes)

Re:Bash 4.4 released by greenshackle on Friday September 16, 2016 @12:02PM (#12514932)
Re:Bash 4.4 released by otabdeveloper1 on Friday September 16, 2016 @12:02PM (#12514938)
Thank you, thank you. You are my hero, for serious.