unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Fabian Ezequiel Gallina <galli.87@gmail.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: 5255@debbugs.gnu.org
Subject: bug#5255: 23.1.90; Wrong prompt in term
Date: Mon, 28 Dec 2009 02:11:44 -0300	[thread overview]
Message-ID: <9de1a5ef0912272111y2a2ae289jc4fff186396bbabf@mail.gmail.com> (raw)
In-Reply-To: <200912221544.nBMFio58026144@godzilla.ics.uci.edu>

2009/12/22 Dan Nicolaescu <dann@ics.uci.edu>:
>
> This is an xterm specific escape sequence, most likely due to a bad
> setup, you'll get the same problem if you use a vt100 terminal for
> example.
> So this is not a term.el problem.
>

Thanks for the explanation, I just added this to my .bashrc and
everything started to work fine again:

if [[ $TERM =~ ^xterm ]];
then
	TERM=xterm-256color
	PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
else
	PROMPT_COMMAND=""
fi

However what really surprises me is that emacs 23.1 didn't got the
prompt wrong with my old PROMPT_COMMAND.


Regards,
-- 
Fabián E. Gallina
http://www.from-the-cloud.com






  reply	other threads:[~2009-12-28  5:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200912281928.nBSJSLSU012776@godzilla.ics.uci.edu>
2009-12-21  2:44 ` bug#5255: 23.1.90; Wrong prompt in term Fabian Ezequiel Gallina
2009-12-22 14:38   ` Dan Nicolaescu
2009-12-22 14:52     ` Fabian Ezequiel Gallina
2009-12-22 15:13       ` Dan Nicolaescu
2009-12-22 15:25         ` Fabian Ezequiel Gallina
2009-12-22 15:44           ` Dan Nicolaescu
2009-12-28  5:11             ` Fabian Ezequiel Gallina [this message]
2009-12-29 18:19               ` Stefan Monnier
2009-12-28 19:29   ` bug#5255: marked as done (23.1.90; Wrong prompt in term) Emacs bug Tracking System

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=9de1a5ef0912272111y2a2ae289jc4fff186396bbabf@mail.gmail.com \
    --to=galli.87@gmail.com \
    --cc=5255@debbugs.gnu.org \
    --cc=dann@ics.uci.edu \
    /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).