Subject: Re: bug#11785: 24.1; term-mode doesn't respect first color change from a process

From: Glenn Morris <[email-masked]>
Date: Tue, 26 Jun 2012 16:28:46 -0400

More specifically, this seems to fix your problem.
I haven't checked yet if it has other consequences though:

*** lisp/term.el	2012-06-20 16:21:57 +0000
--- lisp/term.el	2012-06-26 20:26:20 +0000
***************
*** 961,967 ****
    (setq term-ansi-current-reverse nil)
    (setq term-ansi-current-color 0)
    (setq term-ansi-current-invisible nil)
!   (setq term-ansi-face-already-done t)
    (setq term-ansi-current-bg-color 0))
  
  (define-derived-mode term-mode fundamental-mode "Term"
--- 961,967 ----
    (setq term-ansi-current-reverse nil)
    (setq term-ansi-current-color 0)
    (setq term-ansi-current-invisible nil)
!   (setq term-ansi-face-already-done nil)
    (setq term-ansi-current-bg-color 0))
  
  (define-derived-mode term-mode fundamental-mode "Term"