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

Daniel Dickinson crazycshore at gmail.com
Sun Aug 2 17:49:08 UTC 2009


On Fri, 17 Jul 2009 17:59:58 +0200
Yves-Alexis Perez <corsac at debian.org> wrote:

> 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?

screen normally.

-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C      http://gnupg.org
The C Shore (Daniel Dickinson's Website) http://www.bmts.com/~cshore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090802/592cc915/attachment.pgp>


More information about the Pkg-xfce-devel mailing list