On Tue, 7 Mar 2017 13:18:11 -0500 Sherrod Munday <[email protected]> wrote:
> (That being said, I have successfully used shell scripts in the past > to send commands directly to the serial port while minicom had it > open (this was useful to use a cron job to send a timestamp/keepalive > and telemetry command to a device while using minicom to log the > output), but I was not attempting to read data back out of the serial > port back to the CLI.) I'm fairly routinely ( lately ) reading the port while something else is writing to it. That's tough with something like minicom, but real easy with cat and echo. tail doesn't work directly, but you can do something like cat /dev/ttyS0 >> /tmp/temporary & tail -f /tmp/temporary OTOH, cat will continue showing the character stream until either you stop it, or something else actually closes the port. -- Cowboy http://cowboy.cwf1.com The trouble with heart disease is that the first symptom is often hard to deal with: death. -- Michael Phelps _______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
