Htop doesn't work in terminals where $TERM=dumb
Bug #658702 reported by
Spayder26
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
htop (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: htop
I've installed htop 0.8.3-1ubuntu1 from universe repository 'cos is the best gui for ps, kill, and more.
But I've seen that it only works on xterm, and where I launch it on any other terminal emulator it shows:
Error opening terminal: unknown.
And exits with code 1.
I've seen that on maverick all terminal emulators (except xterm) have environment TERM setted to dumb, instead xterm which was its value on prior ubuntu releases.
I've exported TERM to xterm and htop worked. So I think the obvious solution is use an env TERM=xterm htop if TERM is dumb.
To post a comment you must log in.
Confirmed. Running htop with "TERM=dumb" opens htop, but it has nothing but the commands along the bottom screen (no process information). However, my TERM is set to "linux" by default. Will send this upstream to see if anything can be done about the dumb bug, but I think your TERM var is being incorrectly set somewhere else.