|P is for Practical|
Attempting to open and pass info to MS Telnetby giricredwolf (Acolyte)
|on Aug 07, 2004 at 22:09 UTC||Need Help??|
giricredwolf has asked for the
wisdom of the Perl Monks concerning the following question:
First, please forgive a lack of technical terms. I'm very new to some of this.
I'm trying to write a perl program on WindowsXP that opens Telnet (telnet.exe) in a write-to mode. It then passes the phrase "set localecho" and an "enter" to set localecho on. Then it passes "open discworld.atuin.net" to open my favorite MUD. THen I want the program to exit while Telnet continues to run in another command prompt window.
Here's what I have so far:
All I can find this does so far is that it opens Telnet. I'm not sure what I'm doing wrong or if I should use Win32::Process stuff. What I really want to do is change the default settings for TelNet, but I can't find a file that it pulls settings from. I'm just trying to find a way to get around typing in "set localecho" every time I run the thing.