This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
serial port and unwanted NL -> CR/LF tranlastion
- To: cygwin support <cygwin at sources dot redhat dot com>
- Subject: serial port and unwanted NL -> CR/LF tranlastion
- From: Bruce Edge <bedge at sattel dot com>
- Date: Wed, 22 Nov 2000 14:59:29 -0800
- Organization: Sattel Global Networks
I opened /dev/com1 using:
open( name, O_RDWR | O_NOCTTY | O_NONBLOCK )
and when I write to it using:
write( fd, buf, len );
any 0x0a bytes are getting translated into 0x0d 0x0a pairs.
How can I stop this?
This code runs fine on Linux/QNX.
Thanks, Bruce.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com