[Pkg-xfce-devel] Bug#534633: Bug#534633: xfce4-terminal: If shell prompt >screen width, entry line becomes garbled
- Subject: [Pkg-xfce-devel] Bug#534633: Bug#534633: xfce4-terminal: If shell prompt >screen width, entry line becomes garbled
- From: corsac at debian.org (Yves-Alexis Perez)
- Date: Fri, 17 Jul 2009 17:59:58 +0200
- Message-id: <[🔎] 1247846398.17144.47.camel@hidalgo>
- In-reply-to: <20090717115732.6bf6050e@daniloth.fionavar.dd>
- References: <20090625223801.17155.3811.reportbug@daniloth.fionavar.dd> <1245996083.29367.2.camel@hidalgo> <20090630070851.1b3904ad@daniloth.fionavar.dd> <1246360820.19917.2.camel@miria> <20090717115732.6bf6050e@daniloth.fionavar.dd>
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>
Reply to: