Mercurial > dropbear
diff svr-chansession.c @ 313:fabcee551349 ucc-axis-hack
fix up newlines for the serial bit
author | matt-ucc@ucc.asn.au |
---|---|
date | Sun, 26 Mar 2006 13:18:30 +0000 |
parents | 24056a5eb75b |
children | 827f87dfbc22 |
line wrap: on
line diff
--- 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);