Lee Revell wrote: > On 7/24/07, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote: >> Why does something like this not work? >> echo -e "\n\n\n" | alsaconf >> >> This seems to be basic piping data into a program. >> How do I get 3 "returns" into alsaconf (as an example) >> so the program accepts 3 default values and exists. >> >> seems like that should work. > > Some apps don't read from standard in this way, apparently alsaconf is > such an app. > > Can't you just edit alsaconf? It's a Perl script IIRC... > > Leed > > Is it possible to request a change to alsaconf? Simply add an option for "accept defaults" or "autoconfig". The purpose is to not present the user with any questions just accept the default as if the user hit enter. Again, I have already "configured" the driver for the hardware I want - nice config command line so no questions are asked. Then running alsaconf needs that same kind of command line option to just accept all the defaults and do its normal thing. Is that possible to add? I looked at alsaconf and yes I can change it. however, I when then next version of alsa comes out I dont want something that I did in a "special" script to no longer work. I would think others would find that useful also. Jerry ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user