The clear-to-end-of-line control arrives when the last column of the screen is filled; the cursor is waiting on that position. The control clears that column; subsequent text is written from that point.
The difference that you expect happens to be a bug in gnome-terminal. It works properly in xterm and rxvt. -- xterm word wrap bug https://bugs.launchpad.net/bugs/505526 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs