HP3000-L Archives

November 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John MacLerran <[log in to unmask]>
Reply To:
John MacLerran <[log in to unmask]>
Date:
Wed, 18 Nov 1998 17:17:49 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Hi Listers,

I'm trying to automate a Telnet login from an MPE/iX session, doing
something like this:

telnet  < myfile

Where myfile contains:
    open somehost.somewhere.org
    username
    password
    ls -l
    other unix commands...
    exit

When I do the above, it doesn't work. It stops at the login: prompt on
the remote host. I also can't put the equivalent of the above file in a
job, because Telnet complains that it can't be run from a job (that may
be the way we have our program capabilities set up -- I'll have to talk
to our sys mgr about that). However, it would be preferable to do it
from a command file in a session.

Can anyone enlighten me as to how I could do this?
Thanks!

----------------------------------------------------------------------
  John MacLerran
  IT Systems Analyst                       email:   [log in to unmask]
  Idaho State University                             V(208) 236-2872
  http://www.isu.edu/~macljohn                       F(208) 236-3673
----------------------------------------------------------------------

ATOM RSS1 RSS2