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 *