Bug#983578: stterm: defaul variable for TERM didn't appear to work by default
I still can't reproduce the issue. Can you do so on a fresh Debian system? I am prone to think that there's something off on the system where you're hitting it, otherwise we'd be seeing many more bug reports about it.
Bug#983578: stterm: defaul variable for TERM didn't appear to work by default
Package: stterm Version: 0.8.4-1 Followup-For: Bug #983578 X-Debbugs-Cc: arfisna...@mailnesia.com Dear Maintainer, Oops, forgot to mention that it happens locally, and not remotely via something like ssh. Thanks Kernel: Linux 5.10.0-8-amd64 (SMP w/1 CPU thread) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages stterm depends on: ii libc6 2.31-13 ii libfontconfig1 2.13.1-4.2 ii libx11-62:1.7.2-1 ii libxft2 2.3.2-2 ii ncurses-term6.2+20201114-2 stterm recommends no packages. stterm suggests no packages.
Bug#983578: stterm: defaul variable for TERM didn't appear to work by default
Package: stterm Version: 0.8.4-1 Followup-For: Bug #983578 X-Debbugs-Cc: arfisna...@mailnesia.com Dear Maintainer, Makes sense that it's not proper solution and thank you for your feedback. Using st and dash I got the following. $ dpkg -L ncurses-term|grep st-256color /usr/share/terminfo/s/st-256color $ TERM="st-256color" $ htop Error opening terminal: st-256color. $ top 'st-256color': unknown terminal type. $ man --version man 2.9.4 $ -- System Information: Debian Release: 11.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/1 CPU thread) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages stterm depends on: ii libc6 2.31-13 ii libfontconfig1 2.13.1-4.2 ii libx11-62:1.7.2-1 ii libxft2 2.3.2-2 ii ncurses-term6.2+20201114-2 stterm recommends no packages. stterm suggests no packages.
Bug#983578: stterm: defaul variable for TERM didn't appear to work by default
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 libfreetype62.9.1-3+deb10u2 ii libx11-62:1.6.7-1+deb10u1 ii libxft2 2.3.2-2 ii ncurses-term6.1+20181013-2+deb10u2 stterm recommends no packages. stterm suggests no packages. -- no debconf information
Bug#983578: stterm: defaul variable for TERM didn't appear to work by default
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 libfreetype62.9.1-3+deb10u2 ii libx11-62:1.6.7-1+deb10u1 ii libxft2 2.3.2-2 ii ncurses-term6.1+20181013-2+deb10u2 stterm recommends no packages. stterm suggests no packages. -- no debconf information