Linux, open /dev/modem and communicate ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 127.0.0.1

    Linux, open /dev/modem and communicate ?

    Is there any good examples (the one in the PerlFAQ isn't good) of how to
    open up a /dev/ttyXX standard serial port, set the speed, then
    read/write to/from it then close it ?

    I am trying to write a caller-id logging program in perl, but so far
    Linux serial port programming is proving more elusive than the Win32
    stuff I have already got working.

    Thanks

    --
    Spam:newsgroup( at)craznar.com@ verisign-sux-klj.com
    EMail:<01100011 001011100110001 001110101011100 10011010110
    110010101000000 011000110111001 001100001011110 10011011100
    110000101110010 001011100110001 101101111011011 0100100000>
  • Bill

    #2
    Re: Linux, open /dev/modem and communicate ?

    127.0.0.1 <newsgroup@127. 0.0.1> wrote in message news:<MPG.1a341 46f5de5972a9897 56@news-server.qld.bigp ond.net.au>...[color=blue]
    > Is there any good examples (the one in the PerlFAQ isn't good) of how to
    > open up a /dev/ttyXX standard serial port, set the speed, then
    > read/write to/from it then close it ?
    >
    > I am trying to write a caller-id logging program in perl, but so far
    > Linux serial port programming is proving more elusive than the Win32
    > stuff I have already got working.
    >
    > Thanks[/color]

    install Device::SerialP ort from cpan, provides intel style serial port
    emulation for unix perl

    Comment

    Working...