*BSD News Article 89882


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!newsbreeder.radio.cz!news.radio.cz!CESspool!news.maxwell.syr.edu!news.mathworks.com!howland.erols.net!newsfeed.internetmci.com!news.wwa.com!news.ucdavis.edu!trefoil.bogs.org!greg
From: greg@trefoil.bogs.org (Greg Shenaut)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: automated telnet?
Date: 23 Feb 1997 04:34:39 GMT
Organization: BOGS Research Group
Lines: 15
Message-ID: <5eohcv$o4h$1@mark.ucdavis.edu>
References: <330E4EF3.6615@monad.net>
Reply-To: gkshenaut@ucdavis.edu
NNTP-Posting-Host: bogslab.ucdavis.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6074

Paul Venezia (pvenezia@monad.net) wrote:

:  I'm trying to figure out the best way of automating a telnet session to
: log into a router and get certain data. I believe that expect is the
: best way to accomplish this, but the man page is a bit long-winded. Does
: anyone have an example application of expect?
: --
: Paul Venezia - MonadNet System Administrator
: pvenezia@monad.net
: http://www.monad.net

The expect distribution has a heap of examples; plus, I recommend
the O'Reilly book on expect--I think it's called "Exploring Expect".

-Greg