What kind of program are you trying to write?  If it's a C
program then forget it - you should know how to do this
simple of a task before attempting to write this.

I suggest you do some digging on the Internet and look for some
Perl modules that control the serial port for you, and write
the program in Perl.  Examples abound already, just use a search
engine.

Ted

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Alvaro Rosales
> Sent: Tuesday, December 21, 2004 1:44 PM
> To: freebsd-questions@freebsd.org
> Subject: How to read Serial Port data
> 
> 
> Hi guys, 
> I am trying to write a program to control my Alcatel telephonic
> central, this device has a  serial interfase that can be connected to
> a computer serial port, I want to read all the data that the alcatel
> device is sendind to my serial port
> Can you tell me how can I redirect all the data that comes trough my
> serial port to a file in FreeBSD?.
> thanks in advance
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to