Linux, open /dev/modem and communicate ?

1

127.0.0.1

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
 
B

Bill

127.0.0.1 said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top