From: Cyber L. <cl...@ww...> - 2000-03-01 15:36:52
|
Let me retract that last statment.. I just tried it up here at work and it did not work for be but it does work at home.. I am looking into it.. On Wed, 1 Mar 2000, Bruce Winter wrote: > > > Ok for example mpg123 uses a -R arg to put it into command mode. > > Once there sending > > data to STDIN such as > > > > LOAD song.mp3 > > PLAY > > PAUSE > > etc. > > > > will controle the mpg123 player. reading STDOUT it will tell you > > what it is doing. > > Sorry for the delay on getting back to you on this one. I just downloaded > and installed mpg123-0.59r.tar.gz from http://www.mpg123.de/ but it does not > seem to have the -R option. > > I did code up a simple test case to show how you can write to a programs > STDIN, then read from its STDOUT. You can pick up the the mh code and a > simple test driver it calls at: > > http://misterhouse.net/public/test_open2.pl > > http://misterhouse.net/public/test_open2_driver > > The danger to this approach is if you write something to the program, then > do the read to get something back and nothing comes back, mh will hang, > waiting for input. > > If you get these working with your mpg123, be sure to let me know! > > Bruce > > > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > |