Subject: bug#2400: 23.0.90; shell-mode: garbage in prompt

From: Xavier Maillard <[email-masked]>
Date: Fri, 20 Feb 2009 10:25:02 +0100

> My prompt is rendered with garbage like this:
   > ]0;xma@zogzog:~/var/spool/mail]0;xma@zogzog:~/var/spool/mail[xma@zogzog 00:36:00 mail]$ 

   These don't look like color escape sequences.  So the problem is most
   likely in your prompt.

Here is the definition of my PS1 variable:

\[\033]0;\u@\h: \w\007\]\[\033[0m\033[0;1m\][\[\033[0m\033[0;32m\]\u@\h \[\033[0m\033[1;34m\]\t \[\033[0m\033[0;36m\]\W\[\033[0m\033[0;1m\]]\[\033[0m\033[0;37m\]\$

The weird thing is the line above the prompt. My prompt is no
more than [xma@zogzog 00:36:00 mail] here.

Regards,

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org