*BSD News Article 36564


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!engr.uark.edu!news.ualr.edu!quapaw.astate.edu!quapaw.astate.edu!mgrommet
From: mgrommet@quapaw.astate.edu (Michael Grommet)
Newsgroups: comp.unix.bsd
Subject: how do I reroute input into telnet?
Date: 4 Oct 1994 17:24:08 -0500
Organization: Arkansas State University
Lines: 23
Message-ID: <mgrommet.781309302@quapaw.astate.edu>
NNTP-Posting-Host: quapaw.astate.edu


Is it possible to reroute the input to telnet from a file
that you might think of as a script file?

If not, where can I get "fairly easy to compile" source for Ultrix
that I could modify to do this?

I have tried using redirection from my shell

telnet < file > outfile

where file had something like this
open
129.86.140.6
username
password
quit


and it opened the connection alright but it then died right after by just
disconnecting... any ideas?