try adding shopt -s checkwinsize to your .bashrc/.bash_profile
Not too sure if its the same problem I was having, but sounds similar.
On Tue, Apr 10, 2001 at 05:14:28PM +0100, Niall O Broin wrote:
> I may have mentioned this before in the past, but I've encountered a
> situation with bash where playing back the history by repeatedly pressing
> up-arrow has strange effects when I reach a certain command line which is
> long enough to cause wrap around. If I'm using the kde konsole application,
> the app. dies and if I'm using an xterm, the bell beeps. In either case,
> bash scrambles the prompt but gets its act together again after a couple
> more presses of the up arrow.
Bother! said Pooh, as he took his torn pants to Garak's.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!