Mandrake 9.0, 9.1, 9.2, 10.0 have a bug/misconfiguration that causes bash not to be aware of window resizes. To reproduce the bug: open a xterm, run a top in it, resize the window and then leave to and try to write a long line in your shell. To solve this, set

shopt -s checkwinsize