[BNM] Redirecting one Unix serial port to another?

Tristan Roddis tristan at roddis.org
Wed Apr 2 10:41:39 BST 2008


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


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