bash terminal/console strange overlapping behavior

Posted by UpKey on Ask Ubuntu See other posts from Ask Ubuntu or by UpKey
Published on 2012-04-16T03:06:58Z Indexed on 2012/04/16 5:46 UTC
Read the original article Hit count: 200

Filed under:

I am using gnome-terminal in Ubuntu 11.10 and seem to get long lines overlapping in the terminal window.

When I copy a long command line and paste it into the terminal, the text gets overlapped to the start of the line and often covers the user prompt.

If I resize the terminal window, making it wider the overlapping gets undone and everything looks normal. In previous versions of Ubuntu, if a line was too long it would continue on the next line below.

Another problem I have noticed that may be related, is when using the up arrow key to show previously typed commands, sometimes instead of the output command line being replaced by the previous command each time the key is pressed, the lines get partially merged. A portion of the old line remains, and the next command gets joined onto the end.

This leftover part of a command is persistent and does not get replaced next time the key is pressed, although the insertion point or blinking cursor is at the end of the latest recalled command, and the leftover has no effect if I press enter.

Is this problem a bug or some setting that needs fixing? Where do I look for the cause? keyboard? gnome-terminal? bash?

Thank you for any help or suggestions offered

© Ask Ubuntu or respective owner

Related posts about gnome-terminal