Expect is tool to automate interaction with an application providing a CLI (Command Line Interface). perl-IO-Stty is an optional dependency.