HP3000-L Archives

October 1997, 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:
Reply To:
Date:
Wed, 15 Oct 1997 11:51:06 PST8
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
>Subject: Automating telnet from 3000
>Author:  James Wilkinson <[log in to unmask]> at CCGATE
>Date:    10/14/97 08:29 PM


>I want to write a command file that will telnet to a Unix server and then
>run a script.  I can't figure out how, though.  I tried building a file of
>commands and running Telnet with the file as stdin.  This worked until the
>connection to the remote machine was made.  No input from stdin is read
>again until the connection ends.

>How can I automate things after that point?  Any help would be appreciated.


Go to http://www.telamon.com follow the links to their ftp server, down to the
/dist directory and download a copy of 'remsh.nm.wrq'.  Place it on your HP3K
and also create a duplicate copy, but name it 'rexec'.  You then should be able
to use the 'rexec' program to establish a connection to your Unix server and
execute the desired script.
If you have 'HP BRW/V' on your system do not place 'rexec' in PUB.SYS since the
'HP BRW/V' also has a routine with the same name.

Regards

Paul H. Christidis

ATOM RSS1 RSS2