If you see the error message:
Sorry, I don’t know how to deal with your "term" terminal
your terminal may not be listed in the Terminal Information Utilities (terminfo) database that is currently loaded. Make sure you have assigned the correct value to TERM. If the message reappears, try reloading the Terminal Information Utilities.
If this message is displayed:
Sorry, I need to know a more specific terminal type than "unknown"
set and export the TERM variable as described in 8.2.1 Step 1: Set Up the Environment.