From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076335021390.tru64-unix-managers.marc@archive.invalid> From: Mak Andrew Date: Fri, 12 Jul 1996 14:56:00 +0000 To: tru64-unix-managers Subject: Telnet to DECserver 90TL X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076335021390 Hello all, Just wonder there is anyone who succeed in telnet to a DECserver 90TL in a script. When ftp in a script, I can use a here document to include all the commands I want to issue to the remote machine. But telnet to a machine does not get pass the initial stage, anyone get any idea? The script below is what I use to try to telnet #!/bin/ksh telnet TERMINAL_SERVER << EOF access broadcast po 1 "Hello" lo EOF and I get the following result Connected to TERMINAL_SERVER Escape character is '^]'. Connection closed by foreign host. It seems that I have connected to the server but somehow it fails to go further. Any idea please email to me directly on Andrew.Mak@MIS.SYDNEY.nestleau.nestle.com and I will summarise. Thank you in advance. Andrew Mak