I had recently asked for help on telneting from one unix box to another. With your
help; I'm pleased to say I can now telnet from solaris to an AIX machine. I've also
learned that the backslash does not work (in this case) to tell perl that the ! is not
a special character. I had to concatenate
on the program line
$t= new Net::Telnet (Timeout=>10; Prompt => '/bash\$ $/');
What is the Prompt portion mean? I think it's saying look for a bash$ prompt minus the
$. I don't know. Please explain.
Also, how would I set up the Prompt command to have the system look for the prompt
ftp>
My o
I'm trying to set up Net::Telnet so I may or may not have done it correctly. It also
gave an example program that I tried, but I got an error.
Example program:
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10, Prompt => '/bash\$ $/');
$t->open ("sparky");
$t->login($username, $passwd);
@
I'm trying to telnet from a solaris 2.7 machine to an AIX 4.3 machine. I am using a
perl program to do this. After the first command, the screen just sorta hangs there,
until I type control C. Any insight?
The first command is displayed and I assume goes through, but nothing happens unless I
p