GNU bug report logs - #11785
24.1; term-mode doesn't respect first color change from a process

Previous Next

Package: emacs;

Reported by: Michael Hoffman <b3i4old02 <at> sneakemail.com>

Date: Tue, 26 Jun 2012 01:03:01 UTC

Severity: normal

Tags: patch

Merged with 5355

Found in versions 23.2, 23.3, 23.4, 24.1

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 11785 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Michael Hoffman <b3i4old02 <at> sneakemail.com>
Cc: 11785 <at> debbugs.gnu.org
Subject: Re: bug#11785: 24.1;
	term-mode doesn't respect first color change from a process
Date: Tue, 26 Jun 2012 03:34:34 -0400
Michael Hoffman wrote:

> $ 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).

The issue first appears in 23.2. Removing the call to term-ansi-reset in
term-mode brings back the red.




This bug report was last modified 12 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.