From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bug-gnu-emacs@gnu.org (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#5255: marked as done (23.1.90; Wrong prompt in term) Date: Wed, 13 Jan 2010 00:51:02 +0000 Message-ID: References: <9utyuqomkl.fsf@fencepost.gnu.org> <87ocm3ivx0.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1263343862-19076-0" X-Trace: ger.gmane.org 1263345619 28118 80.91.229.12 (13 Jan 2010 01:20:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 01:20:19 +0000 (UTC) Cc: emacs-bug-tracker@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 13 02:20:11 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NUru5-0005Tc-Nh for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 02:20:10 +0100 Original-Received: from localhost ([127.0.0.1]:53018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUru6-00033X-8X for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jan 2010 20:20:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUrtR-0002iI-6l for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2010 20:19:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUrtM-0002fc-31 for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2010 20:19:28 -0500 Original-Received: from [199.232.76.173] (port=42479 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUrtE-0002ae-Sw; Tue, 12 Jan 2010 20:19:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39523) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUrtB-0006VZ-6x; Tue, 12 Jan 2010 20:19:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NUrRu-0004xi-IL; Tue, 12 Jan 2010 19:51:02 -0500 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: closed 5255 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34246 Archived-At: This is a multi-part message in MIME format... ------------=_1263343862-19076-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 12 Jan 2010 19:50:02 -0500 with message-id <9utyuqomkl.fsf@fencepost.gnu.org> and subject line Re: Bug#5255 has caused the Emacs bug report #5255, regarding 23.1.90; Wrong prompt in term to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact bug-gnu-emacs@gnu.org immediately.) --=20 5255: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5255 Emacs Bug Tracking System Contact bug-gnu-emacs@gnu.org with problems ------------=_1263343862-19076-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NMbLI-0004Jh-9T for mharc-bug-gnu-emacs@gnu.org; Mon, 21 Dec 2009 01:02:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMZ85-0000QX-Vl for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 22:40:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMZ82-0000Oe-4d for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 22:40:17 -0500 Received: from [199.232.76.173] (port=60214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMZ81-0000OZ-Og for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 22:40:13 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:36127) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NMZ81-0006Im-JR for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2009 22:40:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NMYsM-0003Hx-2y; Sun, 20 Dec 2009 22:24:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Fabian Ezequiel Gallina , 5255@debbugs.gnu.org Resent-From: Fabian Ezequiel Gallina Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Dec 2009 03:24:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5255 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@debbugs.gnu.org id=B.126136579012632 (code B ref -1); Mon, 21 Dec 2009 03:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Dec 2009 03:23:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NMYrU-0003Hh-H1 for submit@debbugs.gnu.org; Sun, 20 Dec 2009 22:23:10 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NMYG4-00034V-Kk for submit@debbugs.gnu.org; Sun, 20 Dec 2009 21:44:29 -0500 Received: from mail.gnu.org ([199.232.76.166]:54570 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NMYG1-0000xN-5p for emacs-pretest-bug@gnu.org; Sun, 20 Dec 2009 21:44:25 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NMYG0-0006hC-13 for emacs-pretest-bug@gnu.org; Sun, 20 Dec 2009 21:44:25 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:37913) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NMYFz-0006gm-Kl for emacs-pretest-bug@gnu.org; Sun, 20 Dec 2009 21:44:23 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1263231eyg.34 for ; Sun, 20 Dec 2009 18:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=SNistCkHaUmBAuItgU83husIWsi1RzfX9ajXLf87xLI=; b=xPhcF0+7X5cYV32PeCoYDhHK8QnSzudkCeIyoL7IcOOuo2t+qnw/Lg/1fr4bmd2H2K I8ym6OdKW5QsCXvyHE+rpGpbnxGAfMqIheNUU0oRxacpolxOlCCF3h4DvICyRDzpZxCo J7BtE5r4zNSQuyBzOeAwlk5tThbdbtHrSJttA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=enBIAbF8pUNVqrHpdj8uS1vz+33BAFZnP9ZStUrus1KyQc6+AOQlBuX/HumGAd+WZT Ow4rs3o7ZddssCm44aTCeRhy3+VHk3Zx8JX38NxB/Ev8M/A3sk/6BnzQiqXM1pCSLw/B SXn2EJk8ZLrHyCLfBZhx2KVyiC8pdenuOlSAM= MIME-Version: 1.0 Received: by 10.216.90.209 with SMTP id e59mr2235514wef.193.1261363461807; Sun, 20 Dec 2009 18:44:21 -0800 (PST) Date: Sun, 20 Dec 2009 23:44:21 -0300 Message-ID: <9de1a5ef0912201844r45f00f26s82560a57251524d0@mail.gmail.com> From: Fabian Ezequiel Gallina To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sun, 20 Dec 2009 22:23:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Resent-Date: Sun, 20 Dec 2009 22:24:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 21 Dec 2009 01:01:59 -0500 Cc: Subject: bug#5255: 23.1.90; Wrong prompt in term X-BeenThere: bug-gnu-emacs@gnu.org Reply-To: Fabian Ezequiel Gallina , 5255@debbugs.gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 03:40:19 -0000 In emacs 23.1 when I use M-x term the prompt is rendered correctly to whatever is defined on the PS1 environment variable. But in 23.1.90.1 it prompts whatever is defined in the PS1 but also before that, it prompts 0;@:. The steps to reproduce it are quite simple: emacs -Q M-x term The prompt is rendered like this: 0;fgallina@cuca:~/Builds/emacs[fgallina@cuca emacs]$ Since my PS1 is set to PS1='[\u@\h \W]\$ ' the expected result is: [fgallina@cuca emacs]$ In GNU Emacs 23.1.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.5) of 2009-12-20 on cuca Windowing system distributor `The X.Org Foundation', version 11.0.10703901 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: es_AR.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x t e r m l s M-c M-x C-c b M-x r e m p o p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode easymenu view term disp-table ehelp electric ring tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) ------------=_1263343862-19076-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5255-done) by debbugs.gnu.org; 13 Jan 2010 00:50:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NUrRD-0004xC-2g for submit@debbugs.gnu.org; Tue, 12 Jan 2010 19:50:19 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NUrR0-0004wU-Bt for 5255-done@debbugs.gnu.org; Tue, 12 Jan 2010 19:50:18 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NUrQw-00042Z-Nh; Tue, 12 Jan 2010 19:50:02 -0500 From: Glenn Morris To: 5255-done@debbugs.gnu.org Subject: Re: Bug#5255 X-Spook: JPL Aladdin Bellcore CipherTAC-2000 Yukon [Hello to all X-Ran: ymb1Q]&W&$fKCJuV'V&xp}TbvzErAb~(_oF;@/oOVEpdTJaY1'3o[Ho3BBoFNvBRy,z`y# X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 12 Jan 2010 19:50:02 -0500 Message-ID: <9utyuqomkl.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 5255-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) This bug was closed recently, but unfortunately the close message was lost from the Emacs bug database. I am therefore resending the close message. Sorry for the duplicate mail. The original close message was http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-12/msg00689.html From: Dan Nicolaescu Subject: Re: bug#5255: 23.1.90; Wrong prompt in term To: Fabian Ezequiel Gallina Cc: 5255-done@debbugs.gnu.org Date: Mon, 28 Dec 2009 11:28:21 -0800 (PST) Fabian Ezequiel Gallina writes: > 2009/12/22 Dan Nicolaescu : > > > > 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: I am closing this bug, it's not a bug in term.el > if [[ $TERM =~ ^xterm ]]; > then > TERM=xterm-256color Changing the value of TERM is a bad idea, unless you know exactly what you are doing. > PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"' Using PROMPT_COMMAND is not a good idea, the same thing can be done with just setting the prompt. ---------- ------------=_1263343862-19076-0--