From owner-freebsd-java Thu Sep 7 7: 2: 8 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp3.jaring.my (smtp3.jaring.my [192.228.128.46]) by hub.freebsd.org (Postfix) with ESMTP id 3A63537B424 for ; Thu, 7 Sep 2000 07:02:06 -0700 (PDT) Received: from yappology.pl.jaring.my (j72.sgw48.jaring.my [161.142.193.86]) by smtp3.jaring.my (8.10.1/8.10.1) with ESMTP id e87E1tL26773; Thu, 7 Sep 2000 22:01:56 +0800 (MYT) Message-Id: <4.3.1.2.20000907221810.00b38100@pop2.jaring.my> X-Sender: yapbros@pop2.jaring.my X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 07 Sep 2000 22:21:18 +0800 To: "Koster, K.J." From: ych Subject: RE: Reading data feed from serial port Cc: "'FreeBSD Java mailing list'" In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7854@l04.research.kpn. com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Yes I'm trying to do this using Java. I've managed to dial from /dev/cuaa0 to the data feed using ppp. But do not know what to do next. ych At 01:28 PM 9/7/00 +0100, Koster, K.J. wrote: >Hello, > > > > > How can I read data feed that's coming in through the serial > > port? Can I open a stream to /dev/something and proceed to read > > from the stream? > > >"man sio" The serial ports are /dev/cuaa0 for COM1, /dev/cuaa1 for COM2. Are >you trying to do this in Java, or in some other programming language? > > Kees Jan > >================================================= > TV is the worst of both worlds. It's not as > good at words as radio is because the pictures > are a distraction which demand attention, and > it's not as good as cinema because the pictures > are not nearly as good. > Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message