This is the standard Unix environment variable for the current terminal type. A-Shell queries this variable to determine which driver to use. If it matches one of the internal drivers, it uses the internal driver; otherwise it uses the generic curses interface. You can confirm that A-Shell recognizes your TERM type by executing SET TERM. If it shows the terminal type as GENERIC, then it doesn't recognize your TERM type.