Expect is a program that performs programmed dialogue with other
interactive programs. It is briefly described by its man page,
It uses pseudo-tty's to control the child processes, so it is not
affected by programs that refuse to read from stdin or pipes. (eg:
This is a development version from CVS code at SourceForge.