specs: ttyname can contain 'pts' rather than 'tty'