By Mikhail Zakharov, Sergey Mironov and others, see README.old
With empty you can run applications under pseudo-terminal (PTY) sessions and replace TCL/Expect with a simple tool under your favorite shell (sh, bash, csh, tcsh, ksh, zsh, etc).
This is a clone of original emtpy tool located at SourceForge. The fork contains several bugfixes and improvements.
To build the program, do the following.
$ make $ sudo make install
empty [-d] -f [-i fifo1 -o fifo2] [-p file.pid] [-L file] command [command args] empty [-d] -w [-Sv] [-t n] [-i fifo2 -o fifo1] key1 [answer1] ... [keyX answerX] empty [-d] -s [-Sc] [-o fifo1] [request] empty [-d] -r [-b size] [-t n] [-i fifo1] empty [-d] -l empty [-d] -k [pid] [signal] empty -h
Codebase is quite messy so they probably exist. Fortunately, this is an one-file application so fixing it should be easy job. Patches are always welcome.
Sergey Mironov email@example.com