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#5334: marked as done (23.1.91; Term mode prints "0;user@host:~" before each prompt of an interactive SSH session) Date: Wed, 13 Jan 2010 00:51:02 +0000 Message-ID: References: <9utyuqomkl.fsf@fencepost.gnu.org> <1D8FD52B-3B56-49A2-9818-75E7BAC8832D@me.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1263343862-19076-2" X-Trace: ger.gmane.org 1263345605 28077 80.91.229.12 (13 Jan 2010 01:20:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 01:20:05 +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:19:55 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 1NUrtq-0005Nq-Cj for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 02:19:54 +0100 Original-Received: from localhost ([127.0.0.1]:52068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUrtr-0002sR-0I for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jan 2010 20:19:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUrtQ-0002hk-7G for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2010 20:19:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUrtL-0002fR-IT for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2010 20:19:27 -0500 Original-Received: from [199.232.76.173] (port=42481 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUrtG-0002bn-OT; Tue, 12 Jan 2010 20:19:18 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39524) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUrtB-0006Vo-SI; Tue, 12 Jan 2010 20:19:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NUrRu-0004xk-PU; 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 5334 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:34245 Archived-At: This is a multi-part message in MIME format... ------------=_1263343862-19076-2 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.91; Term mode prints "0;user@host:~" before each prompt of a= n interactive SSH session 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-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Jan 2010 19:08:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSxik-0000ro-B6 for submit@debbugs.gnu.org; Thu, 07 Jan 2010 14:08:34 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSxii-0000rc-Dv for submit@debbugs.gnu.org; Thu, 07 Jan 2010 14:08:32 -0500 Received: from mx10.gnu.org ([199.232.76.166]:58758) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSxie-0000Ez-3f for emacs-pretest-bug@gnu.org; Thu, 07 Jan 2010 14:08:28 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NSxic-0004FL-R3 for emacs-pretest-bug@gnu.org; Thu, 07 Jan 2010 14:08:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from mx20.gnu.org ([199.232.41.8]:20804) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSxic-0004EF-FE for emacs-pretest-bug@gnu.org; Thu, 07 Jan 2010 14:08:26 -0500 Received: from asmtpout028.mac.com ([17.148.16.103]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSxia-0008VA-AU for emacs-pretest-bug@gnu.org; Thu, 07 Jan 2010 14:08:24 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [192.168.1.101] ([70.72.209.234]) by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KVW002DH55AX810@asmtp028.mac.com> for emacs-pretest-bug@gnu.org; Thu, 07 Jan 2010 11:08:00 -0800 (PST) From: Scott Bell Subject: 23.1.91; Term mode prints "0;user@host:~" before each prompt of an interactive SSH session Date: Thu, 07 Jan 2010 12:07:57 -0700 Message-id: <1D8FD52B-3B56-49A2-9818-75E7BAC8832D@me.com> To: emacs-pretest-bug@gnu.org X-Mailer: Apple Mail (2.1077) X-detected-operating-system: by mx20.gnu.org: Solaris 10 (1203?) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: submit 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.7 (-----) Under GNU Emacs 23.1.91.1 (x86_64-apple-darwin10.2.0, NS apple-appkit-1038.25), Mac OS X 10.6.2, Term mode prints the following prompt during an interactive SSH session ('ssh host'): 0;user@host:~(host:~)$ when PS1 is set to '(\h:\W)\$ ' on the remote host. The string '0;user@host:~' is not displayed when using another terminal emulator. ------------=_1263343862-19076-2 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-2--