Control: tags -1 + moreinfo
Hello Richard and thanks for this bug report. The st-256color terminfo
file is installed by the ncurses-term package, which is a dependency of
stterm:
$ dpkg -L ncurses-term|grep st-256color
/usr/share/terminfo/s/st-256color
so it should really be there.
Did perhaps the problem happen running htop on a remote system (via ssh)
while using the st terminal? In this case the problem is that the
terminfo file is missing on the remote system (missing or outdated
terminfo package).
Forcing TERM=xterm-256color is a workaround that may work, but it's not
a proper solution to be shipped by default, as the two terminfo entries
do differ.
Paride
richard wrote on 26/02/2021:
Package: stterm
Version: 0.8.2-1
Severity: important
Dear Maintainer,
With st, i ran
$ htop
Error opening terminal: st-256color.
$
but after I added
[ $TERM = st-256color ] && export TERM=xterm-256color
to my bashrc, htop worked
perhaps a change the default TERM value in config.def.h would be good?
thanks
-- System Information:
Debian Release: 10.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-14-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages stterm depends on:
ii libc6 2.28-10
ii libfontconfig1 2.13.1-2
ii libfreetype6 2.9.1-3+deb10u2
ii libx11-6 2:1.6.7-1+deb10u1
ii libxft2 2.3.2-2
ii ncurses-term 6.1+20181013-2+deb10u2
stterm recommends no packages.
stterm suggests no packages.
-- no debconf information