RE: script to mimic the cusor movement on a terminer or shell

2003-03-07 Thread Jim Yu
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

Re: script to mimic the cusor movement on a terminer or shell

2003-03-05 Thread Danny Faught
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

RE: script to mimic the cusor movement on a terminer or shell

2003-03-03 Thread Dan Muey
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

script to mimic the cusor movement on a terminer or shell

2003-03-01 Thread Jim Yu
#!/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