I have an error when run TOP command:
>top
'xterm': unknown terminal type.
> echo $TERM
xterm
> echo $DISPLAY
DYSPLAY: Undefined variable.
> cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
> ls /usr/share/terminfo/
1 2 3 4 5 6 7 8 9 a A b c d e E f g h i j k l L m M n N o p P q Q r s t u v w x X z
> ls /usr/share/terminfo/x/xterm
/usr/share/terminfo/x/xterm
i have that problem also with Root.
does TOP use xterm?
How can i do?
try adding
export TERM=linux
at the end of your .bashrc files (/home/myuser/.bashrc, /root/.bashrc). The problem is that the terminal definition 'xterm' is undefined
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With