set TERM based on OS