This is the mail archive of the cygwin@sourceware.cygnus.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 ports


hi
how does one access the serial ports under gnu-win32? My unix comms program
takes a port as an argument '/dev/tty16' for example and operates fine but
when I try to specify com1 or com2 using a version compiled under gnu-win32 I
get permission denied. and any further attempts to communicate on that port
are useless. I can do a redirect under 95 or NT eg set > com1 but have only
managed to receive garbled output I have no idea what way the port is set up
by default. it I try an stty command it pukes on com1 but 'stty < com1'
reports a load of undef options.
I know I can communicate between these two PCs using my comms stuff but have
failed to get it going under cygnus.
anyone any ideas? or code snippets that work.

thanks in advance
Colman


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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