Automatically detect the TERM to use