.Tesch [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 02, 2005 9:22 PM
> To: Thomas, Mark - BLS CTR; John Serink; Rajesh Vattem;
> perl-win32-users@listserv.ActiveState.com
> Subject: RE: Net::Telnet
>
>
> I have had no issues using Net::Telnet on XP Pro that are
> usin
Correct.
> -Original Message-
> From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 02, 2005 8:35 PM
> To: John Serink; Rajesh Vattem;
> perl-win32-users@listserv.ActiveState.com
> Subject: RE: Net::Telnet
>
>
> John wrote:
>
om: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Thomas, Mark - BLS CTR
Sent: Thursday, June 02, 2005 7:35 AM
To: 'John Serink'; Rajesh Vattem;
perl-win32-users@listserv.ActiveState.com
Subject: RE: Net::Telnet
John wrote:
> its does not work on these servers:
> Windows
John wrote:
> its does not work on these servers:
> Windows 2000 Pro,
> Windows XP pro,
> Windows 2000 server pro,
> Windows server 2003.
>
> Reason is, the new windows server uses ANSI codes and you CAN'T turn
> them off like on a UNIX box. These ANSI codes garble up the
> responses to Net::Teln
When Net::Telnet doesn't do what you expect, 99% of the time it's a prompt
issue. Did you set the prompt? The default prompt works with the unix
command line, but you'll have to set it to work with your application.
I highly recommend using the debugging options; they can help you figure out
probl
> Hi,
> I am using this module (Net::Telnet) downloaded from CPAN,
> for a small
> interactive program in which I telnet to a particular host,
> login and give
> some commands (based on the options you get). I am not able
> to do this. I am
> able to login but whatever I do after that doesn't
The Hummingbird telnet works like a normal terminal but is non free. For
scripting a telnet session I would use Expect anyway. For a free telnet
server that is terminal like I would(and do) use Cygwin. U can even use
bash as the shell.
--
REMEMBER THE WORLD TRADE CENTER ---=< WTC 911
[EMAIL PROTECTED] wrote:
And 2-nd question:
how to start fixed program/without params/ on windows98 box
from linux box (on a local network) ?
You can 'use IO::Socket;' on the Windows box to set up a simple server,
and 'use IO::Socket;' on the linux box to send the "start" message to
the server on
[EMAIL PROTECTED] wrote:
> Hi!
> Is there telnet server for windows98
> which works with Net::Telnet ?
> I downloaded some 6 servers
> some of them are not working
> at all,some does't work
> with Net::Telnet
I doubt that - you're doing something wrong in your script or the server
isn't set up ri
Hi Howard,
I have some experience in writing scripts with this excellent module,
some of which have been used on c2500 routers.
Sometimes, I find that setting the terminal length to zero at the start
of the script can help:
@output=$RSession->cmd(String => 'term length 0', Timeout => '3');
(y
Normally, that cmd
would do the trick. Unfortunately, my
script needs to connect to a login without shell access, so I can’t set TERM
that way on the remote (UNIX) box. The
login is given a menu from the start, and it is from that menu that I call the
program that wants to see ‘vt100’.
John,
The problem is outlined in the Net:Telnet documentation. The "loads of
gibberish" is ANSI terminal escape characters. I haven't worked with that
exact telnet application, but some allow you to turn ANSI off and on
http://search.cpan.org/author/JROGERS/Net-Telnet-3.03/lib/Net/Telnet.
> Sent: Thursday, November 28, 2002 12:56 PM
> To: John Serink; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Re: Net::Telnet on Win2K
>
>
> John,
>
> The problem is outlined in the Net:Telnet documentation. The
> "loads of
> gibberish" is ANSI terminal
--8<--
When a TELNET server first accepts a connection, it must use the ASCII
control characters carriage-return and line-feed to start a new line (see
RFC854). A server like the "Microsoft Telnet Server" that doesn't do this,
isn't a TELNET server. These serv
;"show users"');
@jim=$telnet->waitfor('/\>$/');
Its similar for W2K except that Username is login.
> -Original Message-
> From: Thomas R Wyant_III [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 18, 2002 12:20 AM
> To: [EMAIL PROTECTED]
&g
17, 2002 1:22 PM
To: Jitendra Soam; [EMAIL PROTECTED]
Subject: RE: NET::Telnet
The Prompt is a regular expression that matches the
commandline prompt from the remote shell. That means
you'll want to match the prompt for the user you are
logging in as. If I log into one of my remote windows
Before anyone else mentions it - please add the
"use NET::Telnet" in the example.
I told you it was untested. ;-)
Carter.
> -Original Message-
> From: Carter Thompson
> Sent: Tuesday, September 17, 2002 10:22 AM
> To: Jitendra Soam; [EMAIL PROTECTED]
>
---Original Message-
> From: Jitendra Soam [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 17, 2002 7:39 AM
> To: [EMAIL PROTECTED]
> Subject: RE: NET::Telnet
>
>
>
> Thanks.
>
> But the what should be used as prompt?
>
>
>
> -Original
M
Sent by:[EMAIL PROTECTED]
To:<[EMAIL PROTECTED]>
cc:
Subject:RE: NET::Telnet
Thanks.
But the what should be used as prompt?
-Original Message-
From: Thomas R Wyant_III [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 7:01 PM
To: [EMAIL PROTECTED]
Subject: R
> $telnet->cmd("su");
su should require a password so normal users cannot
arbitrarly become root.
I have no familiarity with the Net::Telnet module, but I believe the SU
syntax is
actually 'SU -' to open a shell that you can log into.
TW
On Wed, 11 Apr 2001, John Williams wrote:
> I've had success with the Net::Telnet module. But I can't get the SU
> command to work. It times out waiting
21 matches
Mail list logo