From: Benway <benway@purestrike.net>
To: karthikv@Alum.Dartmouth.ORG, Newbie List <linux-newbie@vger.kernel.org>
Subject: Re: writing a script to simulate keyboard input
Date: Sat, 21 Jul 2007 00:35:06 +0100 [thread overview]
Message-ID: <46A146AA.4060706@purestrike.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0707191142490.11409@localhost>
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
prev parent reply other threads:[~2007-07-20 23:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 15:48 writing a script to simulate keyboard input Karthik Vishwanath
2007-07-19 22:39 ` Eric Bambach
2007-07-19 23:56 ` Mateus Interciso
2007-07-20 23:35 ` Benway [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46A146AA.4060706@purestrike.net \
--to=benway@purestrike.net \
--cc=karthikv@Alum.Dartmouth.ORG \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox