RE: NET::Telnet

2002-09-17 Thread Thomas R Wyant_III
Jitranda, I gave up trying to figure out what to use as a prompt for Net::Telnet when connecting to Windows' telnet server. Maybe someone out there will enlighten us both. Tom Jitendra Soam [EMAIL PROTECTED]@listserv.ActiveState.com on 09/17/2002 10:38:52 AM Sent by:[EMAIL PROTECTED]

Re: Using Pack and Unpack

2002-09-17 Thread Thomas R Wyant_III
Paul Flint [EMAIL PROTECTED] wrote: I'm getting incorrect results from recipe 8.8 in the Perl Cookbook. I'm building an index of offset positions for lines in a file (3 MB), which I'm supposed to be able to use to access any line in that file. I use Code A to build the index. (taken from

RE: NET::Telnet

2002-09-17 Thread Carter Thompson
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 machines through a telnet server and I see I have a prompt like so, C:/ I'll

Re: Win32::OLE MS Word

2002-09-17 Thread work
This will insert text at the beginning of a document. use strict; use warnings; use Win32::OLE; my $oWord = new Win32::OLE(Word.Application); my $clBlue = 16711680; my $clGreen = 32768; my $oDoc = $oWord-Documents-Add(); $oWord-Selection-TypeParagraph; $oWord-Selection-Font-{Size} = 14;

FW: NET::Telnet

2002-09-17 Thread Moulder, Glen
Carter, what you're saying may work on Unix systems, but after 2 weeks of hair-pulling last year, I gave up trying to use Net::Telnet on legacy Univac and Dec systems. The module just couldn't handle the odd terminal emulation escape sequences that were being fed to it (especially on the

RE: NET::Telnet

2002-09-17 Thread Carter Thompson
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] Subject: RE: NET::Telnet

RE: NET::Telnet

2002-09-17 Thread Story, Lenny
Greetings, I too had alot of trouble getting Net::Telnet to work properly, it seemed to continuously stop for no apparent reason, with very poor performance. As well as not being able to make it non-block on win32. I had to eventually write a direct TCP client to get a proper level of

Installing Libwww-perl on ASPerl 5.6.1 Build 633 with PPM3

2002-09-17 Thread Cutts III, James H.
I have had considerable trouble installing libwww-perl on my AS Perl 5.6.1 Build 633 on WinNT 4.0. I had been having some strange configuration problems with Perl, so I completely uninstalled AS Perl 5.6.1 Build 62x and installed AS Perl 5.6.1 Build 633. The installation went well and

FW: NET::Telnet

2002-09-17 Thread Moulder, Glen
Mark, you'd probably win that bet. I just searched back through my notes of the time (what did I do before I got my PDA?) and can't find any mention of having changed the term type. I remember sending a couple of SOSes to the list and don't recall that being in any of the suggested

RE: Using Pack and Unpack

2002-09-17 Thread Warkentin, Brad
Thomas R Wyant_III [mailto:[EMAIL PROTECTED]] postulates: Paul Flint [EMAIL PROTECTED] wrote: I'm getting incorrect results from recipe 8.8 in the Perl Cookbook. I'm building an index of offset positions for lines in a file (3 MB), which I'm supposed to be able to use to access any

RE: Installing Libwww-perl on ASPerl 5.6.1 Build 633 with PPM3

2002-09-17 Thread Magnus Hjorleifsson Jr
Title: RE: Installing Libwww-perl on ASPerl 5.6.1 Build 633 with PPM3 I am using ppm version 2.1.5 and it works just fine with Perl 5.6.1 Build 633 have you tried doing a verify --upgrade libwww-perl from the ppm prompt? -Original Message- From: Cutts III, James H. [mailto:[EMAIL

RE: Using Pack and Unpack

2002-09-17 Thread Thomas R Wyant_III
Warkentin, Brad [EMAIL PROTECTED] wrote: Thomas R Wyant_III [mailto:[EMAIL PROTECTED]] postulates: snip! / Because of the text mode translation, DOSish perls have limitations in using seek and tell on a file accessed in text mode. True, however I thought the limitation was that you

RE: :Telnet

2002-09-17 Thread John Serink
Yes, it works fine. -Original Message- From: Jitendra Soam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 9:00 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: NET::Telnet Is it possible to use Net::Telnet module to telnet into Windows machine running

RE: NET::Telnet

2002-09-17 Thread John Serink
First, if you are telnetting from a non Windoze PC, you must turn off NTLM authentication on the host. This works on an NT box: use Net::Telnet; use strict; use warnings; my $telnet = new Net::Telnet ( Timeout=10, Errmode='die'); my @jim=; my $frank=; $telnet-open('192.168.174.108');

Read list of servers from a file???

2002-09-17 Thread Doherty, Steve
Hello perl gurus, I have a Perl script that I use to search for files of type *.mdb. I can currently search only 1 machine at a time. I need to search the entire network though. I have another script that generates a list of all servers on the network (120 +/-). I have tried

Re: Using Pack and Unpack

2002-09-17 Thread Carl Jolley
On Tue, 17 Sep 2002, Paul Flint wrote: I'm getting incorrect results from recipe 8.8 in the Perl Cookbook. I'm building an index of offset positions for lines in a file (3 MB), which I'm supposed to be able to use to access any line in that file. I use Code A to build the index. (taken

Re: perldoc fickleness

2002-09-17 Thread James E Keenan
On Tue, 17 Sep 2002 13:56:23 +1000, Sisyphus [EMAIL PROTECTED] wrote with regard to: Re: perldoc fickleness: And now that I've read the sysopen documentation, I've decided it's cleaner to remove the O_EXCL than it is to unlink. Works fine, also. I'm now left wondering how come this is not

Re: Using Pack and Unpack

2002-09-17 Thread Paul Flint
Carl Jolley [EMAIL PROTECTED] wrote: Two problems, when the index file is created, the file needs to be opened for output, instead of: open (I, index.idx); you need: open (I, index.idx) || die can\'t open output file index.idx; Oops. Of course, you are right. Second problem: The perl

Re: perldoc fickleness

2002-09-17 Thread $Bill Luebkert
Sisyphus wrote: It finally all made sense - when I grasped the basics of what's happening. When I run 'perldoc' it comes up one page at a time with 'more' - and once I've got to the bit I want to read, I then kill it with Ctrl-C. Try typing 'q' instead. When I do that the temporary

Re: perldoc fickleness

2002-09-17 Thread Sisyphus
- Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: Sisyphus [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 1:45 PM Subject: Re: perldoc fickleness Sisyphus wrote: It finally all made sense - when I grasped the basics of what's happening.