Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 15:43:56 +1000
From:      Andrew Johns <johnsa@kpi.com.au>
To:        Jonathan Chen <jonathan.chen@itouch.co.nz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to:Read directly from serial port to a file
Message-ID:  <3AD5409C.92894223@kpi.com.au>
References:  <3AD52F5E.BDED3F1C@kpi.com.au> <20010412165753.A36812@itouchnz.itouch>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AD5409C.92894223>