NetBSD-Users archive

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

Re: TTL/USB converter usage question



    Date:        Mon, 14 Oct 2024 10:45:53 +0000 (UTC)
    From:        RVP <rvp%SDF.ORG@localhost>
    Message-ID:  <21383b62-049a-8b04-3c2b-d2d6a342753b%SDF.ORG@localhost>

  | $ stty -f /dev/ttyU0 9600 raw; cat /dev/ttyU0

The terminal device needs to be held open, otherwise when it
closes (when stty exits) all the modes are reset back to
the default for the next open.

Something like

	(stty 9600 raw; cat) </dev/ttyU0

might work, perhaps.

kre



Home | Main Index | Thread Index | Old Index