bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Change Request


From: Chet Ramey
Subject: Re: Feature Change Request
Date: Mon, 5 Nov 2001 11:23:20 -0500

> I just upgraded from Linux-Mandrake 7.2 to 8.0 (Pentium-optimised 
> distribution, which uses their own cooked gcc).
> This resulted in bash being "upgraded" from 2.0.4.12 to 2.0.4.18.
> 
> I notice a new "feature" that I really dislike (sorry): If the last line of 
> output from a program doesn't have a newline, bash overwrites it.
> 
> To illustrate my point, typing "echo -n Hello" in 2.0.4.12 gives (or 
> something similar -- I don't have bash 2.0.4.12 anymore):
> Hello[root@tux350 /root]#
> 
> In 2.0.4.18:
> [root@tux350 /root]#
> 
> This new "feature" (or bug :)) really ruins some of my programs as the last 
> line of output "disappears" just because I didn't append a newline to the 
> output (and sometimes because of the nature of the program, I don't want to 
> append a newline).
> 
> Please revert this behaviour back to that of 2.0.4.12 i.e. "Hello[root@tux350 
> /root]#" instead of "[root@tux350 /root]#".

Look at your $PS1.  It might have a leading carriage return.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]