Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 7043

Summary: Gnome Terminal prompt
Product: [Retired] Red Hat Linux Reporter: andrew.pickin
Component: gnome-libsAssignee: Havoc Pennington <hp>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.1CC: ahust
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-29 19:51:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description andrew.pickin 1999-11-16 13:34:51 UTC
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.

Example:

[root@royals init.d]# vim
c[root@royals init.d]# vi -v
c[root@royals init.d]# PS1='> '
> vi
c>

Comment 1 Havoc Pennington 1999-11-17 21:40:59 UTC
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.

Comment 2 Havoc Pennington 1999-11-29 17:06:59 UTC
*** Bug 6072 has been marked as a duplicate of this bug. ***

Comment 3 Havoc Pennington 2000-01-24 17:11:59 UTC
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.

Comment 4 Preston Brown 2000-02-16 15:36:59 UTC
Havoc:

Will this make it for 6.2?

Comment 5 Havoc Pennington 2000-02-16 17:21:59 UTC
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.

Comment 6 Havoc Pennington 2000-02-17 17:23:59 UTC
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
bug.

Comment 7 andrew.pickin 2000-02-18 09:08:59 UTC
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.

Sorry

Comment 8 Havoc Pennington 2000-02-18 16:27:59 UTC
The bug is in gnome-LIBS not gnome-core. If upgrading the libraries
doesn't help then let me know.

Comment 9 andrew.pickin 2000-02-18 16:33:59 UTC
Yes fixed, agreed, it's gone away. Thanks.

Comment 10 andrew.pickin 2000-02-21 11:12:59 UTC
No. It's only fixed over remote login.

See:

[root@royals GNOME]# rpm -Uvh gnome-libs-1.0.55-9.i386.rpm
gnome-libs-devel-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
c[root@royals GNOME]#

Comment 11 Preston Brown 2000-02-24 02:01:59 UTC
havoc: this bug does persist. Not sure if it is going to get fixed or not...

Comment 12 Havoc Pennington 2000-02-29 19:51:59 UTC
ok, NOW it is supposed to be fixed with the latest gnome-libs.

Comment 13 andrew.pickin 2000-03-01 12:35:59 UTC
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