GNU bug report logs - #70691
30.0.50; [PATCH] Eshell's TERM env varible use eshell-term-name as default

Previous Next

Package: emacs;

Reported by: Lin Sun <sunlin7.mail <at> gmail.com>

Date: Wed, 1 May 2024 06:42:02 UTC

Severity: normal

Tags: notabug, patch, wontfix

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lin Sun <sunlin7.mail <at> gmail.com>
To: 70691 <at> debbugs.gnu.org
Subject: bug#70691: 30.0.50; [PATCH] Eshell's TERM env varible use eshell-term-name as default
Date: Wed, 1 May 2024 06:40:25 +0000
[Message part 1 (text/plain, inline)]
Hi,

Since emacs-29 the Eshell has been enhanced for the ansi-color a lot.
And the function `eshell-exec-visual` can support the executables with
colors, eg VIM, tmux...
I have tested the "/bin/ls --color=tty", "/bin/grep --color=tty" ...
and other executables in Eshell with "export TERM=eshell-color", they
all work great.

So we can safely export eshell's "TERM" with `eshell-term-name` to
support executables with colors.
I attached the patch, please help review it. Thanks.
[0001-Eshell-s-TERM-env-varible-use-eshell-term-name-as-de.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 18 days ago.

Previous Next


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