Quote:
Originally Posted by brianinmaine
- - - -
I don't see where htop calls or uses the terminfo file. TERM is set to xterm, is there a better one?
So much to learn here! Any help, please?
|
Ah, a true case of hidden magic.
If the software is using it, it may well be 'hidden' from view (linked in statically).
Apps that recognize 'TERM' are using that setting as an index into the terminfo file (which is a sort of database).
That 'tells' the application what character sequences your terminal (or terminal emulator) 'speaks'.
I think KTerm defaults to 'xterm' and htop needs to send those character sequences.
Very, very "old school" - it has been around nearly as long as *nix.
So old, that I may have some of the above details wrong.
But the above is the general sense of what is happening.
- - - - -
'xterm' is probably correct, but there may be a 'linux' index also - you might try that.
(I think they are the same, or nearly so.)