top 'xterm': unknown terminal type

command, linux, redhat, shell, terminfo

Solution

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

Problem

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?

Original source