From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 05:33:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F8CF16A4CE for ; Wed, 22 Dec 2004 05:33:25 +0000 (GMT) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 175C543D48 for ; Wed, 22 Dec 2004 05:33:25 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) iBM5XMv53719; Tue, 21 Dec 2004 21:33:22 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Alvaro Rosales" , Date: Tue, 21 Dec 2004 21:33:22 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Subject: RE: How to read Serial Port data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 05:33:25 -0000 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: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On 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 > "freebsd-questions-unsubscribe@freebsd.org" >