Linux, open /dev/modem and communicate ?

From: 127.0.0.1 (newsgroup_at_127.0.0.1)
Date: 11/30/03


Date: Sun, 30 Nov 2003 04:52:09 GMT

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:<0110001100101110011000100111010101110010011010110
11001010100000001100011011100100110000101111010011011100
1100001011100100010111001100011011011110110110100100000>


Relevant Pages

  • Re: Linux, open /dev/modem and communicate ?
    ... > Is there any good examples (the one in the PerlFAQ isn't good) of how to ... > I am trying to write a caller-id logging program in perl, ... > Linux serial port programming is proving more elusive than the Win32 ... emulation for unix perl ...
    (comp.lang.perl)
  • Re: Iyonix freezes
    ... problem (the computer locks up on shutdown if an earlier read/write to ... the serial port failed) and mentioned on the newsgroups at some point, ... There was a problem with Unixlib-based programs like CVS which would ... sometimes sieze the machine in the middle of a serial port session (usually ...
    (comp.sys.acorn.apps)
  • Re: SetRThreshold does not works as expected
    ... I'm not using the "low level" way to read/write ... from serial port, I'm using the "Microsoft Communicatins Control 6.0". ...
    (microsoft.public.vc.mfc)
  • Re: New Linux computer
    ... >> that doesn't include a standard serial port. ... >The last dell inspiron I bought (not then thinking of linux ... >unfortunately) has no serial port and no diskette drive. ... is real secure, cause nobody else can read 'em, and nobody else ...
    (alt.os.linux.suse)
  • Re: Iyonix freezes
    ... problem (the computer locks up on shutdown if an earlier read/write to ... There was a problem with Unixlib-based programs like CVS which would ... sometimes sieze the machine in the middle of a serial port session (usually ...
    (comp.sys.acorn.apps)