470,591 Members | 1,446 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

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)cr*********@verisign-sux-klj.com
EMail:<0110001100101110011000100111010101110010011 010110
11001010100000001100011011100100110000101111010011 011100
11000010111001000101110011000110110111101101101001 00000>
Jul 19 '05 #1
1 3048
127.0.0.1 <ne*******@127.0.0.1> wrote in message news:<MP************************@news-server.qld.bigpond.net.au>...
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
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Math55 | last post: by
2 posts views Thread by Simon T. | last post: by
2 posts views Thread by findyasir | last post: by
1 post views Thread by mm | last post: by
7 posts views Thread by cj | last post: by
1 post views Thread by rada.lambretha | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.