On Sun, 23 Mar 2014 20:32:07 EDT erik quanstrom <quans...@quanstro.net> wrote: > > > i think it is even easier to set the state up properly with cpurc or > > > consolefs' configuration file, and have the various programs not even > > > care that they're talking to a serial port. > > > > Not my experience. Occasionally programs do have to care about > > some serial port parameters and if such a program crashes you > > have a partially working interface. Think CTS/RTS state etc. > > doesn't sound like the common case. in any event, seems like a > program fiddling with CTS/RTS should do the whole setup, especially > if it plans on crashing. :-)
The issue is program A can leave things in non-working order and program B running after A has to deal with this. This is no different from bringing up a system in a known good state.