LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2008, 11:51 AM   #1
kashyap88anirudh
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Question 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?
 
Old 03-04-2008, 01:39 PM   #2
0.o
Member
 
Registered: May 2004
Location: Raleigh, NC
Distribution: Debian, Solaris, HP-UX, AIX
Posts: 208

Rep: Reputation: 35
Quote:
Originally Posted by kashyap88anirudh View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script for Minicom sagarverma Linux - Software 0 11-29-2007 12:24 AM
LXer: Speaking Unix, Part 6: Automate, automate, automate! LXer Syndicated Linux News 0 01-04-2007 09:54 AM
Script to automate tasks immortaltechnique Red Hat 2 10-08-2006 10:46 PM
Automate SSH Script Gentoo20 Linux - General 11 03-22-2006 06:21 PM
automate script w/ cron viniosity Linux - Newbie 5 02-02-2005 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration