FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data?

2008-02-14 Thread Martin McCormick
I wrote a C program several years ago that works and logs output from a telephone switch to a file and runs in FreeBSD4.x. I just opened /dev/ttyd0 for reading and it has run for up to 1,000 days at a time, but it also has issues as one might expect. It can be killed if

Re: FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data?

2008-02-14 Thread Derek Ragona
At 11:55 AM 2/14/2008, Martin McCormick wrote: I wrote a C program several years ago that works and logs output from a telephone switch to a file and runs in FreeBSD4.x. I just opened /dev/ttyd0 for reading and it has run for up to 1,000 days at a time, but it also has issues as

Re: FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data?

2008-02-14 Thread Warren Block
On Thu, 14 Feb 2008, Martin McCormick wrote: I wrote a C program several years ago that works and logs output from a telephone switch to a file and runs in FreeBSD4.x. ... Many thanks for any good advice about stty or anything else that will allow one to use standard devices

Re: FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data?

2008-02-14 Thread Martin McCormick
Warren Block writes: Depending on the switch, you may find that the /usr/ports/comms utilities atslog or cdr_read will do the work for you. Derek Ragona writes: You still need to handle when the cord is unplugged, or put the server in a secure location away from other people. If you want the