From owner-freebsd-questions Wed Apr 11 22:44:12 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 43D2B37B423 for ; Wed, 11 Apr 2001 22:44:06 -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 PAA27903; Thu, 12 Apr 2001 15:43:35 +1000 (EST) (envelope-from johnsa@kpi.com.au) Message-ID: <3AD5409C.92894223@kpi.com.au> Date: Thu, 12 Apr 2001 15:43:56 +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: Jonathan Chen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to:Read directly from serial port to a file References: <3AD52F5E.BDED3F1C@kpi.com.au> <20010412165753.A36812@itouchnz.itouch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Perfect!! Jonathan Chen wrote: > On Thu, Apr 12, 2001 at 02:30:22PM +1000, Andrew Johns wrote: > > Apologies for following up my own post. > > > > 2 additional things: > > a) Please CC me (too many subscriptions already) > > b) The command I've been trying is: > > # cu -l /dev/cuaa2 -s 1200 > phonelog > > # > > > > but I get: > > [1] + Suspended (tty output) cu -l /dev/cuaa2 -s 1200 > > Have you tried something like: > > (stty speed 1200; cat) < /dev/cuaa2 > phonelog Again - perfect! (I thought that I simply used cat last time but I missed the stty step - doh!) Thanks very much. -- aj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message