GNU bug report logs - #3344
eshell environment does not override TERM

Previous Next

Package: emacs;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Thu, 21 May 2009 20:20:03 UTC

Severity: normal

Merged with 3345

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 3344 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 3344 <at> debbugs.gnu.org, johnw <at> gnu.org
Subject: Re: bug#3344: eshell environment does not override TERM
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




This bug report was last modified 15 years and 103 days ago.

Previous Next


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