[Pkg-xfce-devel] Bug#534633: Bug#534633: xfce4-terminal: If shell prompt >screen width, entry line becomes garbled

Yves-Alexis Perez corsac at debian.org
Fri Jul 17 15:59:58 UTC 2009


On ven, 2009-07-17 at 11:57 -0400, Daniel Dickinson wrote:
> I use bash.  PS1 is:
> 
> case "$TERM" in
> xterm-color)
>     PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h
> \[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
> ' ;;
> screen)
>     PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h
> \[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
> ' ;;
> *)
>     PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
> 
> I just tried with the xterm-color and screen options commented out (so
>     PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
> and the problem doesn't happen in that case. 

And what TERM is usually used on your config? xterm-color?

-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090717/af81a1f6/attachment.pgp>


More information about the Pkg-xfce-devel mailing list