logo       

Re: Prompt string length calculated wrongly: msg#00130

shells.bash.bugs

Subject: Re: Prompt string length calculated wrongly

Ian Smith wrote:

GNU bash, version 3.00.0(1)-release (i686-pc-linux-gnu)

For reasons best kept to myself I use a two-line prompt containing a newline:
[...]
Note that in the second example I have a longer path component. It appears that part of the prompt length is incorrectly added to the calculated length of input.

This was fixed in patch 2 to bash-3.0.

ftp://ftp.cwru.edu/pub/bash/bash-3.0-patches

Chet


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise