Linux, open /dev/modem and communicate ?

Discussion in 'Perl' started by 127.0.0.1, Nov 30, 2003.

  1. 127.0.0.1

    127.0.0.1 Guest

    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)
    EMail:<0110001100101110011000100111010101110010011010110
    11001010100000001100011011100100110000101111010011011100
    1100001011100100010111001100011011011110110110100100000>
     
    127.0.0.1, Nov 30, 2003
    #1
    1. Advertising

  2. 127.0.0.1

    Bill Guest

    127.0.0.1 <newsgroup@127.0.0.1> wrote in message news:<>...
    > 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


    install Device::SerialPort from cpan, provides intel style serial port
    emulation for unix perl
     
    Bill, Dec 1, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. pcouas
    Replies:
    4
    Views:
    1,361
    pcouas
    Dec 7, 2006
  2. Mahesh Acharya
    Replies:
    0
    Views:
    399
    Mahesh Acharya
    Sep 29, 2008
  3. sp
    Replies:
    1
    Views:
    831
    Steven Cheng [MSFT]
    Aug 28, 2008
  4. Guest
    Replies:
    2
    Views:
    152
    Bob Barrows [MVP]
    Sep 18, 2005
  5. Michele Dondi
    Replies:
    1
    Views:
    144
    Anno Siegel
    Feb 22, 2004
Loading...

Share This Page