Thanks!
It did not work. I guess I have to figure out how the program was programed in order
to automate it using perl.
Dan Muey <[EMAIL PROTECTED]> wrote:Well it depends. Is this script on windows or unix?
I'm thinking unix due to the program name.
Can you do the same thing via the command li
Automating interactive programs take some extra work. Does the program
accept input immediately after it starts, or do you need to wait until
the screen is drawn?
I cut my teeth on this sort of thing using expect/tcl, and it looks like
there are Perl modules that can also let you do sent/expec
Well it depends. Is this script on windows or unix?
I'm thinking unix due to the program name.
Can you do the same thing via the command line?
User~ # echo "\cN\cN\c]]Bc]]Bc]]B\cN\cNc]]B\cN\cZ" | lrp
If not then piping that to them won't work either.
Also if that does work you may save your self
#!/usr/local/bin/perl -w
# I have a program with a several
# screens of menus, which
# needs me to move the cursor to
# make choice, then hit the
# control plus n key to move
# to next screen. I tried to use
# this script to automate
# the process, but it failed.
# What is the problem he