NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: TTL/USB converter usage question
On Mon, 14 Oct 2024, Ramiro Aceves wrote:
I read somewhere that I could get same behaviour with this commands this way:
netbsd-raspa4$ stty -f /dev/ttyU0 9600
netbsd-raspa4$ cat /dev/ttyU0
But I do get nothing from the cat command.
Put that tty into char-at-a-time mode; otherwise, cat doesn't get anything
until a) either a '\n' in input is encountered, or b) 255 chars. are read.
$ stty -f /dev/ttyU0 9600 raw; cat /dev/ttyU0
-RVP
Home |
Main Index |
Thread Index |
Old Index