From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,916f26fde39726fd,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-29 19:03:49 PST Newsgroups: comp.unix.osf.osf1 From: jka@exocet.demon.co.uk (Justyn K Attwool) Path: bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!uknet!pipex!demon!exocet.demon.co.uk!jka Subject: OSF/1 Telnet script.. Distribution: world Organization: Myorganisation Reply-To: jka@exocet.demon.co.uk X-Newsreader: Newswin Alpha 0.6 Date: Wed, 30 Nov 1994 01:09:19 +0000 Message-ID: <825427025wnr@exocet.demon.co.uk> Sender: usenet@demon.co.uk From an OSF/1 system I'm trying to script a telnet session to a network device, execute some commands and tee the output to a file. I've tried a couple of simple methods, but OSF just keeps terminating telnet as soon as the connection is made. Does anyone have any suggestions ? Thanks for any help.. Justyn ////////////////////////////\////////////////////////////////////\////////////// |Justyn K Attwool \/ Me ? I'm just a lawn mower \/ | |__| | / |jka@exocet.demon.co.uk \/ you can tell by the way I walk. \/ | "" | / +---------------------------\/-----------------------------------\/------------/