From owner-freebsd-questions Mon Jun 18 15:34:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pltn13.pbi.net (mta8.pltn13.pbi.net [64.164.98.22]) by hub.freebsd.org (Postfix) with ESMTP id 4E91F37B406 for ; Mon, 18 Jun 2001 15:34:14 -0700 (PDT) (envelope-from mike_makonnen@yahoo.com) Received: from blackbox.pacbell.net ([64.166.86.203]) by mta8.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GF500DN8DD1L7@mta8.pltn13.pbi.net> for freebsd-questions@freebsd.org; Mon, 18 Jun 2001 15:34:13 -0700 (PDT) Received: (from mikem@localhost) by blackbox.pacbell.net (8.11.3/8.11.3) id f5IMcQx15425 for freebsd-questions@freebsd.org; Mon, 18 Jun 2001 15:38:27 -0700 (PDT envelope-from mikem) Date: Mon, 18 Jun 2001 15:38:27 -0700 (PDT) From: mikem Subject: How to automatically pass input to interactive commands To: freebsd-questions@freebsd.org Message-id: <200106182238.f5IMcQx15425@blackbox.pacbell.net> Content-transfer-encoding: 7BIT 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 Hi, I want to be able to run some interactive scripts and programs from a script. How can I do that. For example: the XFree86 port. It requires that you answer some questions before it installs. What I would like is to be able to start a script and walk away from the computer. The script will run make and answer any questions (the answers to the questions will already be somewhere in my script) that the installation script asks. So, when I come back a few hours later XFree86 is compiled and ready to go. I'm sure there must be some answer to this. I just haven't figured it out yet. Thanks, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message