On Tue, 27 Jun 2000, Michael B. wrote:
> I set it up to use "autoexec.bat" so that I can run the
> whole deal in batch.
[...]
> Everything works except for one problem.
> When this program is finished it insists that a user
> interactively press the "Enter" key before it will clean
> up and go away properly.
Try 'keystroke' -- You'll find information on this under "Running a
DOS-application directly from Unix shell" in the README.
If this doesn't work then its probably because your application clears the
keyboard buffer at various points. If that is the case then you could try
using a stream but only send the <ENTER> key stroke after a certain period
of time -- have a separate process which sleeps and then sends the
command.
Alistair