On Tue, Jan 20, 2009 at 08:15:04PM +0100, Lothar Behrens wrote: [...]
> I currently do not use any GUI for it, so mplayer may only killed > with any usefull signal to pause. > Then how to restart it again. Assuming you can detect when an incoming call arrives, the following should be helpful: A generic way to control terminal programs, that were not designed with remote control in mind, is to use GNU Screen [1]. Start your program like this: $ screen -dmS SOME_NAME COMMAND_TO_RUN Now you can send input to the program by "stuffing" input to screen: $ screen -S SOME_NAME -X stuff INPUT_TO_RUNNING_PROGRAM It is also possible to interact directly with the running program by "attaching" to the screen session: $ screen -S SOME_NAME -r Detach with <C-a>-d. [...] [1] http://www.gnu.org/software/screen -- HTH Thor _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

