Package: bash
Version: 3.2-4

Try the following command sequence on an 80-column terminal.

mkdir -p /tmp/big-long-dir/with/lots/of/sub/directories
cd /tmp/big-long-dir/with/lots/of/sub/directories
mkdir -p so/this/gets/super/long/more/more/more/more/more
cd so/this/gets/super/long/more/more/more/more/more
PS1='\n\[\e[1m\]\w\[\e[m\] \$ '


The prompt string overflows onto a second line incorrectly and all
sorts of badness happens.

This also occurs in Ubuntu bash 4.1-2ubuntu3, and probably other versions.

Avery



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to