🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.perl.misc
Article #90

Re: terminal Emulator

#90
From: Cameron Laird
Date: Mon, 10 Sep 2001 12:45
38 lines
2523 bytes
In article <3B9C6AA5.D583FFAD@earthlink.net>,
Benjamin Goldberg  <goldbb2@earthlink.net> wrote:
>Doyle Rivers wrote:
>> 
>> Does anyone know of an existing perl terminal emulator program?
>> I would like to be able to connect to a server via telnet and run
>> various scripts, however the Net::Telnet module is not sufficient for
>> my needs.
>> 
>> Anyway, if you know of a perl terminal emulator out there please let
>> me know, it will save me a lot of time having to figure out how to
>> write one myself.
>
>Look into the following modules, available from CPAN:
>Ptty
>IO::Pty, IO::Tty
>
>And things which use these:
>Expect
>IPC::Run
>
>I'm sure one of these will do what you want.
>Probably you'll want to use Expect and spawn the "telnet" program.
			.
			.
			.
Expect is indeed wonderful.

How does Net::Telnet fail you?

The Jeffs write on exactly this question in their columns on
Expect for Perl at <URL:
http://search.cpg.com/query.html?col=&ht=0&qp=&qs=&qc=&pw=100%25&ws=0&la=&qm=1&si=0&rf=1&qm=1&ct=1914607132 >
-- 

Cameron Laird <claird@NeoSoft.com>
Business:  http://www.Phaseit.net
Personal:  http://starbase.neosoft.com/~claird/home.html
Technical Details
Message-ID: <BC7AE6928DCF59F5.57848A323E969D77.F2E16F1D5B3A4CEE@lp.airnews.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!cyclone.nyroc.rr.com!news-east.rr.com!news-west.rr.com!news.airnews.net!cabal10.airnews.net!cabal1.airnews.net!news-f.iadfw.net!starbase.neosoft.com!not-for-mail
References: <3b9c4273.5544943@news.cableone.net> <3B9C6AA5.D583FFAD@earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f72c1,c8867ee45da77de
X-Google-Attributes: gidf72c1,public
X-Google-Thread: fa0ae,c8867ee45da77de
X-Google-Attributes: gidfa0ae,public
X-Google-Thread: f4705,c8867ee45da77de
X-Google-Attributes: gidf4705,public
X-Google-ArrivalTime: 2001-09-10 05:32:14 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!cyclone.nyroc.rr.com!news-east.rr.com!news-west.rr.com!news.airnews.net!cabal10.airnews.net!cabal1.airnews.net!news-f.iadfw.net!starbase.neosoft.com!not-for-mail
From: claird@starbase.neosoft.com (Cameron Laird)
Newsgroups: comp.lang.perl.misc,comp.lang.perl.tk,cz.comp.lang.perl
Subject: Re: terminal Emulator
Date: 10 Sep 2001 07:45:33 -0500
Organization: Unknown
Lines: 38
Message-ID: <BC7AE6928DCF59F5.57848A323E969D77.F2E16F1D5B3A4CEE@lp.airnews.net>
X-Orig-Message-ID: <9nicld$1gsc$1@starbase.neosoft.com>
References: <3b9c4273.5544943@news.cableone.net> <3B9C6AA5.D583FFAD@earthlink.net>
Abuse-Reports-To: abuse at airmail.net to report improper postings
NNTP-Proxy-Relay: library2.airnews.net
NNTP-Posting-Time: Mon Sep 10 07:31:35 2001
NNTP-Posting-Host: !a,FI1k-WhIC;9o (Encoded at Airnews!)