SecureCRT + Perl

2001-11-08 Thread A. Rivera

Has anyone tried to use SecureCRT with Perl?  If so, any examples scripts
that interact with a shell, etc.?

Much appreciated,
A.Rivera



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: SecureCRT + Perl

2001-11-09 Thread Dave Storrs


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?

Dave


 On Thu, 8 Nov 2001, A. Rivera wrote:

> Has anyone tried to use SecureCRT with Perl?  If so, any examples scripts
> that interact with a shell, etc.?
>
> Much appreciated,
> A.Rivera
>
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: SecureCRT + Perl

2001-11-09 Thread A. Rivera

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]




Re: SecureCRT + Perl

2001-11-09 Thread Dave Storrs


Ah.  Ok, now I understand.

Sorry, no experience with such things.

Dave


On Fri, 9 Nov 2001, A. Rivera wrote:

> 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..
[snip]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]