On Sun, 23 Mar 2014 17:53:22 EDT erik quanstrom <quans...@quanstro.net> wrote:
> > A similar idea here would be to have a "default" command to
> > for default settings. When a device is opened, it is
> > initialized with these settings. The reason I like this is
> > because then I don't need to teach every serial IO program
> > what setting to use (often the other end is a dumb device
> > requiring its own fixed and peculiar settings).
> 
> 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.

Reply via email to