I'm talking about using scripts in the tradition of clients like Telemate,
Telix, ZOC. Where the script rests on the client side, and it is used to
interact with the remote session.
Here is an example Perl script from SecureCRT's website..
# $language = "PerlScript"
# $interface = "1.0"
# A simple login script using Perlscript.
# Enable error warnings
#
use Win32::OLE;
Win32::OLE->Option(Warn => 3);
$true = 1;
$false = 0;
# Enable synchronous mode to avoid missed output while doing
# Send/WaitForString sequences.
#
$crt->Screen->{'Synchronous'} = $true;
$crt->Screen->WaitForString("login: ")
$crt->Screen->Send("myname\015");
$crt->Screen->WaitForString("assword:");
$passwd = $crt->Dialog->Prompt("enter your password:", "Password", "",
$true);
$crt->Screen->Send($passwd . "\015");
$crt->Screen->{'Synchronous'} = $false;
- Original Message -
From: "Dave Storrs" <[EMAIL PROTECTED]>
To: "A. Rivera" <[EMAIL PROTECTED]>
Cc: "Perl 6 Beginners list" <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 12:23 PM
Subject: Re: SecureCRT + Perl
>
> Um...not sure what you're asking for here. I use SecureCRT all the time
> (using it right now, in fact), and I do in fact write Perl while securely
> telnetted into various machines. What do you want to do?
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]