FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 08-03-2010, 08:15 PM
"Timothy Legg"
Default How do I automate standard input for interactive shell programs?


I was bored. I was playing the worm game from bsdutils and through the
tedium of it all, a thought passed through my mind. "Hey, this can be
automated. By following a repetitive procedure, I can win the game - any
time, every time!" It also occured to me that computers are very well
suited for following repetitive steps, so I thought I would go about
coding a solution.

I believe that having solonoid operated cursor keys is a bit overbuilt,
clunky and is too much like a Goldberg machine for my taste. So I am
looking for suggestions on how I can emulate a user at standard input
pressing the cursor keys.

Any suggestions?

Tim Legg

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4ab41df7687798da0f3cfef40ae5ad92.squirrel@www.timo thylegg.com">http://lists.debian.org/4ab41df7687798da0f3cfef40ae5ad92.squirrel@www.timo thylegg.com

Thread Tools

All times are GMT. The time now is 05:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org