|
From: | Chet Ramey |
Subject: | Re: bug |
Date: | Fri, 07 May 2004 15:16:05 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.6) Gecko/20040113 |
Juan Diego wrote:
hello i use: GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)on gnu/linux gentoo kernel 2.6.5compiled with gcc-3.3.3 the bug can be reproduced setting as PS1 variable somethink like this: "\033[1;34m[\033[0;32m\h\033[1;34m] \033[0;36m\w \033[0m"
Re-read the PROMPTING section of the manual page, especially the descriptions of the \[ and \] escape sequences. Question E3 in the FAQ also covers this. Chet
[Prev in Thread] | Current Thread | [Next in Thread] |