Bug 86058 - bash-2.05b-5 : PS1 overwrites the output-line without newline
bash-2.05b-5 : PS1 overwrites the output-line without newline
Status: CLOSED DUPLICATE of bug 74383
Product: Red Hat Linux
Classification: Retired
Component: bash (Show other bugs)
8.0
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-13 05:33 EST by Atuya Okudaira
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:52:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Atuya Okudaira 2003-03-13 05:33:34 EST
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 05:39:08 EST
Already fixed in rawhide.

*** This bug has been marked as a duplicate of 74383 ***
Comment 2 Red Hat Bugzilla 2006-02-21 13:52:11 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.