This is the mail archive of the
mailing list for the Cygwin project.
Re: cat /dev/ttyS?
- From: ericblake at comcast dot net (Eric Blake)
- To: steven woody <narkewoody at gmail dot com>, cygwin at cygwin dot com
- Date: Fri, 06 Jan 2006 04:02:35 +0000
- Subject: Re: cat /dev/ttyS?
> 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!
Yes, cat with no options calls read(), which typically uses buffers. Try
cat -u to get unbuffered output. Or there are other programs,
such as dd, which are better suited with options to tweak to get
volunteer cygwin coreutils maintainer
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html