From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karthik Vishwanath Subject: writing a script to simulate keyboard input Date: Thu, 19 Jul 2007 11:48:58 -0400 (EDT) Message-ID: Reply-To: karthikv@Alum.Dartmouth.ORG Mime-Version: 1.0 Return-path: Sender: linux-newbie-owner@vger.kernel.org List-Id: Content-Type: TEXT/PLAIN; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: Newbie List 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