>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