From owner-freebsd-questions Thu Jan 27 12: 3:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cwolf.alaska.edu (cwolf.uaa.alaska.edu [137.229.100.202]) by hub.freebsd.org (Postfix) with ESMTP id 9695D14BC4 for ; Thu, 27 Jan 2000 12:03:22 -0800 (PST) (envelope-from axtjr@UAA.ALASKA.EDU) Received: from billyjoetombob ([137.229.114.233]) by UAA.ALASKA.EDU (PMDF V5.2-29 #34509) with ESMTPA id <01JL73MAW4Z48WX1BW@UAA.ALASKA.EDU> for freebsd-questions@freebsd.org; Thu, 27 Jan 2000 11:03:13 -0900 Date: Thu, 27 Jan 2000 10:59:56 -0900 From: Tom Riley Subject: recording Serial Input To: freebsd-questions@freebsd.org Message-id: <001501bf6901$157c88b0$e972e589@billyjoetombob.cts.uaa.alaska.edu> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG All: I'm in the need of a method that will open and record all data coming in via the serial port. In short, how do you read text data from a serial port? I want to pipe the raw text data coming in via the serial port into a file, and then on a nightly (cron job) basis to move that file to a "holding" directory. The data will be coming from a telephone switch that only knows how to pipe records out a serial port (so no scripting ability on that side to do any sort of terminal login). If anyone can provide any pointers on how to do this, I'd greatly appreciate it! Thanks in advance. Tom ********************************************************** * Tom Riley, CNE University of Alaska Anchorage * * Systems Engineer IT Services, Engineering Team * * axtjr@uaa.alaska.edu (907)786-1256 * * ----------------------- * * No life ever grows great until it is focused, * * dedicated, and disciplined. * ********************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message