Re: script to mimic the cusor movement on a terminer or shell
[email protected] (Jim Yu) Thu, 6 Mar 2003 13:42:07 -0800 (PST)
| Newsgroups | perl.scripts,perl.trainers,perl.module-authors,perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
Thanks! I have to wait the program draw the screen and move the cursor. On "Tera Term", it even highlight the line when I move the cursor. I do not know how does the program work. I guss it used some kind of package. I still did not figure out a way to do it. Danny Faught <[email protected]> wrote: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/expect sequences so that everything is properly synchronized. -- Danny Faught Tejas Software Consulting http://tejasconsulting.com/ --------------------------------- Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more