LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to get complete ctrl over system call? (https://www.linuxquestions.org/questions/programming-9/how-to-get-complete-ctrl-over-system-call-278712/)

sudha naidu 01-17-2005 12:00 AM

how to get complete ctrl over system call?
 
hello!

can anyone throw some light on how to tranfer files through serial port from front end of the application?
i used to tranfer files to the simputer from my native system through serial port using minicom...
these r the steps i do:
$minicom -o
simputer#cd /root/sqlite
simputer#ctrl + a+ z
select the file.....

now i need to create a front end(screen with send files button),catch the signal when button clicked and in callback funtion i need to code on transfering files to the simputer...i tried system call,fork and pthreads(where again i use system call in thread function), but i couldnt get complete control over minicom to execute cd/root/sqlite

regards,
sudha


All times are GMT -5. The time now is 07:20 PM.