Red Hat Bugzilla – Bug 7043
Gnome Terminal prompt
Last modified: 2008-05-01 11:37:52 EDT
After running vi in a gnome terminal, the terminal's prompt is prefixed
with as 'c'.
This does not happen with the graphical '-g' option with vim.
Does happen with vim 5.4 rpm and 5.5 built from source.
It does not affect regular xterms.
[root@royals init.d]# vim
c[root@royals init.d]# vi -v
c[root@royals init.d]# PS1='> '
I can reproduce this, but I have no idea what causes it.
I'm sending it upstream to the gnome-terminal author to
see what he thinks.
*** Bug 6072 has been marked as a duplicate of this bug. ***
This bug has just been fixed in the upstream CVS version of GNOME;
when the GNOME Project makes a release of the fixed version,
we will include it in Red Hat.
Will this make it for 6.2?
CVS version (stable branch) seems to have a number of fixes, including
this and the segfault-if-E-background-pixmap-no-longer-exists bug.
I think I'll just diff our tarball against the CVS version of the
terminal and apply the patch to the RPM. However the patch is somewhat large and
it makes me a bit nervous to use the unreleased code.
On second thought, it turns out that on Feb 1 we updated the Rawhide
RPM to the latest upstream version, and I can no longer reproduce this
If gnome-core-1.0.55-7.i386.rpm is supposed to fix this bug, unfortunately I can
confirm that it DOES NOT.
-rwxr-xr-x 1 root root 50800 Feb 9 00:58 /usr/bin/gnome-terminal
still puts a 'c' on the prompt on returning from vim.
The bug is in gnome-LIBS not gnome-core. If upgrading the libraries
doesn't help then let me know.
Yes fixed, agreed, it's gone away. Thanks.
No. It's only fixed over remote login.
[root@royals GNOME]# rpm -Uvh gnome-libs-1.0.55-9.i386.rpm
package gnome-libs-1.0.55-9 is already installed
package gnome-libs-devel-1.0.55-9 is already installed
[root@royals GNOME]# vi
havoc: this bug does persist. Not sure if it is going to get fixed or not...
ok, NOW it is supposed to be fixed with the latest gnome-libs.
AMP: Sorry, still there!
[root@royals download]# rpm -Uvh gnome-libs-1.0.55-12.i386.rpm
package gnome-libs-1.0.55-12 is already installed
[root@royals download]# vi
c[root@royals download]# date
Wed Mar 1 12:44:26 GMT 2000