Public bug reported: Binary package hint: gnome-terminal
Steps to reproduce: 1. Start gnome-terminal. 2. cd /tmp 3. mkdir "some unicode directory name of length N" (e.g. mkdir "αβγ", N=3) 4. cd "this directory" 5. Type some command, that don't fit in one terminal line, but only fits in two: (e.g. echo "abcd"|bzip2|bunzip2|bzip2|bunzip2|bzip2|bunzip2|bzip2|bunzip2), execute it) 6. press 'up arrow' key to bring the command back again. 7. press 'left arrow' and wait for the cursor to appear in the middle of the first line. 8. Now either: Press HOME - the cursor will fall so many symbol positions beyong the line beginning as many Grecian Unicode letters there are: N. Or: Try to set the cursor at the end of first line by pressing right arrow - you will not be able to locate the last N characters. If you now try to edit the comand, there will be some mess. The same has been tested with Cyrrilics Unicode symbols. The effect with more exotic symbols is even more powerful: try "ॣय़" as directory name. It seems that Gnome-terminal uses some unicode-unaware function to calculate strings length. The issue is rather unpleasant, because localized Ubuntu versions use many directories with Unicode leters in names. E.G. Desktop is "Рабочий стол" in Russian localization. ********************************** Description: Ubuntu 8.10 Release: 8.10 x86_64 distributive Gnome terminal version from "apt-cache policy gnome-terminal" 2.24.1.1-0ubuntu1 ProblemType: Bug Architecture: amd64 DistroRelease: Ubuntu 8.10 ExecutablePath: /usr/bin/gnome-terminal NonfreeKernelModules: ath_hal fglrx Package: gnome-terminal 2.24.1.1-0ubuntu1 ProcEnviron: PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=ru_RU.UTF-8 SHELL=/bin/bash SourcePackage: gnome-terminal Uname: Linux 2.6.27-9-generic x86_64 ** Affects: gnome-terminal (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug -- Unicode characters are handled uncorrectly https://bugs.launchpad.net/bugs/305554 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