HP3000-L Archives

December 2004, 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:
Charles Finley <[log in to unmask]>
Reply To:
Charles Finley <[log in to unmask]>
Date:
Thu, 16 Dec 2004 06:09:43 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
There are several ways.  One tool that can help you do it is called CURL. It
was ported to MPE/iX by Ken Hirsch.
http://invent3k.external.hp.com/~MGR.HIRSCH/.  Another way to do it would be
to use JAVA http://www.editcorp.com/Personal/Lars_Appel/JavaDemo/telnet/ as
suggested by Lars Appel.  Even though his example shows it going the other
way (telnetting TO an HP 3000).

Charles Finley
(760) 439-3146

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Nigel Skeet
Sent: Thursday, December 16, 2004 5:52 AM
To: [log in to unmask]
Subject: Running a script within Telnet


Hi fellow listers.

Is it possible to run an input script into telnet so that it runs commands
on a remote system for me ?

What I have is several Unix servers that I wan't to change the access to
on a single file. I can reach the servers from my 3K machine and intended
something like

login > telnetin
pwd   >>telnetin
chmod xxx /tmp/filename >>telnetin
exit >>telnetin

Then from MPE

telnet.arpa.sys systemname < telnetin

Problem is the script stops when telnet hits the remote machine if I
ctrl "]" then it'll process the commands from my indirect file.

Any ideas if this is possible ?

TIA

Nige...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2