echo and tty issue

Philip Yao philipyyao at
Sun Nov 18 20:43:23 UTC 2018

I am trying to echo like so:

echo -ne “hello” > try.mydevice

and I believe I have the correct baud rate settings. I can screen into my
tty device just fine and everything works on a Linux computer.

I found some old stackexchange post mention some problem with echo and
macports, so I’m just making sure.


On Sun, Nov 18, 2018 at 3:33 PM Dave Horsfall <dave at> wrote:

> On Sun, 18 Nov 2018, Pierre Malard wrote:
> > A simple Shell question: just send standard output to this TTY like
> > that:echo toto > /dev/<TTY> where <TTY> is the serial device used.
> And you'll need to configure the tty port for speed etc, of course, and
> that's where it starts to get tricky.
> It would be helpful if the original problem was stated more fully, but
> that has little to do with MacPorts.
> -- Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list