[CentOS] wrapper for "ok" button

Jerry Geis geisj at pagestation.com
Tue Jul 24 12:48:32 UTC 2007

hi all,

is there a way inside a shell script to send key presses to a program
that does not support silent command line arguments???

Example: alsaconf pops up with a screen with info and has OK,
so the user must hit OK, then a screen appears to select the driver,
the default is good so again another "OK", then another prompt about
modifying /etc/modprobe.conf and again I want to accept the default of 

Is there a wrapper that can be put around alsaconf for redirect stdin 
with something
so basically three returns are given to alsaconf????



More information about the CentOS mailing list