Contrary to other suggestions, what is probably needed is something
like:
cat -u file - | prog
Here the -u causes the output of cat to be unbuffered so that there
is some chance of getting suitable prompts from `prog'.
Alan Whitney
{decvax,uw-beaver,fluke}!microsoft!alanw