Version: (using KDE KDE 4.0.0) Installed from: Compiled From Sources I can't quite describe it, so I'll make an example. cd to some long path, e.g. cd /kde/src/KDE/kdebase/apps/konsole/developer-doc/old-documents/More so that the prompt will be something like user@machine:/kde/src/KDE/kdebase/apps/konsole/developer-doc/old-documents/More Resize the terminal window and make it very narrow, then make it larger again. Text doesn't properly wrap and unwrap, but remains scattered on the screen. If I keep making the window larger and narrower, so that the prompt keeps changing from 1 line to 2 lines, lines further up on the screen are deleted.
I think I have seen this before, where it turned out to be an issue with the bash shell which can be seen in all terminals.
This happens with Ubuntu and its default prompt. I tested konsole3, gnome terminal and xterm. All of them have troubles, but konsole4 is the worse. The problem with konsole4 is that funny things start happening when the terminal has a reasonable size, not just when it is made unrealistically small.
Results of some additional testing. Steps to reproduce: 1. Change the prompt string so that it is very long (eg. 80 characters). (export PS1=<long string>) 2. Write a lengthy string after the prompt (eg. <prompt> <long string> ) 3. Narrow the terminal window so that the prompt part of the command-line wraps over two or more lines. 4. Widen the terminal window back to its original size. Spurious lines will be left on the screen. This is not reproducible with the zsh shell and occurs in gnome-terminal,xterm and Konsole 3/4, all of which have different terminal emulation backends, which leads me to suspect a bug in bash. > The problem with konsole4 is that funny things start > happening when the terminal has a reasonable size, I couldn't reproduce this. Make sure that all the terminals are using the same text size.
The same happens with opensuse, but you are right, it's not konsole4-specific.
I'm pretty sure this is a bash problem. A quick scan of the bash bugs list reveals quite a few reports in this area. Unfortunately bash uses a simple mailing list instead of a proper bug tracker so following the issues is not easy.