sconsole

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 52fa041ff7a3836cdb148fccbfd0cb01c1d6b0c6
parent ed15a97ae2d034f3683e3a51802ee31520967e7c
Author: Greg Hackmann <ghackmann@google.com>
Date:   Fri,  1 Feb 2013 14:25:44 -0800

don't map LF to CRLF on output

Diffstat:
Msconsole.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sconsole.c b/sconsole.c @@ -115,6 +115,7 @@ int openserial(const char *device, int speed) tio.c_ispeed = B57600; tio.c_ospeed = B57600; tio.c_iflag = IGNPAR; + tio.c_oflag &= ~ONLCR; tio.c_lflag = 0; /* turn of CANON, ECHO*, etc */ tio.c_cc[VTIME] = 0; tio.c_cc[VMIN] = 1;