Oops. Sorry for duplicate email. I didn't get it in my inbox. Ryan Ryan Raasch wrote: > When setting the serial terminal before starting the daemon, this will > prevent the overwriting of settings. > > Ryan > > --- > gatchat/gattty.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/gatchat/gattty.c b/gatchat/gattty.c > index 63d26d4..ed0fadf 100644 > --- a/gatchat/gattty.c > +++ b/gatchat/gattty.c > @@ -220,6 +220,7 @@ static int open_device(const char *tty, GHashTable *options) > if (fd < 0) > return -1; > > + tcgetattr(fd,&ti); > tcflush(fd, TCIOFLUSH); > tcsetattr(fd, TCSANOW, &ti); >