GNU bug report logs - #2400
23.0.90; shell-mode: garbage in prompt

Previous Next

Package: emacs;

Reported by: Xavier Maillard <xma <at> gnu.org>

Date: Fri, 20 Feb 2009 01:35:04 UTC

Severity: normal

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 2400 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Xavier Maillard <xma <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 2400 <at> debbugs.gnu.org
Subject: Re: bug#2400: 23.0.90; shell-mode: garbage in prompt
Date: Fri, 20 Feb 2009 10:25:02 +0100
   > My prompt is rendered with garbage like this:
   > ]0;xma <at> zogzog:~/var/spool/mail]0;xma <at> zogzog:~/var/spool/mail[xma <at> 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 <at> zogzog 00:36:00 mail] here.

Regards,

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




This bug report was last modified 14 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.