Added an option to force pseudo-TTY allocation