On 12/18/07, Ryan <[EMAIL PROTECTED]> wrote: > I want to control a terminal program that is proprietary and Curses > and such won't work. So instead I'd like to have my perl program > output chars to the keyboard or mouse port on my UNIX machine, which > will be plugged into a Windows machine with the terminal. Will this > work? How can I do it?
It sounds as if you want to have a Windows machine that's running some proprietary program, and another machine that is the "user" of that program, typing on the keyboard and maybe even clicking the mouse from time to time. Is that it? It almost certainly _possible_ to do something like this. But it's not a small project, and it requires more than a little clever hardware and software. Furthermore, unless your program can always predict what's going to happen, you'll need some way to interpret whatever the proprietary program puts on the screen, and that's a bit of a big project all by itself. What proprietary program are you trying to control? A setup like this could be used for many purposes, not all of them honorable. For example, you could try to discover a product registration code by brute force, or try to cheat in an online game. If you're doing something that should be permitted, there may be an easier way to do it. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/