-3

When I use cat < /dev/ttyS0 and data is received, it doesn't display on the terminal that I typed the command into but instead gets sent back to to ttyS0 where it came from. How can I make it not do that?

1 Answer 1

1

It's not sent back but echoed, try

stty -echo </dev/ttyS0
cat </dev/ttyS0

and echo should be suppressed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.