This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cat /dev/ttyS?
On 1/6/06, steven woody <narkewoody@gmail.com> wrote:
> On 1/6/06, Brian Dessent <brian@dessent.net> wrote:
> > 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
>
>
> sorry, it's only a typo. the problem is still same.
>
>
oh, i found the 'cat /dev/ttyS1' really outputs, but it has a very
*big* delay that leads me thought it does not response. is the
output buffered? what do i do? thanks!
> >
> >
> > --
> > 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/
> >
> >
>
>
> --
> woody
>
--
woody
--
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/