SUMMARY: Programming telnet

From: steif@info.isbiel.ch
Date: Wed Sep 06 1995 - 17:36:10 CDT


Hello Sun-managers!

Did anyone say. the sun-managers-list/newsgroup is dead? I tell you, it
isn't!

Most of the answers I got suggested me to use a tool called "expect" included
in the TCL/TK-package. It's capabilities seem to be very good in programming
interactive sessions.

Others advised me to use perl, which is able to connect to open sockets.

One guy told me that Solaris 2.5 offers a .telnetrc-flie. Thanks, bu I can't
wait for Solaris 2.5/SunOS 5.5.

The best suitable answer for my problem with cisco's came form Rogerio Rocha
<rogerio2bvl.pt>. He suggested me to use the "autocommand"-command on a cisco-
router like this:
        line vty 96
        no login
        rotary 96
        autocommand <command>
        transport input pad telnet
        transport output pad telnet
        telnet transparent
        autoquit
To invoke this, connect to the router like this: "telnet router 3096".

With a little script, I could get the information I needed. Anyway, expect
seems to be that good, so I'd better have a look at it.

Many thanks to:

aclarke@mpc-uk.com
alf3@best.com
amccammo@lehman.com
ca@mine.informatik.uni-kiel.de
Chris.Royle@elmail.co.uk
darrell@teleport.com Special thanks for expect src!
Ed.Dawes@niss.ac.uk
fletch@ain.bls.com
glenn@uniq.com.au
hawortc@gb.swissbank.com
hkatz@panix.com
jeffw@triple-i.com
joshin@sei.com
kevin@uniq.com.au
leclerc@austin.asc.slb.com
lupe@alanya.m.isar.de
mgh@bihobl2.bih.harvard.edu
oyang@mars.fcit.monash.edu.au
pars@sysadmin.sequel.net
rcsmith@csc.com Special thanks for perl src!
rogerio@jessica.bvl.pt
sdeutsch@pcocd2.intel.com
sho@oaktech.com
vleugels@do.isst.fhg.de
walt@caligari.com

----------------------------------------------------------------------
Fritz Steinmann 01 / 743 73 30
MIGROS-GENOSSENSCHAFTS-BUND KIM-TEKO
Gruenaustr. 23 CH-8953 Dietikon
                                                               /\
C=ch; A=arcom; P=migros-mgb; O=mgb; S=steinmann; F=fritz; / \/\
fritz.steinmann@mgb.migros-mgb.inet.ch / CH \
steif@info.isbiel.ch | http://www.isbiel.ch/~steif/privatehome/e.html
----------------------------------------------------------------------
-=|=- UNIX is the answer - what was the question?? -=|=-
----------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:33 CDT