# HG changeset patch # User matt-ucc@ucc.asn.au # Date 1143379110 0 # Node ID fabcee5513498e438d3c5aa7193c49eef2b38f2c # Parent 24056a5eb75b7f7abe4094985e01e7f56da99c5d fix up newlines for the serial bit diff -r 24056a5eb75b -r fabcee551349 svr-chansession.c --- a/svr-chansession.c Sun Mar 26 13:05:31 2006 +0000 +++ b/svr-chansession.c Sun Mar 26 13:18:30 2006 +0000 @@ -674,7 +674,9 @@ options.c_cflag &= ~CSIZE; options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG); + options.c_iflag |= (INPCK | ISTRIP); + options.c_iflag |= INLCR; tcsetattr(serial_fd, TCSANOW, &options);