Mail Archives: cygwin/2001/09/12/17:08:34
On Wed, Sep 12, 2001 at 02:32:56PM -0500, Wang, Robert -AES wrote:
>After I have downloaded the gnu compiler and etc, I could not locate /dev
>directory. I am trying to develop serial interface program that will pass
>data through a null modem cable via the serial port, ttyS0. In the Linux OS
>one can find the /dev directory. If there is such a directory, where can I
>access it?
/dev is internal to cygwin only. There is no /dev directory, like on
linux.
However, certain /dev devices are recognized by cygwin.
The com ports are referenced via '/dev/com0', '/dev/com1', etc.
You should also be able to use '/dev/ttyS0'. It should be an alias
for '/dev/com0'.
Be advised that the tcset* settings for com ports is not fully
implemented. This probably won't affect you unless you're trying to
attach an interactive shell to a com port.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -