diff --git a/simgear/serial/serial.cxx b/simgear/serial/serial.cxx index bcb1897c..9e6c6163 100644 --- a/simgear/serial/serial.cxx +++ b/simgear/serial/serial.cxx @@ -122,6 +122,9 @@ bool SGSerialPort::open_port(const string& device) { // cout << "config.c_iflag = " << config.c_iflag << endl; + // disable LF expanded to CR-LF + config.c_oflag &= ~(ONLCR); + // disable software flow control config.c_iflag &= ~(IXON | IXOFF | IXANY);