Bug 86058

Summary: bash-2.05b-5 : PS1 overwrites the output-line without newline
Product: [Retired] Red Hat Linux Reporter: Atuya Okudaira <okudaira>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: 8.0   
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: 2006-02-21 18:52:11 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 Atuya Okudaira 2003-03-13 10:33:34 UTC
Description of problem:
bash's PS1 overwrites the output-line without newline
in some environment.

Version-Release number of selected component (if applicable):
bash-2.05b-5

How reproducible:
For the RH8.0 (i386) installed with the basic language: japanese 
and with all languages,
Login X window system : Gnome or ...;
Open terminal: kterm, xterm or gnome-terminal;
type command: echo -n hello
(or helloworld.c with printf("hello"); /* without \n */)
then the output line is overwritten by PS1 of bash.

Steps to Reproduce:
1.login Gnome (lang: japanese or american english)
2.start xterm
3.type echo -n hello
    
Actual results:
[okudaira@satyros okudaira]$ echo -n hello

Expected results:
[okudaira@satyros okudaira]$ echo -n hello
hello[okudaira@satyros okudaira]$


Additional info:
[okudaira@satyros okudaira]$ echo -n hello | more
hello
[okudaira@satyros okudaira]$

'su -' or 'ssh localhost' does not reproduce the results.
bash-2.05a does not reproduce the results.

Comment 1 Tim Waugh 2003-03-13 10:39:08 UTC
Already fixed in rawhide.

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

Comment 2 Red Hat Bugzilla 2006-02-21 18:52:11 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.