From owner-freebsd-questions Sat Aug 12 4:55:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-1.sjc.telocity.net (mail-1.sjc.telocity.net [216.227.56.41]) by hub.freebsd.org (Postfix) with ESMTP id 60FC037BD1A for ; Sat, 12 Aug 2000 04:55:19 -0700 (PDT) (envelope-from otterr@telocity.com) Received: from zoso (dsl-216-227-91-85.telocity.com [216.227.91.85]) by mail-1.sjc.telocity.net (8.9.3/8.9.3) with SMTP id EAA21085; Sat, 12 Aug 2000 04:54:04 -0700 (PDT) From: "Otter" To: "De la Cruz Lugo Eric" , Subject: RE: Serial communication related question. Date: Sat, 12 Aug 2000 07:57:06 -0400 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.2416 (9.0.2911.0) In-reply-to: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of De > la Cruz Lugo > Eric > Sent: Friday, August 11, 2000 1:33 PM > To: freebsd-questions@FreeBSD.ORG > Subject: Serial communication related question. > > > A friend of mine ask me for information about programs or > code in Unix > that let him send plain text to a serial port /dev/ttyS0 for example > and read plain text also from that port and save it into a > text file. > > this can be done with a Shell script?, o a small c program? > he is working right now on FreeBSD 4.0, there is any port > he shoul use? > > thanks in advance for your help! > > Eric De La Cruz Lugo > Merida, Yucatan, Mexico, The MayaLand. > I got one of the guys at work to try out expect (/usr/ports/lang/expect). He was able to send plain text to the serial port, but I'm not sure how receiving would work. IIRC, the expect in ports is an older version and there is a newer version available for a fee, with more features. -Otter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message