Subject: Re: bug#3344: eshell environment does not override TERM

From: Bruno Haible <[email-masked]>
Date: Fri, 22 May 2009 04:16:00 +0200

Stefan Monnier wrote:
> Can you try again with the Emacs-23 pretest to confirm that the bug
> is fixed?

Yes, I confirm. In emacs-23.0.91, after M-x eshell,

  - TERM is set to 'dumb' by default. This has the effect that programs
    won't try to use bold writing or colours.

  - If I set TERM=eterm, programs which use the ANSI escape sequences for
    bold writing and colours produce good output. However, programs which
    use the escape sequences from the terminfo database entry for 'eterm'
    (such as 'msgcat') produce suboptimal output (some escape sequences
    are apparently being ignored). Test case:
      $ wget http://translationproject.org/PO-files/de/gettext-runtime-0.17.de.po
      $ msgcat --color=always gettext-runtime-0.17.de.po

Maybe 'eterm' is not the right value for TERM in M-x eshell?

Bruno