GNU bug report logs - #29583
25.2.50; Allow setting a custom TERM for comint

Previous Next

Package: emacs;

Reported by: Allen Li <vianchielfaura <at> gmail.com>

Date: Tue, 5 Dec 2017 20:41:01 UTC

Severity: wishlist

Tags: fixed

Found in version 25.2.50

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Allen Li <vianchielfaura <at> gmail.com>
Cc: 29583 <at> debbugs.gnu.org
Subject: bug#29583: [PATCH] 25.2.50; Allow setting a custom TERM for comint
Date: Tue, 12 Dec 2017 10:16:10 +0100
Allen Li <vianchielfaura <at> gmail.com> writes:

Hi Allen,

> +@vindex comint-terminfo-terminal
> +Emacs sets the @code{TERM} environment variable to a safe value, but
> +this value may not reflect the full features of comint.  For example,
> +color is disabled for some applications that use @code{TERM} to
> +determine if color is supported.  On systems that use terminfo, you
> +can configure @code{comint-terminfo-terminal} to a terminal that is
> +present in your system's terminfo database.

You might mention that some applications will override this. For
example, Tramp will always use `tramp-terminal-type' (which is
"dumb"). This is because Tramp will run into problems if color is enabled.

Btw, environment variables in the Emacs manual are emphazised as @env{TERM}.

Best regards, Michael.




This bug report was last modified 6 years and 354 days ago.

Previous Next


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