[BNM] Redirecting one Unix serial port to another?

Graeme Sutherland grasuth at presencelabs.com
Wed Apr 2 11:12:30 BST 2008


cat is good.  cat -u is better, as the output is unbuffered.

that said, you are depending on the posts being in the right modes, speeds
etc.

-g


On Wed, Apr 2, 2008 at 10:50 AM, Stephen Ticehurst <sticehurst at jtsr.co.uk>
wrote:

> just off the top of my head, can you redirect one to the other for
> example:
>
> cat /dev/tty.my_bluetooth_serial_port > /dev/tty.my_USB_serial_port
>
>
>
>
> * Tristan Roddis (tristan at roddis.org) wrote:
> > Here's a question for the Unix gurus amongst you: how can I redirect all
> the input from one terminal to another one?
> >
> > I.e. I'd like to get anything that turned up on
> /dev/tty.my_bluetooth_serial_port redirected to /dev/tty.my_USB_serial_port
> >
> > For a bonus point, is there a way so that I could also see what is
> passing between them (e.g. on /dev/tty or by tail-ing a file) ?
> >
> > I'm on  a Mac, if that makes any difference (Darwin, bash, whatnot...)
> >
> > Thanks,
> >
> > -T.
> >
> > --
> > tristan at roddis.org                              http://www.roddis.org
> > _______________________________.oOo._________________________________
> > "Welcome to the free world."                       http://www.fsf.org
> > --
> >
> > BNM Subscribe/Unsubscribe:
> > http://www.brightonnewmedia.org/options/bnmlist
> >
> > Archive Search - http://icanhaz.com/bnmarchive
> >
> > BNM powered by Wessex Networks:
> > http://www.wessexnetworks.com
>
> --
>
> Stephen Ticehurst
> sticehurst at jtsr.co.uk   http://trabant.moleville.co.uk/
>                        http://books.moleville.co.uk/
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> Archive Search - http://icanhaz.com/bnmarchive
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>


More information about the BNMlist mailing list. Powered by Wessex Networks