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

Re: /dev/ttyUSB0 communication - shell script - Watchport/H



Ron Johnson wrote:
> The problem I see is knowing when new data arrives on /dev/ttyUSB0.
>  There's obviously a solution, since minicom does it, but it might
> involve async interrupt handlers, which would probably require a small C
> program which reads /dev/ttyUSB0 and outputs it to stdout.
> 
> Digging through the source code of /usr/bin/tail to see how it
> implements the "-f" option would also be helpful.

Thank you for your quick answer!
I'm not programmer so I hope that there is ready-to-use program that
does the same as minicom but without interface and able to work in
one-line script :)

Best regards,
Tomek Kruszona


Reply to: