If the terminal database file entry named in A_TERM or TERM does not describe the terminal you will use, you probably will
not want to change the value of TERM, because other software may rely on that value. Instead, take these two steps:
Locate the terminal database file entry that correctly describes your terminal, or create a new one and give it a new name.
See The Terminal Database File for details.