‘xterm’: unknown terminal type.

Question:

Enter the top command on Linux and report an error of ‘xterm’: unknown terminal type

Solution:

1. Copy the good/usr/share/terminfo to your own server

2. The value of terminfo environment variable is not set in the direction of export. Just set the path of terminfo variable to terminfo, such as terminfo =/usr/share/terminfo. You can execute the following command, or write the command to the profile

exportTERMINFO=/usr/share/terminfo

Over

Similar Posts: