Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htop not working on ubuntu 18.04 #20

Open
divinity76 opened this issue Mar 6, 2020 · 3 comments
Open

htop not working on ubuntu 18.04 #20

divinity76 opened this issue Mar 6, 2020 · 3 comments

Comments

@divinity76
Copy link
Contributor

divinity76 commented Mar 6, 2020

htop.tar.xz
root@xDevAd:/temp2# tar xf htop.tar.xz 
root@xDevAd:/temp2# ./bin/htop --version
htop 1.0.3 - (C) 2004-2012 Hisham Muhammad
Released under the GNU GPL.

root@xDevAd:/temp2# ./bin/htop
Error opening terminal: xterm-256color.

(could also mention that 1.0.3 is a very old version)

@javier-lopez
Copy link
Member

javier-lopez commented Mar 7, 2020

Could you try:

$ export TERM=xterm; ./bin/htop

Or

$ TERMINFO=/usr/share/terminfo/   ./bin/htop

About the htop version, yep, most of the software provided here is quite old, I expect those requiring newer versions to create and send a PR for it to be merged: https://github.com/minos-org/minos-static/wiki/new-recipes#new-package

@divinity76
Copy link
Contributor Author

didn't help

root@dev2020:/temp2# ./static-get htop
htop.tar.xz
root@dev2020:/temp2# tar xf htop.tar.xz 
root@dev2020:/temp2# ./bin/htop --version
htop 1.0.3 - (C) 2004-2012 Hisham Muhammad
Released under the GNU GPL.

root@dev2020:/temp2# ./bin/htop
Error opening terminal: xterm-256color.
root@dev2020:/temp2# export TERM=xterm; ./bin/htop
Error opening terminal: xterm.
root@dev2020:/temp2# TERMINFO=/usr/share/terminfo/   ./bin/htop
Error opening terminal: xterm.
root@dev2020:/temp2# cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

(btw i spent some time trying to get a static build of htop, but failed.. i think i managed to create a static build of libncurses with unicode-support, but htop ./configure refused to link to it, not sure why)

@divinity76
Copy link
Contributor Author

FWIW it also doesn't work on RHEL7; but this one does: https://github.com/divinity76/static_bin/blob/static_htop/htop-0.6.6-static

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants