On Wed, Apr 04, 2018 at 02:58:20AM +0000, Olivier Burelli wrote:
> should i use cat /dev/DEVICE >> file.txt ?

Considering the sketch you posted, you should have no problem using
cu(1), which is in base:

# cu -9600 -l/dev/cuaU0

To quit, type '~.' (tilde + dot). For more info about other escape
signals and what else is possible, please refer to the manual page: 

$ man cu

Cheers,

-- 
db

Reply via email to