Bug#273999: Command line is trashed with colorized prompt

Sebastien Bacher Sebastien Bacher <seb128@debian.org>, 273999@bugs.debian.org
Wed, 29 Sep 2004 11:31:36 +0200


reassign 273999 bash
severity 273999 normal
thanks

Apparently a bug with bash, happens with different terms (xterm, Eterm,
aterm ...) and in a console.=20
Not sure but perhaps related to #269547 ?

BTW adding \[ and \] around the string seems to fix the issue.


Le mercredi 29 septembre 2004 =E0 10:39 +0200, Cedric Delfosse a =E9crit :
> Package: gnome-terminal
> Version: 2.6.1-6
> Severity: important
>=20
> Put this into the PS1 variable:
> PS1=3D'\033[01;36m\u\033[m@\033[01;36m\h\033[m:\w\$ '
>=20
> Now start to type at the command line until you reach the border of the
> gnome-terminal window. You will see that what you type is wrapped before,=
 and
> without carriage return.
>=20
> I think this bug is important because lots of people are using colorized
> prompt and this bug breaks the way they work, and they need to modify the=
ir
> setup if the want to use gnome-terminal.