From owner-freebsd-questions Wed Apr 11 20:28:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id 686F537B422 for ; Wed, 11 Apr 2001 20:28:40 -0700 (PDT) (envelope-from johnsa@kpi.com.au) Received: from kpi.com.au (localhost.kpi.com.au [127.0.0.1]) by www.kpi.com.au (8.9.3/8.9.3) with ESMTP id NAA27577 for ; Thu, 12 Apr 2001 13:28:06 +1000 (EST) (envelope-from johnsa@kpi.com.au) Message-ID: <3AD520DB.34AC2D03@kpi.com.au> Date: Thu, 12 Apr 2001 13:28:27 +1000 From: Andrew Johns Organization: Deloitte Touche Tohmatsu X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How to:Read directly from serial port to a file Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Issue: I've got a PC attached to a phone system which emits data about the phone lines in use via a serial line at 1200 baud. What I want is to plug the serial cable into the PC and dump the incoming data directly to a file for later analysis by 3rd party software. I have had this working in the past, but the box has been blown away and I cannot seem to get it going again. cu only seems to want to talk interactively. The moment I background the process it stops (tty output), even though I've directed stdout to a file. All help appreciated. System: 3.3-REL Serial ports: 16550a's x 4 Nothing else is relevant - I've had this working before (maybe not with cu?) Thanks -- aj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message