look getenv for know the terminal type