Slashdot Mirror


Telecommunication Scripting Languages?

ronzo asks: "I need to write some scripts/programs that call out to a site (modem), login in, send or receive files using kermit or xmodem. Previously I have done this using a language called db/c and did it all through standard in/out. I want to use a open source solution, because this needs to run on a linux box. I've started looking at perl, but the input/keyin type commands seem a little limiting. Any suggestions or ideas? " I thought some kermit clients had a scripting language that you could use to implement something like this. Althogh this IS possible in Perl, I KNOW something to do this exists so writing something to do this from scratch would more than likely be a waste of time.

1 of 7 comments (clear)

  1. Perl's the way to go... by Vrallis · · Score: 2

    I wrote some software a couple years ago using USR voice modems (it was a public number, call up, choose a number from the menu, and have some weather data for one of our stations read back to you). It was done in perl, with out own simple module for doing basic handling. If you don't want to try your hand at it yourself, I'm sure there are several modules out there for it (several have suggested Expect.pm so far).

    That program was done in a total of about 150 lines for the main portion of it, and another 100-150 lines in our communications module.

    I've moved on, and haven't called it in over a year, but if you are ever in the Corpus Christi, TX area, try it out--it should be at (512) 992-WIND (Windinfo, service of the Conrad Blucher Institute for Surveying Science, Division of Nearshore Research).