[plug] send keystrokes to console program on execution line

Adrian Chadd adrian at creative.net.au
Mon Aug 1 19:30:49 WST 2011


Google "expect" ?


Adrian

On Mon, Aug 01, 2011, Shanon Loughton wrote:
> HI everyone
> 
> Id like to run a simple terminal program and supply the keystrokes needed to
> kick it along, all in one line. Specifically its GLmark (
> http://sourceforge.net/projects/glmark/) (I know, out of date...)
> and it needs something like this wrt keystrokes after running from its
> directory:
> 
> $ ./glmark [enter]
> 400 [enter]
> 300 [enter]
> 16 [enter]
> 1 [enter]
> 
> cheers
> Shanon

> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://lists.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au


-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $24/pm+GST entry-level VPSes w/ capped bandwidth charges available in WA -



More information about the plug mailing list