This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

serial port and unwanted NL -> CR/LF tranlastion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]