GNU bug report logs - #51297
28.0.60; [PATCH] Update termcap/terminfo to indicate 16-color support

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Tue, 19 Oct 2021 23:50:02 UTC

Severity: normal

Tags: moreinfo, patch

Found in version 28.0.60

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: miha <at> kamnitnik.top
Cc: Jim Porter <jporterbugs <at> gmail.com>, 51297 <at> debbugs.gnu.org
Subject: bug#51297: 28.0.60; [PATCH] Update termcap/terminfo to indicate 16-color support
Date: Sat, 30 Oct 2021 08:53:57 -0700
<miha <at> kamnitnik.top> writes:

> That's why I think its best to keep using 'TERM=eterm-color' and simply update
> the terminfo file.  Since all our updates to this file are backwards-compatible,
> there shouldn't be any major problems even if the terminfo database on the ssh
> host isn't up to date.  A problem does arise in the opposite case when the
> terminfo database on the host is up to date but the ssh client is term.el from
> Emacs version 27 or older.  TUI programs will think they can output sequences
> that the older term.el doesn't understand, but I think that term.el handles
> unknown sequences quite gracefully by simply ignoring them.

If they are ignored, I see no problem here.  Someone should perhaps double-check
that this is indeed the case?

> After Emacs-28 is released, we should probably talk to the ncurses maintainer
> about updating the eterm-color terminfo file distributed with the ncurses
> package.  From my understanding, the option I described in the previous
> paragraph is also the proffered way to update terminfo files in the ncurses
> package.

Are there any other terminfo files elsewhere that are worth updating, or
do they generally just base themselves on ncurses?




This bug report was last modified 3 years and 257 days ago.

Previous Next


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