From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Hoffman Newsgroups: gmane.emacs.bugs Subject: bug#11785: 24.1; term-mode doesn't respect first color change from a process Date: Mon, 25 Jun 2012 17:37:18 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1340672369 9205 80.91.229.3 (26 Jun 2012 00:59:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 00:59:29 +0000 (UTC) To: 11785@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 02:59:28 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SjK7b-0007Wc-3M for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 02:59:28 +0200 Original-Received: from localhost ([::1]:50069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjK7Z-0002wi-Tc for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jun 2012 20:59:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjK7W-0002wP-EO for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2012 20:59:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjK7U-0007Aq-MX for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2012 20:59:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjK7U-0007Af-Gm for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2012 20:59:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SjKBJ-0002QN-Rp for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2012 21:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Hoffman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jun 2012 01:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13406725519280 (code B ref -1); Tue, 26 Jun 2012 01:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jun 2012 01:02:31 +0000 Original-Received: from localhost ([127.0.0.1]:57936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SjKAo-0002Pc-9k for submit@debbugs.gnu.org; Mon, 25 Jun 2012 21:02:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36777) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SjJqk-0001wu-Tp for submit@debbugs.gnu.org; Mon, 25 Jun 2012 20:41:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjJmt-0002ca-7g for submit@debbugs.gnu.org; Mon, 25 Jun 2012 20:37:48 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:59253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjJmt-0002cV-1l for submit@debbugs.gnu.org; Mon, 25 Jun 2012 20:37:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjJmr-0001ov-9N for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2012 20:37:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjJmo-0002c1-HX for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2012 20:37:44 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:35058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjJmo-0002bY-7n for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2012 20:37:42 -0400 Original-Received: by pbbrp2 with SMTP id rp2so7945252pbb.0 for ; Mon, 25 Jun 2012 17:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=azFKzs1seC9tBokRwZHVMlCD21EB18JOEiATzZSpgbA=; b=arvGeCXBO4PKGrbvykROb58JXfAOddJPXERllgYxjI/J3t3/Uw+hnYKsPLspd09SzG j9GyZ4eHZThrgIxuoFTird4LFSyahDkqTpnPUWz+dH56FtSMvBp6uS9sj+DdUvGXoUkx nn5BnFR42eUh44GiNxn3eea5PZyM1fG4wn74WTeD18wv8pwRlsvoboZ51Dut50VRgH4c C+U/mu8I+9tu1CNz8URFmx+j+uEKgYCUsen25hMQDVDYz3DGD4Q0vzDpXshbshsHQWph 0s0Hn5sKqjbDRUyP22oBnCsKmP/fwKpq/KkA5AZ2/e3tOp8YrCjIGfluRVBFp2fFBAVh D4JA== Original-Received: by 10.68.219.162 with SMTP id pp2mr45528088pbc.85.1340671059011; Mon, 25 Jun 2012 17:37:39 -0700 (PDT) Original-Received: by 10.142.231.5 with HTTP; Mon, 25 Jun 2012 17:37:18 -0700 (PDT) X-Google-Sender-Auth: Ec4VgSWkweRI9b4ydnThvqoVwYU X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 25 Jun 2012 21:02:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61288 Archived-At: A small test file will demonstrate this problem: $ cat test.sh #!/usr/bin/env bash echo -e "\E[31mRed \E[32mGreen" When running this, I expect to get "Red" in red and "Green" in green. Running `emacs -Q --eval '(ansi-term "./test.sh")' with Emacs 24 results in "Red" in black (not red as expected) and "Green" in green. Doing this with Emacs 23.1 results in the expected behavior ("Red" in red). In GNU Emacs 24.1.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2012-06-21 on rhel5-x64.grid.gs.washington.edu Windowing system distributor `The X.Org Foundation', version 11.0.70101000 Configured using: `configure '--without-gif' '--with-x' '--with-x-toolkit=gtk' '--prefix=/net/gs/vol3/software/modules-sw/emacs/24.1/Linux/RHEL5/x86_64'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: en_US value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t Major mode: Lisp Interaction 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 font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)