bug-bash
[Top][All Lists]
Advanced

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

Re: Prompt string length calculated wrongly


From: Chet Ramey
Subject: Re: Prompt string length calculated wrongly
Date: Sun, 10 Oct 2004 17:22:36 -0400
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.3) Gecko/20040910

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




reply via email to

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