[CentOS] scripts with the dialog command

Tue Jul 24 20:07:30 UTC 2007
Jerry Geis <geisj at pagestation.com>

Is there a way to send stdin information to a script that is using
the dialog command?

I tried echo -e "\n\n\n" | scriptname

and this had no effect.

I tried scriptname << EOF



EOF

and that had no effect.

I am looking for a method that calling dialog within a script
will obey stdin.

Anyone have an idea.

Jerry