Added set term command to use shell TERM.