cat /dev/ttyS?

Brian Dessent brian@dessent.net
Fri Jan 6 02:34:00 GMT 2006


steven woody wrote:
> 
> why can't get incoming COM2 data by the following command:
> 
> $ cat /dev/ttyS2
> 
> but i can get the data by other windows serial monitor programs on the
> same port.

ttyS2 is the third serial port.  The first serial port is /dev/ttyS0, so
for COM2 you want /dev/ttyS1.

Brian


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list