[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Capturing Data from Com Port



Thanks.  I appreciate it.
  === Al


--- David Busby <busby pnts com> wrote:
> You can also use perl
> 
> open(H_COM, "</dev/ttyS0");
> open(H_OUT, "somewhere out");
> while (<H_COM>)
> {
>   print H_OUT;
> }
> 
> 
> ----- Original Message -----
> From: "Cameron Simpson" <cs zip com au>
> To: <redhat-list redhat com>
> Sent: Tuesday, February 25, 2003 21:06
> Subject: Re: Capturing Data from Com Port
> 
> 
> > On 20:23 25 Feb 2003, Al Sparks <data345 yahoo com> wrote:
> > | What programs are out there which will capture data from a PC's com
> > | port, and allow me to redirect it to somewhere else?
> >
> > "cat" ?
> >
> > cat /dev/ttyS0 >>logfile
> >
> > Other less trivial examples no doubt abound.
> > --
> > Cameron Simpson, DoD#743        cs zip com au
> http://www.zip.com.au/~cs/
> >
> > Isaac Asimov once remarked that friends had chided him for not patenting
> the
> > electronic pocket calculator, since he wrote of similar devices back in
> the
> > 1940's.  His reply, "Have you ever noticed I only described what it looked
> > like on the *outside*?" - ijl mediaone net
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]