From unknown Wed Aug 20 00:03:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2400 <2400@debbugs.gnu.org> To: bug#2400 <2400@debbugs.gnu.org> Subject: Status: 23.0.90; shell-mode: garbage in prompt Reply-To: bug#2400 <2400@debbugs.gnu.org> Date: Wed, 20 Aug 2025 07:03:00 +0000 retitle 2400 23.0.90; shell-mode: garbage in prompt reassign 2400 emacs submitter 2400 Xavier Maillard severity 2400 normal tag 2400 notabug thanks From xma@gnu.org Thu Feb 19 17:26:24 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Feb 2009 01:26:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1K1QKjQ011021 for ; Thu, 19 Feb 2009 17:26:21 -0800 Received: from mail.gnu.org ([199.232.76.166]:37910 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LaK7e-00055x-IH for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 20:24:10 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LaK9g-0002Cb-Ft for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 20:26:18 -0500 Received: from ded1.conovae.com ([88.191.52.166]:57061 helo=mf1.conovae.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaK9g-0002CT-21 for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 20:26:16 -0500 Received: by mf1.conovae.net (Postfix, from userid 10) id 6C94B261409; Fri, 20 Feb 2009 02:25:12 +0100 (CET) Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.3/8.13.8) with ESMTP id n1K1P3qE030090 for ; Fri, 20 Feb 2009 02:25:03 +0100 Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.3/8.13.8/Submit) id n1K1P3HO030089; Fri, 20 Feb 2009 02:25:03 +0100 Date: Fri, 20 Feb 2009 02:25:03 +0100 Message-Id: <200902200125.n1K1P3HO030089@zogzog.maillard.mobi> From: Xavier Maillard To: emacs-pretest-bug@gnu.org Subject: 23.0.90; shell-mode: garbage in prompt Organization: GNU's Not UNIX! User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr Reply-to: Xavier Maillard X-UUCPssh-Information: Please contact the ISP for more information X-UUCPssh: Found to be clean X-UUCPssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.245, required 6, ALL_TRUSTED -1.80, BAYES_00 -2.60, TW_GZ 0.08, TW_OG 0.08) X-UUCPssh-From: xma@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) My prompt is rendered with garbage like this: ]0;xma@zogzog:~/var/spool/mail]0;xma@zogzog:~/var/spool/mail[xma@zogzog 00:36:00 mail]$ It happens with emacs -Q Steps to reproduce: M-x shell RET M-x load-library RET ansi-color RET M-x ansi-color-for-comint-on RET Reproducible: always In GNU Emacs 23.0.90.2 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2009-02-14 on zogzog Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--without-xft'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: fr_FR.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Shell Minor modes in effect: rcirc-track-minor-mode: t eev-mode: t shell-dirtrack-mode: t jabber-activity-mode: t auto-insert-mode: t global-hi-lock-mode: t hi-lock-mode: t show-paren-mode: t global-auto-revert-mode: t display-time-mode: t recentf-mode: t icomplete-mode: t desktop-save-mode: t auto-image-file-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: u p o n , SPC F R E E d SPC SPC d SPC SPC SPC d d d d d d d C-x 1 d d d d d d d d d d d d d d d d d C-l d d d M-< h C-x 1 l f a i r y d a y s y i d a y s y h C-M-t y h l f a i r y d a y s y h C-x 1 C-l C-l C-l C-M-t f a i r [ y ] i ] h M-> C-x 1 C-l C-l C-l C-l C-M-t O S S-SPC X d d d d d d d d d d d d d d d d d d d d d d d d C-l d d d d d d d d d d d d d M-< h C-x 1 C-l C-l 1 4 8 8 j C-l C-l M-x a n s i - t e r M-k C-h v s h e l l - m o d e h o M-k M-x s h e l l e x p o r t SPC T E R M = v t 1 0 0 l s l s SPC - - c o l o r = y e s M-p SPC - l a r t SPC / t m p / C-a C-a C-SPC M-w M-x r e p o r t - e m Recent messages: Computing summary lines...done No previous message Computing summary lines...done Mark set Computing summary lines...done Mark set Computing summary lines...done Type "q" to restore this window. History item: 1 Mark set Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From cyd@stupidchicken.com Thu Feb 19 17:59:35 2009 Received: (at 2400) by emacsbugs.donarmstrong.com; 20 Feb 2009 01:59:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1K1xVrO019281 for <2400@emacsbugs.donarmstrong.com>; Thu, 19 Feb 2009 17:59:32 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 3943A57E20C; Thu, 19 Feb 2009 21:00:26 -0500 (EST) From: Chong Yidong To: Xavier Maillard Cc: 2400@debbugs.gnu.org Subject: RE: 23.0.90; shell-mode: garbage in prompt Date: Thu, 19 Feb 2009 21:00:26 -0500 Message-ID: <878wo1x3yd.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > My prompt is rendered with garbage like this: > ... > It happens with emacs -Q > > Steps to reproduce: > > M-x shell RET > M-x load-library RET ansi-color RET > M-x ansi-color-for-comint-on RET I can't reproduce this. What is the $PS1 setting for your prompt? And does this bug occur in Emacs 22? From monnier@iro.umontreal.ca Thu Feb 19 19:43:51 2009 Received: (at 2400) by emacsbugs.donarmstrong.com; 20 Feb 2009 03:43:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1K3hm1U016403 for <2400@emacsbugs.donarmstrong.com>; Thu, 19 Feb 2009 19:43:49 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah0FAAu2nUlMCpTK/2dsb2JhbACBbtFHhA8Ggz0 X-IronPort-AV: E=Sophos;i="4.38,238,1233550800"; d="scan'208";a="34122361" Received: from 76-10-148-202.dsl.teksavvy.com (HELO pastel.home) ([76.10.148.202]) by ironport2-out.teksavvy.com with ESMTP; 19 Feb 2009 22:43:42 -0500 Received: by pastel.home (Postfix, from userid 20848) id C96744B488; Thu, 19 Feb 2009 22:43:40 -0500 (EST) From: Stefan Monnier To: Xavier Maillard Cc: 2400@debbugs.gnu.org Subject: Re: bug#2400: 23.0.90; shell-mode: garbage in prompt Message-ID: References: <200902200125.n1K1P3HO030089@zogzog.maillard.mobi> Date: Thu, 19 Feb 2009 22:43:40 -0500 In-Reply-To: <200902200125.n1K1P3HO030089@zogzog.maillard.mobi> (Xavier Maillard's message of "Fri, 20 Feb 2009 02:25:03 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit > My prompt is rendered with garbage like this: > ]0;xma@zogzog:~/var/spool/mail]0;xma@zogzog:~/var/spool/mail[xma@zogzog 00:36:00 mail]$ These don't look like color escape sequences. So the problem is most likely in your prompt. Stefan From xma@gnu.org Fri Feb 20 12:26:23 2009 Received: (at 2400) by emacsbugs.donarmstrong.com; 20 Feb 2009 20:26:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mf1.conovae.net (ded1.conovae.com [88.191.52.166]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KKQJPv004844 for <2400@emacsbugs.donarmstrong.com>; Fri, 20 Feb 2009 12:26:20 -0800 Received: by mf1.conovae.net (Postfix, from userid 10) id E6B70261414; Fri, 20 Feb 2009 21:25:19 +0100 (CET) Received: from zogzog.maillard.mobi (IDENT:25@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.3/8.13.8) with ESMTP id n1KCDupp027034; Fri, 20 Feb 2009 13:14:00 +0100 Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.3/8.13.8/Submit) id n1K9P2Oo021328; Fri, 20 Feb 2009 10:25:02 +0100 Date: Fri, 20 Feb 2009 10:25:02 +0100 Message-Id: <200902200925.n1K9P2Oo021328@zogzog.maillard.mobi> From: Xavier Maillard To: Stefan Monnier CC: 2400@debbugs.gnu.org In-reply-to: message from Stefan Monnier on Thu, 19 Feb 2009 22:43:40 -0500 Subject: Re: bug#2400: 23.0.90; shell-mode: garbage in prompt Organization: GNU's Not UNIX! User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr Reply-to: Xavier Maillard References: X-UUCPssh-Information: Please contact the ISP for more information X-UUCPssh: Found to be clean X-UUCPssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-UUCPssh-From: xma@gnu.org > My prompt is rendered with garbage like this: > ]0;xma@zogzog:~/var/spool/mail]0;xma@zogzog:~/var/spool/mail[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 From xma@gnu.org Fri Feb 20 12:26:35 2009 Received: (at 2400) by emacsbugs.donarmstrong.com; 20 Feb 2009 20:26:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mf1.conovae.net (ded1.conovae.com [88.191.52.166]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KKQWi2004852 for <2400@emacsbugs.donarmstrong.com>; Fri, 20 Feb 2009 12:26:33 -0800 Received: by mf1.conovae.net (Postfix, from userid 10) id A0E70261412; Fri, 20 Feb 2009 21:25:19 +0100 (CET) Received: from zogzog.maillard.mobi (IDENT:25@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.3/8.13.8) with ESMTP id n1KCDupn027034; Fri, 20 Feb 2009 13:13:58 +0100 Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.3/8.13.8/Submit) id n1K9P4K6021329; Fri, 20 Feb 2009 10:25:04 +0100 Date: Fri, 20 Feb 2009 10:25:04 +0100 Message-Id: <200902200925.n1K9P4K6021329@zogzog.maillard.mobi> From: Xavier Maillard To: Chong Yidong CC: 2400@debbugs.gnu.org In-reply-to: message from Chong Yidong on Thu, 19 Feb 2009 21:00:26 -0500 Subject: Re: 23.0.90; shell-mode: garbage in prompt Organization: GNU's Not UNIX! User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr Reply-to: Xavier Maillard References: X-UUCPssh-Information: Please contact the ISP for more information X-UUCPssh: Found to be clean X-UUCPssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-UUCPssh-From: xma@gnu.org > My prompt is rendered with garbage like this: > ... > It happens with emacs -Q > > Steps to reproduce: > > M-x shell RET > M-x load-library RET ansi-color RET > M-x ansi-color-for-comint-on RET I can't reproduce this. What is the $PS1 setting for your prompt? And does this bug occur in Emacs 22? It occurs both on Emacs 22 and Emacs 23. As for the PS1 value, see my other post. Regards, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From monnier@IRO.UMontreal.CA Fri Feb 20 13:15:27 2009 Received: (at 2400) by emacsbugs.donarmstrong.com; 20 Feb 2009 21:15:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KLFNES017969 for <2400@emacsbugs.donarmstrong.com>; Fri, 20 Feb 2009 13:15:25 -0800 Received: from alfajor.home (vpn-132-204-232-138.acd.umontreal.ca [132.204.232.138]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n1KLFMWq032065; Fri, 20 Feb 2009 16:15:22 -0500 Received: by alfajor.home (Postfix, from userid 20848) id 59FF2A22DC; Fri, 20 Feb 2009 16:15:22 -0500 (EST) From: Stefan Monnier To: Xavier Maillard Cc: 2400@debbugs.gnu.org Subject: Re: bug#2400: 23.0.90; shell-mode: garbage in prompt Message-ID: References: <200902200925.n1K9P2Oo021328@zogzog.maillard.mobi> Date: Fri, 20 Feb 2009 16:15:22 -0500 In-Reply-To: <200902200925.n1K9P2Oo021328@zogzog.maillard.mobi> (Xavier Maillard's message of "Fri, 20 Feb 2009 10:25:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3216=0 > 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\]\$ That's its value, not its definition. Where do you set it and how? Stefan From rgm@gnu.org Wed Feb 25 00:18:34 2009 Received: (at control) by emacsbugs.donarmstrong.com; 25 Feb 2009 08:18:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1P8IVDq025601 for ; Wed, 25 Feb 2009 00:18:33 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LcEwB-0000wu-MI; Wed, 25 Feb 2009 03:16:15 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18852.65103.317470.250931@fencepost.gnu.org> Date: Wed, 25 Feb 2009 03:16:15 -0500 From: Glenn Morris To: control Subject: control message X-Debbugs-No-Ack: yes tags 2400 moreinfo reassign 686 emacs,w32 close 1349 tags 1575 moreinfo unreproducible close 1581 tags 1691 moreinfo unreproducible From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 16:55:25 2011 Received: (at control) by debbugs.gnu.org; 15 Jul 2011 20:55:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhpPx-0000A8-Id for submit@debbugs.gnu.org; Fri, 15 Jul 2011 16:55:25 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhpPv-00009u-Vn; Fri, 15 Jul 2011 16:55:24 -0400 Received: from localhost ([127.0.0.1]:45234) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhpPq-0007zB-Se; Fri, 15 Jul 2011 16:55:18 -0400 From: Glenn Morris To: 2400-done@debbugs.gnu.org Subject: Re: bug#2400: 23.0.90; shell-mode: garbage in prompt References: <200902200925.n1K9P2Oo021328@zogzog.maillard.mobi> X-Spook: Aladdin bluebird UOP crypto anarchy benelux DRM doctrine X-Ran: "_ZRq{UMX97c.WH';TyJwmhGABi&5R2(@Bb'3*0<3)cskV~J;YXYTg66bDN?]7T{Mm7q,P X-Hue: white X-Attribution: GM Date: Fri, 15 Jul 2011 16:55:18 -0400 In-Reply-To: <200902200925.n1K9P2Oo021328@zogzog.maillard.mobi> (Xavier Maillard's message of "Fri, 20 Feb 2009 10:25:02 +0100") Message-ID: 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: -6.4 (------) X-Debbugs-Envelope-To: control 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: -6.4 (------) tags 2400 notabug stop Xavier Maillard wrote: > 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\]\$ This does more than just set your prompt and colour it. It also sets the xterm title to "user@host: pwd". man console_codes: ESC ] 2 ; txt ST Set window title to txt This is not an ANSI colour escape sequence and so is not handled by ansi-color. It's not appropriate to use such a PS1 setting on something that is not an xterm. For example, it also messes up on the Linux console. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 16:58:16 2011 Received: (at 2400) by debbugs.gnu.org; 15 Jul 2011 20:58:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhpSh-0000F1-FD for submit@debbugs.gnu.org; Fri, 15 Jul 2011 16:58:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhpSg-0000Er-A3 for 2400@debbugs.gnu.org; Fri, 15 Jul 2011 16:58:14 -0400 Received: from localhost ([127.0.0.1]:43380) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhpSb-00086U-6i; Fri, 15 Jul 2011 16:58:09 -0400 From: Glenn Morris To: 2400@debbugs.gnu.org Subject: Re: bug#2400: 23.0.90; shell-mode: garbage in prompt References: <200902200925.n1K9P2Oo021328@zogzog.maillard.mobi> X-Spook: ASLET kilo class SCUD missile $400 million in gold X-Ran: =hmz+AhtU&s&.'"YTN6TTQ3jGEn@RP(qL~i$I\{E8^6&F<_*Pm\YHa^gq~EoZ: (Glenn Morris's message of "Fri, 15 Jul 2011 16:55:18 -0400") Message-ID: <1raacfb6se.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: -6.4 (------) X-Debbugs-Envelope-To: 2400 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: -6.4 (------) Glenn Morris wrote: > ESC ] 2 ; txt ST Set window title to txt I meant to quote: ESC ] 0 ; txt ST Set icon name and window title to txt. which comes from the xterm-specific section of `man console_codes'. From unknown Wed Aug 20 00:03:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 13 Aug 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator