LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   start two programs at the same time. (https://www.linuxquestions.org/questions/programming-9/start-two-programs-at-the-same-time-395365/)

bigearsbilly 12-28-2005 04:15 AM

Brian1, you should describe what you are trying to achieve, NOT
how you think it should be done ;)

what is slmodem? why does it need a ctrl-C? have you looked at the
documentation to see if it can run without input?

It sounds like you should have slmodem running from the boot scripts
then you can just start kppp anytime. If it's a daemon then this
is the way it's done..

Is there a /etc/init.d/slmodem* script to start and stop it?




(google: "threads considered harmful" )

Brian1 01-01-2006 03:36 PM

Been away for a while. From what I know slmodemd is, it is a program that creates an interface from a type of winmodem to a /dev/ttySL0. Now the way it works is from a terminal session run the command ' slmodemd --alsa '. This is the output of running the command.

[root@lcomp58 crusher58]# slmodemd --alsa
SmartLink Soft Modem: version 2.9.10 Dec 14 2005 20:41:22
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
modem `modem:1' created. TTY is `/dev/pts/3'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

As you can see to stop it one must hit ctrl-c to stop it. Now no other commnad can run in this session till ctrl-c is pressed. Use of & or && has no effect. If this was put in a startup script it would cause that script to halt to slmodemd is killed.

Again thank you for all your time and help. Still working on python langauge.
Brian


All times are GMT -5. The time now is 11:14 AM.