From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benway Subject: Re: writing a script to simulate keyboard input Date: Sat, 21 Jul 2007 00:35:06 +0100 Message-ID: <46A146AA.4060706@purestrike.net> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-newbie-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: karthikv@Alum.Dartmouth.ORG, Newbie List Karthik Vishwanath wrote: > Hello, > > I have to use an archaic, menu-driven C program that requires keyboard > input to process commands (all of these commands are terminated by a > newline) > > I was wondering if there was any way I could use the program within a > script so that I could have the script "feed" in the sequence of > keystrokes/string-inputs that I must otherwise type in manually? > > As ever, all help/advice is appreciated. > > > Thanks, > > -K > > - > To unsubscribe from this list: send the line "unsubscribe > linux-newbie" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net Expect - http://expect.nist.gov/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs