LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to automate minicom using script ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-automate-minicom-using-script-625660/)

kashyap88anirudh 03-04-2008 11:51 AM

How to automate minicom using script ?
 
Hi... I want to write a script so that i can run minicom and automate it so that i can store the SMS what i receive into a file. My problem is how to send the AT commands to minicom by invoking it in a script? How will i get the response produced by minicom so that i can use the response string from minicom for processing in that script?

0.o 03-04-2008 01:39 PM

Quote:

Originally Posted by kashyap88anirudh (Post 3077910)
Hi... I want to write a script so that i can run minicom and automate it so that i can store the SMS what i receive into a file. My problem is how to send the AT commands to minicom by invoking it in a script? How will i get the response produced by minicom so that i can use the response string from minicom for processing in that script?

Have a look at expect:

http://www.linux.com/articles/56066


All times are GMT -5. The time now is 06:36 PM.