I'm having problems with libreadline. When I write text longer than the current line, the text wraps back to the beginning of the line rather than to the next line. Also, when I use the arrow keys to edit something in that beginning part, it won't display at all (so I can edit only if I remember the order of the characters, most inconvenient).
It won't even work under xterm. Changing ROWS and LINES doesn't help. Upgrading to readline v. 6 didn't help, either.
Using Ctrl+R to redraw didn't quite work as it should have; picture here:
mersenneforum.org - View Single Post - Readline problems
How can I fix this?