[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1061121: di-utils-terminfo: should include xterm-256color terminfo entry



Control: tags -1 + patch

On 2024-01-18 19:32 +0100, Sven Joachim wrote:

> Package: di-utils-terminfo
> Version: 1.148
> Control: block 887649 by -1
>
> Please include the xterm-256color in di-utils-terminfo.  AFAICS this is
> a prerequisite for fixing #887649, because vte2.91 sets the TERM
> environment variable to xterm-256color by default[1,2], while the old
> vte package sets TERM=xterm.
>
> In case anyone has unrealistically high hopes: I can send a patch for
> the current bug, but do not volunteer to fix #887649.

A trivial patch is attached, and I have also created a merge request on
Salsa:
https://salsa.debian.org/installer-team/debian-installer-utils/-/merge_requests/9.

Cheers,
       Sven

From 400104fa5f45f4464311ec499716786ab1f4a5df Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenjoac@gmx.de>
Date: Sun, 21 Jan 2024 13:05:17 +0100
Subject: [PATCH] Include the xterm-256color terminfo entry in
 di-utils-terminfo

This is a prerequisite for switching from the old unmaintained vte
package to vte2.91, as the latter sets TERM to xterm-256color by
default.

Closes: #1061121
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index c7278c7..ed9690c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ export DEB_CFLAGS_MAINT_APPEND := -Wall -W -Os -fomit-frame-pointer
 CFLAGS := $(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CFLAGS)
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)

-TERMNAMES = a/ansi d/dumb s/screen x/xterm
+TERMNAMES = a/ansi d/dumb s/screen x/xterm x/xterm-256color

 ifeq ($(DEB_HOST_ARCH_OS),linux)
 TERMNAMES += l/linux
--
2.43.0


Reply to: