Date: Mon, 18 Jun 2001 18:51:00 -0400 (EDT) From: Joe Clarke <marcus@marcuscom.com> To: mikem <mike_makonnen@yahoo.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: How to automatically pass input to interactive commands Message-ID: <20010618184852.E45610-100000@shumai.marcuscom.com> In-Reply-To: <200106182238.f5IMcQx15425@blackbox.pacbell.net>
next in thread | previous in thread | raw e-mail | index | archive | help
You could do a make -DDISTRIB all with XFree86-4, or write an expect script to spawn the command, and answer the questions for you. Joe Clarke On Mon, 18 Jun 2001, mikem wrote: > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010618184852.E45610-100000>