From owner-freebsd-questions Thu Sep 20 19:27:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ideal.net.au (ion.ideal.net.au [203.20.241.5]) by hub.freebsd.org (Postfix) with ESMTP id ACDBD37B41B for ; Thu, 20 Sep 2001 19:27:24 -0700 (PDT) Received: from magnesium (vanadium.staff.ideal.net.au [202.3.35.23]) by mail.ideal.net.au (8.9.3/8.9.3) with SMTP id MAA09384 for ; Fri, 21 Sep 2001 12:27:17 +1000 (EST) (envelope-from matthew.blacklow@ticca.com) Reply-To: From: "Matthew Blacklow" To: Subject: Using Expect Date: Fri, 21 Sep 2001 12:27:17 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <15274.37911.12376.314019@guru.mired.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am currently trying to write an expect script however I am having difficulty trying to get the spawned program to take commands from the script. If anyone out there knows how to do it or has an example fully working script that spawns a program and then gives it input please reply. Thanks, Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message