unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Xavier Maillard <xma@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 2400@emacsbugs.donarmstrong.com
Subject: bug#2400: 23.0.90; shell-mode: garbage in prompt
Date: Fri, 20 Feb 2009 10:25:02 +0100	[thread overview]
Message-ID: <200902200925.n1K9P2Oo021328@zogzog.maillard.mobi> (raw)
In-Reply-To: message from Stefan Monnier on Thu, 19 Feb 2009 22:43:40 -0500


   > My prompt is rendered with garbage like this:
   > ^[]0;xma@zogzog:~/var/spool/mail\a^[]0;xma@zogzog:~/var/spool/mail\a[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






             reply	other threads:[~2009-02-20  9:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20  9:25 Xavier Maillard [this message]
2009-02-20 21:15 ` bug#2400: 23.0.90; shell-mode: garbage in prompt Stefan Monnier
2011-07-15 20:55 ` Glenn Morris
2011-07-15 20:58   ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2009-02-20  9:25 Xavier Maillard
2009-02-20  2:00 Chong Yidong
2009-02-20  1:25 Xavier Maillard
2009-02-20  3:43 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200902200925.n1K9P2Oo021328@zogzog.maillard.mobi \
    --to=xma@gnu.org \
    --cc=2400@emacsbugs.donarmstrong.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).