see \ttyname().
