set TERM properly (works with ranger and stuff)