Public bug reported:

Binary package hint: gnome-terminal

I think I've hit a readline problem (if Terminal uses it) that makes
long lines and color prompts very hard to use at the same time. This
never happened before Feisty.

version: gnome-terminal 2.18.0-0ubuntu1

To reproduce:

1. put up a simple color prompt, like:
    PS1='work:\e[0;31m\w\e[m # '
2. type or paste a long line, like:
    echo '123456789123456789123456789123456789'
3. don't execute it, but instead press Home to position the cursor on the 
beginning of the line
4. notice the cursor is *not* at the beginning!
5. press End to position the cursor at the end of the line
6. the cursor is now too far on the right!
7. try to delete all the characters (Backspace) - you won't be able to!
8. put up a non-colored prompt, like:
    PS1='\w # '
9. try to repeat the steps above - it works fine now. 

This bug does not only break Home and End in the terminal; it also
manifests itself when revoking long lines from history (UP key).

ProblemType: Bug
Architecture: i386
Date: Wed Apr 25 22:56:01 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.18.0-0ubuntu1
PackageArchitecture: i386
ProcCmdline: gnome-terminal
ProcCwd: /home/mislav
ProcEnviron:
 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/lib/gems/1.8/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux Goliath 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 
GNU/Linux

** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
History (readline?) problem with color prompt
https://bugs.launchpad.net/bugs/110096
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to