Scripting minicom possible?
Does anyone know if it is possible to script interaction with minicom and if yes, how?
I would like to write some small script to solve the voicemail notification problem for me. That script would then run as a cron job, or launchDaemon (running every 5 or 10 minutes). It should work like this:
- check if there is a SMS on the SIM card
- compare it to the last one saved (e.g. to /tmp)
- if different, use erica's doAlert to show a popup and save the SMS to /tmp
Quick and easy, but the only part missing is the polling of the SIM card for new SMS messages. I know this can be done through minicom and /dev/tty.debug, but as I am not a C or objC programmer, I cannot just use the code from inside for example aSMS and modify it to my wishes...
Any advise or help is welcome!