Bug 158820

Summary: Updated vte may mangle xterminal prompt with some PS1 settings
Product: [Fedora] Fedora Reporter: Barry Wright <barry>
Component: vteAssignee: Warren Togami <wtogami>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
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: 2005-05-26 02:29:50 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 Barry Wright 2005-05-26 02:17:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

Description of problem:
Updated from vte-0.11.11-6 to vte-0.11.13-1.fc3. Users reported gnome-terminal (gnome-terminal-2.7.3-1) prompt was displaying additional characters that originate from the promt environment variable value.                                                                                  

Version-Release number of selected component (if applicable):
vte-0.11.13-1.fc3

How reproducible:
Always

Steps to Reproduce:
1.Update to vte-0.11.13-1.fc3
2.Set prompt var to PS1='\[\033[0;1m\][${PWD}]\[\033[0;m\]$ '
3.Start a gnome-terminal
  

Actual Results:  Prompt displayed as
[/home/username]^[[0;m$

Expected Results:  Prompt displayed as
[/home/username]$

Additional info:

Reverted to vte-0.11.11-6, closed all open gnome-terminals, opened a new terminal and the prompt was displayed correctly without the additional characters.There have not been any reports of the additional characters causing problems in other applications.

The same additional characters appears with the kde terminal as well.

Comment 1 Barry Wright 2005-05-26 02:29:50 UTC

*** This bug has been marked as a duplicate of 158716 ***