From owner-freebsd-questions Sun Apr 25 9:15:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from moon.fgh.net (pppa-nb01.MVnet.de [194.25.108.129]) by hub.freebsd.org (Postfix) with ESMTP id 1BB5814C2E for ; Sun, 25 Apr 1999 09:15:09 -0700 (PDT) (envelope-from matthias@gmx.de) Received: from moon.fgh.net (localhost [127.0.0.1]) by moon.fgh.net (8.8.7/8.8.7) with ESMTP id OAA11872; Sun, 25 Apr 1999 14:53:39 +0200 (MET DST) (envelope-from mtg@gmx.de) From: Matthias Teege Message-Id: <199904251253.OAA11872@moon.fgh.net> To: Justin Cc: questions@FreeBSD.ORG Subject: Re: help please :) In-reply-to: Your message of "Sun, 25 Apr 1999 20:23:25 +1000." <199904251023.UAA14906@warp-9.net> Reply-To: Matthias Teege Date: Sun, 25 Apr 1999 14:53:38 +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199904251023.UAA14906@warp-9.net> you write: > hey... can someone please help me.. > i'm trying to make some sort of shell script.. > and i was wondering how i can do this.... > i need a script to telnet to localhost 6667 > then send the telnet command "pass aaa" > then "server woteva.com" > so i need it to do the equivelent of me typing > telnet localhost 6667 > pass aaa > server woteva.com > can anyone please give me some methods of how this is done.. > thanks heaps :) > justin Take a look at /usr/ports/lang/expect Matthias To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message